reportNwfStructure(ErrorConsts.WERR_ATTR_NO_ELEM);
protected void writeTypedAttribute(String prefix, String nsURI, String localName, AsciiValueEncoder enc) throws XMLStreamException { // note: mostly copied from the other writeAttribute() method.. if (!mStartElementOpen && mCheckStructure) { reportNwfStructure(ErrorConsts.WERR_ATTR_NO_ELEM); } if (mCheckAttrs) { // doh. Not good, need to construct non-transient value... if (mAttrNames == null) { mAttrNames = new TreeSet(); } if (!mAttrNames.add(localName)) { reportNwfAttr("Trying to write attribute '"+localName+"' twice"); } } try { if (mValidator == null) { mWriter.writeTypedAttribute(localName, enc); } else { mWriter.writeTypedAttribute(null, localName, null, enc, mValidator, getCopyBuffer()); } } catch (IOException ioe) { throwFromIOE(ioe); } }
reportNwfStructure("No open start element, when trying to write end element"); reportNwfStructure("Mismatching close element name, '"+localName+"'; expected '"+expName+"'.");
} else if (mState == STATE_EPILOG) { if (mCheckStructure) { reportNwfStructure(ErrorConsts.WERR_PROLOG_SECOND_ROOT, localName);
reportNwfStructure(ErrorConsts.WERR_ATTR_NO_ELEM);
reportNwfStructure(ErrorConsts.WERR_ATTR_NO_ELEM);
reportNwfStructure(ErrorConsts.WERR_ATTR_NO_ELEM);
reportNwfStructure(ErrorConsts.WERR_ATTR_NO_ELEM);
protected void writeTypedAttribute(String prefix, String nsURI, String localName, AsciiValueEncoder enc) throws XMLStreamException { // note: mostly copied from the other writeAttribute() method.. if (!mStartElementOpen && mCheckStructure) { reportNwfStructure(ErrorConsts.WERR_ATTR_NO_ELEM); } if (mCheckAttrs) { // doh. Not good, need to construct non-transient value... if (mAttrNames == null) { mAttrNames = new TreeSet(); } if (!mAttrNames.add(localName)) { reportNwfAttr("Trying to write attribute '"+localName+"' twice"); } } try { if (mValidator == null) { mWriter.writeTypedAttribute(localName, enc); } else { mWriter.writeTypedAttribute(null, localName, null, enc, mValidator, getCopyBuffer()); } } catch (IOException ioe) { throwFromIOE(ioe); } }
reportNwfStructure(ErrorConsts.WERR_ATTR_NO_ELEM);
reportNwfStructure(ErrorConsts.WERR_ATTR_NO_ELEM);
@Override protected void writeTypedAttribute(String prefix, String nsURI, String localName, AsciiValueEncoder enc) throws XMLStreamException { // note: mostly copied from the other writeAttribute() method.. if (!mStartElementOpen && mCheckStructure) { reportNwfStructure(ErrorConsts.WERR_ATTR_NO_ELEM); } if (mCheckAttrs) { // doh. Not good, need to construct non-transient value... if (mAttrNames == null) { mAttrNames = new TreeSet<String>(); } if (!mAttrNames.add(localName)) { reportNwfAttr("Trying to write attribute '"+localName+"' twice"); } } try { if (mValidator == null) { mWriter.writeTypedAttribute(localName, enc); } else { mWriter.writeTypedAttribute(null, localName, null, enc, mValidator, getCopyBuffer()); } } catch (IOException ioe) { throwFromIOE(ioe); } }
@Override protected void writeTypedAttribute(String prefix, String nsURI, String localName, AsciiValueEncoder enc) throws XMLStreamException { // note: mostly copied from the other writeAttribute() method.. if (!mStartElementOpen && mCheckStructure) { reportNwfStructure(ErrorConsts.WERR_ATTR_NO_ELEM); } if (mCheckAttrs) { // doh. Not good, need to construct non-transient value... if (mAttrNames == null) { mAttrNames = new TreeSet<String>(); } if (!mAttrNames.add(localName)) { reportNwfAttr("Trying to write attribute '"+localName+"' twice"); } } try { if (mValidator == null) { mWriter.writeTypedAttribute(localName, enc); } else { mWriter.writeTypedAttribute(null, localName, null, enc, mValidator, getCopyBuffer()); } } catch (IOException ioe) { throwFromIOE(ioe); } }
@Override protected void writeTypedAttribute(String prefix, String nsURI, String localName, AsciiValueEncoder enc) throws XMLStreamException { // note: mostly copied from the other writeAttribute() method.. if (!mStartElementOpen && mCheckStructure) { reportNwfStructure(ErrorConsts.WERR_ATTR_NO_ELEM); } if (mCheckAttrs) { // doh. Not good, need to construct non-transient value... if (mAttrNames == null) { mAttrNames = new TreeSet<String>(); } if (!mAttrNames.add(localName)) { reportNwfAttr("Trying to write attribute '"+localName+"' twice"); } } try { if (mValidator == null) { mWriter.writeTypedAttribute(localName, enc); } else { mWriter.writeTypedAttribute(null, localName, null, enc, mValidator, getCopyBuffer()); } } catch (IOException ioe) { throwFromIOE(ioe); } }
} else if (mState == STATE_EPILOG) { if (mCheckStructure) { reportNwfStructure(ErrorConsts.WERR_PROLOG_SECOND_ROOT, localName);
} else if (mState == STATE_EPILOG) { if (mCheckStructure) { reportNwfStructure(ErrorConsts.WERR_PROLOG_SECOND_ROOT, localName);
} else if (mState == STATE_EPILOG) { if (mCheckStructure) { reportNwfStructure(ErrorConsts.WERR_PROLOG_SECOND_ROOT, localName);
} else if (mState == STATE_EPILOG) { if (mCheckStructure) { reportNwfStructure(ErrorConsts.WERR_PROLOG_SECOND_ROOT, localName);
} else if (mState == STATE_EPILOG) { if (mCheckStructure) { reportNwfStructure(ErrorConsts.WERR_PROLOG_SECOND_ROOT, localName);
} else if (mState == STATE_EPILOG) { if (mCheckStructure) { reportNwfStructure(ErrorConsts.WERR_PROLOG_SECOND_ROOT, localName);