1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-02-12 05:57:47 +03:00
libxml2/result/HTML/script.html.sax
Daniel Veillard 7eda8452f8 - HTMLparser.c HTMLtree.[ch] SAX.c testHTML.c tree.c: fixed HTML
support for SCRIPT and STYLE with help from Bjorn Reese
- test/HTML/* result/HTML/*: added simple testcase and updated
  the existing ones.
Daniel
2000-10-14 23:38:43 +00:00

33 lines
682 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElement(html)
SAX.ignorableWhitespace(
, 1)
SAX.startElement(head)
SAX.startElement(title)
SAX.characters(Script tests, 12)
SAX.endElement(title)
SAX.endElement(head)
SAX.ignorableWhitespace(
, 1)
SAX.startElement(body)
SAX.ignorableWhitespace(
, 1)
SAX.startElement(script, language='javascript')
SAX.cdata(
if (window.open<max) ;, 28)
SAX.endElement(script)
SAX.ignorableWhitespace(
, 1)
SAX.startElement(input, onclick='if(window.open<max);')
SAX.endElement(input)
SAX.ignorableWhitespace(
, 1)
SAX.endElement(body)
SAX.ignorableWhitespace(
, 1)
SAX.endElement(html)
SAX.ignorableWhitespace(
, 1)
SAX.endDocument()