protected final void verifyWriteCData() throws XMLStreamException { // Not legal outside main element tree: if (mCheckStructure) { if (inPrologOrEpilog()) { reportNwfStructure(ErrorConsts.WERR_PROLOG_CDATA); } } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent <= XMLValidator.CONTENT_ALLOW_WS) { // there's no ignorable white space CDATA... reportInvalidContent(CDATA); } }
reportNwfStructure("Can not output XML declaration, after other output has already been done.");
reportNwfStructure("Trying to output an entity reference outside main element tree (in prolog or epilog)");
reportNwfStructure("Trying to write END_DOCUMENT when document has no root (ie. trying to output empty document).");
if (inPrologOrEpilog()) { if (!ch.isIgnorableWhiteSpace() && !ch.isWhiteSpace()) { reportNwfStructure(ErrorConsts.WERR_PROLOG_NONWS_TEXT);
reportNwfStructure(ErrorConsts.WERR_PROLOG_NONWS_TEXT);
if (inPrologOrEpilog()) { if (!StringUtil.isAllWhitespace(text, start, len)) { reportNwfStructure(ErrorConsts.WERR_PROLOG_NONWS_TEXT);
protected final void verifyWriteCData() throws XMLStreamException { // Not legal outside main element tree: if (mCheckStructure) { if (inPrologOrEpilog()) { reportNwfStructure(ErrorConsts.WERR_PROLOG_CDATA); } } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent <= XMLValidator.CONTENT_ALLOW_WS) { // there's no ignorable white space CDATA... reportInvalidContent(CDATA); } }
protected final void verifyWriteCData() throws XMLStreamException { // Not legal outside main element tree: if (mCheckStructure) { if (inPrologOrEpilog()) { reportNwfStructure(ErrorConsts.WERR_PROLOG_CDATA); } } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent <= XMLValidator.CONTENT_ALLOW_WS) { // there's no ignorable white space CDATA... reportInvalidContent(CDATA); } }
protected final void verifyWriteCData() throws XMLStreamException { // Not legal outside main element tree: if (mCheckStructure) { if (inPrologOrEpilog()) { reportNwfStructure(ErrorConsts.WERR_PROLOG_CDATA); } } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent <= XMLValidator.CONTENT_ALLOW_WS) { // there's no ignorable white space CDATA... reportInvalidContent(CDATA); } }
protected final void verifyWriteCData() throws XMLStreamException { // Not legal outside main element tree: if (mCheckStructure) { if (inPrologOrEpilog()) { reportNwfStructure(ErrorConsts.WERR_PROLOG_CDATA); } } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent <= XMLValidator.CONTENT_ALLOW_WS) { // there's no ignorable white space CDATA... reportInvalidContent(CDATA); } }
protected final void verifyWriteCData() throws XMLStreamException { // Not legal outside main element tree: if (mCheckStructure) { if (inPrologOrEpilog()) { reportNwfStructure(ErrorConsts.WERR_PROLOG_CDATA); } } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent <= XMLValidator.CONTENT_ALLOW_WS) { // there's no ignorable white space CDATA... reportInvalidContent(CDATA); } }
protected final void verifyWriteCData() throws XMLStreamException { // Not legal outside main element tree: if (mCheckStructure) { if (inPrologOrEpilog()) { reportNwfStructure(ErrorConsts.WERR_PROLOG_CDATA); } } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent <= XMLValidator.CONTENT_ALLOW_WS) { // there's no ignorable white space CDATA... reportInvalidContent(CDATA); } }
protected final void verifyWriteCData() throws XMLStreamException { // Not legal outside main element tree: if (mCheckStructure) { if (inPrologOrEpilog()) { reportNwfStructure(ErrorConsts.WERR_PROLOG_CDATA); } } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent <= XMLValidator.CONTENT_ALLOW_WS) { // there's no ignorable white space CDATA... reportInvalidContent(CDATA); } }
reportNwfStructure(ErrorConsts.WERR_PROLOG_CDATA);
reportNwfStructure("Trying to write END_DOCUMENT when document has no root (ie. trying to output empty document).");
reportNwfStructure("Trying to output an entity reference outside main element tree (in prolog or epilog)");
reportNwfStructure("Trying to write END_DOCUMENT when document has no root (ie. trying to output empty document).");
reportNwfStructure("Trying to output an entity reference outside main element tree (in prolog or epilog)");
reportNwfStructure("Trying to output an entity reference outside main element tree (in prolog or epilog)");