Daniel Veillard | 87b9539 | 2000-08-12 21:12:04 +0000 | [diff] [blame] | 1 | SAX.setDocumentLocator() |
| 2 | SAX.startDocument() |
| 3 | SAX.internalSubset(HTML, -//W3C//DTD HTML 4.0 Transitional//EN, http://www.w3.org/TR/REC-html40/loose.dtd) |
| 4 | SAX.startElement(html) |
Daniel Veillard | b8f25c9 | 2000-08-19 19:52:36 +0000 | [diff] [blame^] | 5 | SAX.startElement(body) |
| 6 | SAX.startElement(p) |
Daniel Veillard | 87b9539 | 2000-08-12 21:12:04 +0000 | [diff] [blame] | 7 | SAX.characters( |
| 8 | , 1) |
Daniel Veillard | b8f25c9 | 2000-08-19 19:52:36 +0000 | [diff] [blame^] | 9 | SAX.endElement(p) |
Daniel Veillard | 87b9539 | 2000-08-12 21:12:04 +0000 | [diff] [blame] | 10 | SAX.startElement(head) |
Daniel Veillard | b8f25c9 | 2000-08-19 19:52:36 +0000 | [diff] [blame^] | 11 | SAX.endElement(head) |
| 12 | SAX.startElement(p) |
Daniel Veillard | 87b9539 | 2000-08-12 21:12:04 +0000 | [diff] [blame] | 13 | SAX.characters( |
| 14 | , 3) |
Daniel Veillard | b8f25c9 | 2000-08-19 19:52:36 +0000 | [diff] [blame^] | 15 | SAX.endElement(p) |
Daniel Veillard | 87b9539 | 2000-08-12 21:12:04 +0000 | [diff] [blame] | 16 | SAX.startElement(title) |
| 17 | SAX.endElement(title) |
Daniel Veillard | b8f25c9 | 2000-08-19 19:52:36 +0000 | [diff] [blame^] | 18 | SAX.startElement(p) |
Daniel Veillard | 87b9539 | 2000-08-12 21:12:04 +0000 | [diff] [blame] | 19 | SAX.characters( |
| 20 | , 1) |
Daniel Veillard | b8f25c9 | 2000-08-19 19:52:36 +0000 | [diff] [blame^] | 21 | SAX.error: Unexpected end tag : head |
Daniel Veillard | 87b9539 | 2000-08-12 21:12:04 +0000 | [diff] [blame] | 22 | SAX.characters( |
| 23 | , 1) |
Daniel Veillard | b8f25c9 | 2000-08-19 19:52:36 +0000 | [diff] [blame^] | 24 | SAX.endElement(p) |
Daniel Veillard | 87b9539 | 2000-08-12 21:12:04 +0000 | [diff] [blame] | 25 | SAX.startElement(body) |
Daniel Veillard | b8f25c9 | 2000-08-19 19:52:36 +0000 | [diff] [blame^] | 26 | SAX.startElement(p) |
Daniel Veillard | 87b9539 | 2000-08-12 21:12:04 +0000 | [diff] [blame] | 27 | SAX.characters( |
| 28 | , 1) |
Daniel Veillard | b8f25c9 | 2000-08-19 19:52:36 +0000 | [diff] [blame^] | 29 | SAX.endElement(p) |
Daniel Veillard | 87b9539 | 2000-08-12 21:12:04 +0000 | [diff] [blame] | 30 | SAX.startElement(ul) |
| 31 | SAX.characters( |
| 32 | , 1) |
| 33 | SAX.startElement(li) |
| 34 | SAX.characters(First item |
| 35 | , 11) |
| 36 | SAX.endElement(li) |
| 37 | SAX.startElement(li) |
| 38 | SAX.characters(Second item, closes the first , 34) |
| 39 | SAX.endElement(li) |
| 40 | SAX.endElement(ul) |
Daniel Veillard | b8f25c9 | 2000-08-19 19:52:36 +0000 | [diff] [blame^] | 41 | SAX.startElement(p) |
Daniel Veillard | 87b9539 | 2000-08-12 21:12:04 +0000 | [diff] [blame] | 42 | SAX.characters( |
| 43 | |
| 44 | , 2) |
Daniel Veillard | b8f25c9 | 2000-08-19 19:52:36 +0000 | [diff] [blame^] | 45 | SAX.endElement(p) |
| 46 | SAX.endElement(body) |
Daniel Veillard | 87b9539 | 2000-08-12 21:12:04 +0000 | [diff] [blame] | 47 | SAX.endElement(body) |
| 48 | SAX.endElement(html) |
| 49 | SAX.ignorableWhitespace( |
| 50 | , 1) |
| 51 | SAX.endDocument() |