private void errAlmostStandardsDoctype() throws SAXException { if (!isSrcdocDocument) { err("Almost standards mode doctype. Expected \u201C<!DOCTYPE html>\u201D."); } }
private void errQuirkyDoctype() throws SAXException { if (!isSrcdocDocument) { err("Quirky doctype. Expected \u201C<!DOCTYPE html>\u201D."); } }
private void errStartTagWithoutDoctype() throws SAXException { if (!isSrcdocDocument) { err("Start tag seen without seeing a doctype first. Expected \u201C<!DOCTYPE html>\u201D."); } }
private void errEndTagSeenWithoutDoctype() throws SAXException { if (!isSrcdocDocument) { err("End tag seen without seeing a doctype first. Expected \u201C<!DOCTYPE html>\u201D."); } }
private void errQuirkyDoctype() throws SAXException { if (!isSrcdocDocument) { err("Quirky doctype. Expected \u201C<!DOCTYPE html>\u201D."); } }
private void errStartTagWithoutDoctype() throws SAXException { if (!isSrcdocDocument) { err("Start tag seen without seeing a doctype first. Expected \u201C<!DOCTYPE html>\u201D."); } }
/** * Complains about an over-deep tree. Theoretically this should just be * a warning, but in practice authors should take this as an error. * * @throws SAXException */ private void errDeepTree() throws SAXException { err("The document tree is more than 513 elements deep, which causes Firefox and Chrome flatten the tree."); }
private void errEndTagSeenWithoutDoctype() throws SAXException { if (!isSrcdocDocument) { err("End tag seen without seeing a doctype first. Expected \u201C<!DOCTYPE html>\u201D."); } }
private void errAlmostStandardsDoctype() throws SAXException { if (!isSrcdocDocument) { err("Almost standards mode doctype. Expected \u201C<!DOCTYPE html>\u201D."); } }
private void errNonSpaceAfterBody() throws SAXException { err("Non-space character after body."); }
private void errImage() throws SAXException { err("Saw a start tag \u201Cimage\u201D."); }
private void errEndTagSeenWithoutDoctype() throws SAXException { err("End tag seen without seeing a doctype first. Expected \u201C<!DOCTYPE html>\u201D."); }
private void errEndTagAfterBody() throws SAXException { err("Saw an end tag after \u201Cbody\u201D had been closed."); }
private void errTableClosedWhileCaptionOpen() throws SAXException { err("\u201Ctable\u201D closed but \u201Ccaption\u201D was still open."); }
/** * Reports a stray end tag. * @param name the name of the stray tag * * @throws SAXException */ private void errStrayEndTag(@Local String name) throws SAXException { err("Stray end tag \u201C" + name + "\u201D."); }
/** * Reports a stray start tag. * @param name the name of the stray tag * * @throws SAXException */ private void errStrayStartTag(@Local String name) throws SAXException { err("Stray end tag \u201C" + name + "\u201D."); }
/** * Reports a stray start tag. * @param name the name of the stray tag * * @throws SAXException */ private void errStrayStartTag(@Local String name) throws SAXException { err("Stray start tag \u201C" + name + "\u201D."); }
/** * Reports a stray end tag. * @param name the name of the stray tag * * @throws SAXException */ private void errStrayEndTag(@Local String name) throws SAXException { err("Stray end tag \u201C" + name + "\u201D."); }
/** * Reports a stray start tag. * @param name the name of the stray tag * * @throws SAXException */ private void errStrayStartTag(@Local String name) throws SAXException { err("Stray start tag \u201C" + name + "\u201D."); }
/** * Reports a stray end tag. * @param name the name of the stray tag * * @throws SAXException */ private void errStrayEndTag(@Local String name) throws SAXException { err("Stray end tag \u201C" + name + "\u201D."); }