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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(HTML, -//W3C//DTD HTML 4.0 Transitional//EN, http://www.w3.org/TR/REC-html40/strict.dtd)
SAX.startElement(html)
SAX.characters(
, 1)
SAX.startElement(head)
SAX.characters(
, 1)
SAX.startElement(title)
SAX.characters(gnome-xml push mode bug, 23)
SAX.endElement(title)
SAX.characters(
, 1)
SAX.endElement(head)
SAX.characters(
, 1)
SAX.startElement(body)
SAX.characters(
, 2)
SAX.startElement(table, border='4')
SAX.characters(
, 3)
SAX.startElement(tr)
SAX.characters(
, 5)
SAX.startElement(td, bgcolor='white')
SAX.characters(
Foo1
, 8)
SAX.startElement(table, border='4')
SAX.characters(
, 4)
SAX.startElement(tr)
SAX.characters(
, 6)
SAX.startElement(td)
SAX.characters(Foo2, 4)
SAX.startElement(p)
SAX.endElement(p)
SAX.startElement(p)
SAX.endElement(p)
SAX.endElement(td)
SAX.endElement(tr)
SAX.endElement(table)
SAX.characters(
, 5)
SAX.endElement(td)
SAX.characters(
, 5)
SAX.startElement(td, bgcolor='blue')
SAX.characters(Foo3, 4)
SAX.endElement(td)
SAX.characters(
, 4)
SAX.endElement(tr)
SAX.characters(
, 3)
SAX.endElement(table)
SAX.characters(
, 3)
SAX.endElement(body)
SAX.characters(
, 1)
SAX.endElement(html)
SAX.characters(
, 3)
SAX.endDocument()