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.characters(
, 1)
SAX.startElement(script, language='javascript')
SAX.cdata(
    if (window.open&lt;max) ;, 28)
SAX.endElement(script)
SAX.characters(
, 1)
SAX.startElement(input, onclick='if(window.open&lt;max);')
SAX.endElement(input)
SAX.characters(
, 1)
SAX.endElement(body)
SAX.ignorableWhitespace(
, 1)
SAX.endElement(html)
SAX.ignorableWhitespace(
, 1)
SAX.endDocument()
