Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /* This code was generated by nu.validator.tools.SaxCompiler. Please regenerate instead of editing. */
 package nu.validator.servlet;
 public final class Html5FormEmitter {
 private Html5FormEmitter() {}
 public static void emit(org.xml.sax.ContentHandler contentHandlernu.validator.servlet.VerifierServletTransaction tthrows org.xml.sax.SAXException {
 contentHandler.startPrefixMapping("""http://www.w3.org/1999/xhtml");
 __attrs__.clear();
 contentHandler.startElement("http://www.w3.org/1999/xhtml""fieldset""fieldset"__attrs__);
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml""legend""legend"__attrs__);
contentHandler.characters(, 0, 15);
contentHandler.endElement("http://www.w3.org/1999/xhtml""legend""legend");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml""table""table"__attrs__);
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml""tbody""tbody"__attrs__);
__attrs__.clear();
__attrs__.addAttribute("""title""title""CDATA""The document to validate.");
contentHandler.startElement("http://www.w3.org/1999/xhtml""tr""tr"__attrs__);
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml""th""th"__attrs__);
__attrs__.clear();
__attrs__.addAttribute("""for""for""CDATA""doc");
contentHandler.startElement("http://www.w3.org/1999/xhtml""label""label"__attrs__);
contentHandler.characters(, 15, 8);
contentHandler.endElement("http://www.w3.org/1999/xhtml""label""label");
contentHandler.endElement("http://www.w3.org/1999/xhtml""th""th");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml""td""td"__attrs__);
contentHandler.endElement("http://www.w3.org/1999/xhtml""td""td");
contentHandler.endElement("http://www.w3.org/1999/xhtml""tr""tr");
__attrs__.clear();
__attrs__.addAttribute("""title""title""CDATA""Display a report about the textual alternatives for images.");
contentHandler.startElement("http://www.w3.org/1999/xhtml""tr""tr"__attrs__);
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml""th""th"__attrs__);
contentHandler.endElement("http://www.w3.org/1999/xhtml""th""th");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml""td""td"__attrs__);
__attrs__.clear();
__attrs__.addAttribute("""for""for""CDATA""showimagereport");
contentHandler.startElement("http://www.w3.org/1999/xhtml""label""label"__attrs__);
contentHandler.characters(, 23, 18);
contentHandler.endElement("http://www.w3.org/1999/xhtml""label""label");
contentHandler.endElement("http://www.w3.org/1999/xhtml""td""td");
contentHandler.endElement("http://www.w3.org/1999/xhtml""tr""tr");
__attrs__.clear();
__attrs__.addAttribute("""title""title""CDATA""Display the markup source of the input document.");
contentHandler.startElement("http://www.w3.org/1999/xhtml""tr""tr"__attrs__);
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml""th""th"__attrs__);
contentHandler.endElement("http://www.w3.org/1999/xhtml""th""th");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml""td""td"__attrs__);
__attrs__.clear();
__attrs__.addAttribute("""for""for""CDATA""showsource");
contentHandler.startElement("http://www.w3.org/1999/xhtml""label""label"__attrs__);
contentHandler.characters(, 41, 12);
contentHandler.endElement("http://www.w3.org/1999/xhtml""label""label");
contentHandler.endElement("http://www.w3.org/1999/xhtml""td""td");
contentHandler.endElement("http://www.w3.org/1999/xhtml""tr""tr");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml""tr""tr"__attrs__);
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml""th""th"__attrs__);
contentHandler.endElement("http://www.w3.org/1999/xhtml""th""th");
__attrs__.clear();
contentHandler.startElement("http://www.w3.org/1999/xhtml""td""td"__attrs__);
__attrs__.clear();
__attrs__.addAttribute("""value""value""CDATA""Validate");
__attrs__.addAttribute("""type""type""CDATA""submit");
__attrs__.addAttribute("""id""id""CDATA""submit");
contentHandler.startElement("http://www.w3.org/1999/xhtml""input""input"__attrs__);
contentHandler.endElement("http://www.w3.org/1999/xhtml""input""input");
contentHandler.endElement("http://www.w3.org/1999/xhtml""td""td");
contentHandler.endElement("http://www.w3.org/1999/xhtml""tr""tr");
contentHandler.endElement("http://www.w3.org/1999/xhtml""tbody""tbody");
contentHandler.endElement("http://www.w3.org/1999/xhtml""table""table");
contentHandler.endElement("http://www.w3.org/1999/xhtml""fieldset""fieldset");
contentHandler.endPrefixMapping("");
private static final char[] __chars__ = { 'V''a''l''i''d''a''t''o''r'' ''I''n''p''u''t''D''o''c''u''m''e''n''t'' ''S''h''o''w'' ''I''m''a''g''e'' ''R''e''p''o''r''t'' ''S''h''o''w'' ''S''o''u''r''c''e' };
New to GrepCode? Check out our FAQ X