devtools/htmlparser.py
changeset 8951 5cfc0387d63f
parent 8941 7b26fe71404f
child 8972 771337c3a754
equal deleted inserted replaced
8950:bcb87fa6da48 8951:5cfc0387d63f
    88 SaxOnlyValidator = class_renamed('SaxOnlyValidator',
    88 SaxOnlyValidator = class_renamed('SaxOnlyValidator',
    89                                  XMLValidator,
    89                                  XMLValidator,
    90                                  '[3.17] you should use the '
    90                                  '[3.17] you should use the '
    91                                  'XMLValidator class instead')
    91                                  'XMLValidator class instead')
    92 
    92 
    93 
    93 class XMLDemotingValidator(XMLValidator):
    94 class XMLDemotingValidator(SaxOnlyValidator):
       
    95     """ some views produce html instead of xhtml, using demote_to_html
    94     """ some views produce html instead of xhtml, using demote_to_html
    96 
    95 
    97     this is typically related to the use of external dependencies
    96     this is typically related to the use of external dependencies
    98     which do not produce valid xhtml (google maps, ...)
    97     which do not produce valid xhtml (google maps, ...)
    99     """
    98     """