Branch
Hash :
0b2d5c48
Author :
Date :
2017-06-12T19:10:04
Initialize keepBlanks in HTML parser This caused failures in the HTML push tests but the fix required to change the expected output of the HTML SAX tests.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(html, -//W3C//DTD XHTML 1.0 Strict//EN, http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd)
SAX.startElement(html, xmlns='http://www.w3.org/1999/xhtml')
SAX.characters(
, 2)
SAX.startElement(head)
SAX.characters(
, 3)
SAX.startElement(meta, http-equiv='Content-Type', content='text/html; charset=UTF-8')
SAX.endElement(meta)
SAX.characters(
, 1)
SAX.startElement(title)
SAX.characters(Test Page, 9)
SAX.endElement(title)
SAX.characters(
, 1)
SAX.endElement(head)
SAX.characters(
, 1)
SAX.startElement(body)
SAX.characters(
, 1)
SAX.startElement(div, id='portal')
SAX.characters(
, 1)
SAX.startElement(script, type='text/javascript')
SAX.cdata(
documen.write("Př, 74)
SAX.endElement(script)
SAX.characters(
, 2)
SAX.startElement(p)
SAX.characters(
Příliš , 58)
SAX.endElement(p)
SAX.characters(
, 1)
SAX.endElement(div)
SAX.characters(
, 1)
SAX.endElement(body)
SAX.characters(
, 1)
SAX.endElement(html)
SAX.characters(
, 2)
SAX.endDocument()