Edit

kc3-lang/libxml2/result/HTML/issue380.html.sax

Branch :

  • Show log

    Commit

  • Author : Nick Wellnhofer
    Date : 2022-07-15 14:02:26
    Hash : e986d09c
    Message : Skip incorrectly opened HTML comments Commit 4fd69f3e fixed handling of '<' characters not followed by an ASCII letter. But a '<!' sequence followed by invalid characters should be treated as bogus comment and skipped. Fixes #380.

  • result/HTML/issue380.html.sax
  • SAX.setDocumentLocator()
    SAX.startDocument()
    SAX.startElement(html)
    SAX.characters(
      , 3)
    SAX.startElement(body)
    SAX.characters(
        , 5)
    SAX.error: Incorrectly opened comment
    SAX.characters(..., 3)
    SAX.error: Incorrectly opened comment
    SAX.characters(
      , 3)
    SAX.endElement(body)
    SAX.characters(
    , 1)
    SAX.endElement(html)
    SAX.characters(
    , 1)
    SAX.endDocument()