/** * @see nu.validator.htmlparser.impl.Tokenizer#errAstralNonCharacter(int) */ @Override protected void errAstralNonCharacter(int ch) throws SAXException { err("Character reference expands to an astral non-character (" + toUPlusString(value) + ")."); }
/** * @see nu.validator.htmlparser.impl.Tokenizer#errAstralNonCharacter(int) */ @Override protected void errAstralNonCharacter(int ch) throws SAXException { err("Character reference expands to an astral non-character (" + toUPlusString(value) + ")."); }
/** * @see nu.validator.htmlparser.impl.Tokenizer#errAstralNonCharacter(int) */ @Override protected void errAstralNonCharacter(int ch) throws SAXException { err("Character reference expands to an astral non-character (" + toUPlusString(value) + ")."); }
@Override protected void errNcrControlChar() throws SAXException { err("Character reference expands to a control character (" + toUPlusString((char) value) + ")."); }
@Override protected void errNcrControlChar() throws SAXException { err("Character reference expands to a control character (" + toUPlusString((char) value) + ")."); }
@Override protected void errNcrControlChar() throws SAXException { err("Character reference expands to a control character (" + toUPlusString((char) value) + ")."); }
@Override protected char errNcrNonCharacter(char ch) throws SAXException { switch (contentNonXmlCharPolicy) { case FATAL: fatal("Character reference expands to a non-character (" + toUPlusString((char) value) + ")."); break; case ALTER_INFOSET: ch = '\uFFFD'; // fall through case ALLOW: err("Character reference expands to a non-character (" + toUPlusString((char) value) + ")."); } return ch; }
@Override protected char errNcrControlChar(char ch) throws SAXException { switch (contentNonXmlCharPolicy) { case FATAL: fatal("Character reference expands to a control character (" + toUPlusString((char) value) + ")."); break; case ALTER_INFOSET: ch = '\uFFFD'; // fall through case ALLOW: err("Character reference expands to a control character (" + toUPlusString((char) value) + ")."); } return ch; }
@Override protected char errNcrNonCharacter(char ch) throws SAXException { switch (contentNonXmlCharPolicy) { case FATAL: fatal("Character reference expands to a non-character (" + toUPlusString((char) value) + ")."); break; case ALTER_INFOSET: ch = '\uFFFD'; // fall through case ALLOW: err("Character reference expands to a non-character (" + toUPlusString((char) value) + ")."); } return ch; }
@Override protected char errNcrControlChar(char ch) throws SAXException { switch (contentNonXmlCharPolicy) { case FATAL: fatal("Character reference expands to a control character (" + toUPlusString((char) value) + ")."); break; case ALTER_INFOSET: ch = '\uFFFD'; // fall through case ALLOW: err("Character reference expands to a control character (" + toUPlusString((char) value) + ")."); } return ch; }
@Override protected char errNcrNonCharacter(char ch) throws SAXException { switch (contentNonXmlCharPolicy) { case FATAL: fatal("Character reference expands to a non-character (" + toUPlusString((char) value) + ")."); break; case ALTER_INFOSET: ch = '\uFFFD'; // fall through case ALLOW: err("Character reference expands to a non-character (" + toUPlusString((char) value) + ")."); } return ch; }
@Override protected char errNcrControlChar(char ch) throws SAXException { switch (contentNonXmlCharPolicy) { case FATAL: fatal("Character reference expands to a control character (" + toUPlusString((char) value) + ")."); break; case ALTER_INFOSET: ch = '\uFFFD'; // fall through case ALLOW: err("Character reference expands to a control character (" + toUPlusString((char) value) + ")."); } return ch; }
if (contentNonXmlCharPolicy == XmlViolationPolicy.FATAL) { fatal("This document is not mappable to XML 1.0 without data loss due to " + toUPlusString(c) + " which is not a legal XML 1.0 character."); } else { + toUPlusString(c) + " which is not a legal XML 1.0 character."); switch (contentNonXmlCharPolicy) { case FATAL: fatal("Forbidden code point " + toUPlusString(c) + "."); break; err("Forbidden code point " + toUPlusString(c) + "."); err("Forbidden code point " + toUPlusString(c) + "."); } else if (isPrivateUse(c)) { warnAboutPrivateUseChar();
if (contentNonXmlCharPolicy == XmlViolationPolicy.FATAL) { fatal("This document is not mappable to XML 1.0 without data loss due to " + toUPlusString(c) + " which is not a legal XML 1.0 character."); } else { + toUPlusString(c) + " which is not a legal XML 1.0 character."); switch (contentNonXmlCharPolicy) { case FATAL: fatal("Forbidden code point " + toUPlusString(c) + "."); break; err("Forbidden code point " + toUPlusString(c) + "."); err("Forbidden code point " + toUPlusString(c) + "."); } else if (isPrivateUse(c)) { warnAboutPrivateUseChar();
if (contentNonXmlCharPolicy == XmlViolationPolicy.FATAL) { fatal("This document is not mappable to XML 1.0 without data loss due to " + toUPlusString(c) + " which is not a legal XML 1.0 character."); } else { + toUPlusString(c) + " which is not a legal XML 1.0 character."); switch (contentNonXmlCharPolicy) { case FATAL: fatal("Forbidden code point " + toUPlusString(c) + "."); break; err("Forbidden code point " + toUPlusString(c) + "."); err("Forbidden code point " + toUPlusString(c) + "."); } else if (isPrivateUse(c)) { warnAboutPrivateUseChar();