public String validateAttribute(String localName, String uri, String prefix, String value) throws XMLStreamException { mCurrAttrLocalName = localName; mCurrAttrPrefix = prefix; if (mCurrAcceptor != null) { String qname = localName; // for now, let's assume we don't need prefixed version DatatypeRef typeRef = null; // for now, let's not care /* 31-Mar-2006, TSa: MSV seems to require empty String for empty/no * namespace, not null. */ if (uri == null) { uri = ""; } if (!mCurrAcceptor.onAttribute2(uri, localName, qname, value, this, mErrorRef, typeRef) || mErrorRef.str != null) { reportError(mErrorRef); } if (mProblem != null) { // pending problems (to throw exception on)? XMLValidationProblem p = mProblem; mProblem = null; mContext.reportProblem(p); } } /* No normalization done by RelaxNG, is there? (at least nothing * visible to callers that is) */ return null; }
public void endAttribute() throws SAXException { insideAttribute = false; if(!acceptor.onAttribute2( attNamespaceUri, attLocalName, attLocalName /* we don't have QName, so just use the local name */, buf.toString(), this, null, null )) { // either the name was incorrect (which is quite unlikely), // or the value was wrong. // report an error StringRef ref = new StringRef(); acceptor.onAttribute2( attNamespaceUri, attLocalName, attLocalName, buf.toString(), this, ref, null ); context.reportEvent(target,ref.str); } buf = new StringBuffer(); }
public void endAttribute() throws SAXException { insideAttribute = false; if(!acceptor.onAttribute2( attNamespaceUri, attLocalName, attLocalName /* we don't have QName, so just use the local name */, buf.toString(), this, null, null )) { // either the name was incorrect (which is quite unlikely), // or the value was wrong. // report an error StringRef ref = new StringRef(); acceptor.onAttribute2( attNamespaceUri, attLocalName, attLocalName, buf.toString(), this, ref, null ); context.reportEvent(target,ref.str); } buf = new StringBuffer(); }
public void endAttribute() throws SAXException { insideAttribute = false; if(!acceptor.onAttribute2( attNamespaceUri, attLocalName, attLocalName /* we don't have QName, so just use the local name */, buf.toString(), this, null, null )) { // either the name was incorrect (which is quite unlikely), // or the value was wrong. // report an error StringRef ref = new StringRef(); acceptor.onAttribute2( attNamespaceUri, attLocalName, attLocalName, buf.toString(), this, ref, null ); context.reportEvent(target,ref.str); } buf = new StringBuffer(); }
public void endAttribute() throws SAXException { insideAttribute = false; if(!acceptor.onAttribute2( attNamespaceUri, attLocalName, attLocalName /* we don't have QName, so just use the local name */, buf.toString(), this, null, null )) { // either the name was incorrect (which is quite unlikely), // or the value was wrong. // report an error StringRef ref = new StringRef(); acceptor.onAttribute2( attNamespaceUri, attLocalName, attLocalName, buf.toString(), this, ref, null ); context.reportEvent(target,ref.str); } buf = new StringBuffer(); }
public String validateAttribute(String localName, String uri, String prefix, String value) throws XMLValidationException { if (mCurrAcceptor != null) { String qname = localName; // for now, let's assume we don't need prefixed version DatatypeRef typeRef = null; // for now, let's not care /* 31-Mar-2006, TSa: MSV seems to require empty String for empty/no * namespace, not null. */ if (uri == null) { uri = ""; } if (!mCurrAcceptor.onAttribute2(uri, localName, qname, value, mMsvContext, mErrorRef, typeRef) || mErrorRef.str != null) { reportError(mErrorRef); } } /* No normalization done by RelaxNG, is there? (at least nothing * visible to callers that is) */ return null; }
public String validateAttribute(String localName, String uri, String prefix, String value) throws XMLValidationException { if (mCurrAcceptor != null) { String qname = localName; // for now, let's assume we don't need prefixed version DatatypeRef typeRef = null; // for now, let's not care /* 31-Mar-2006, TSa: MSV seems to require empty String for empty/no * namespace, not null. */ if (uri == null) { uri = ""; } if (!mCurrAcceptor.onAttribute2(uri, localName, qname, value, mMsvContext, mErrorRef, typeRef) || mErrorRef.str != null) { reportError(mErrorRef); } } /* No normalization done by RelaxNG, is there? (at least nothing * visible to callers that is) */ return null; }
public String validateAttribute(String localName, String uri, String prefix, String value) throws XMLValidationException { if (mCurrAcceptor != null) { String qname = localName; // for now, let's assume we don't need prefixed version DatatypeRef typeRef = null; // for now, let's not care /* 31-Mar-2006, TSa: MSV seems to require empty String for empty/no * namespace, not null. */ if (uri == null) { uri = ""; } if (!mCurrAcceptor.onAttribute2(uri, localName, qname, value, mMsvContext, mErrorRef, typeRef) || mErrorRef.str != null) { reportError(mErrorRef); } } /* No normalization done by RelaxNG, is there? (at least nothing * visible to callers that is) */ return null; }
if (!child.onAttribute2(uri, localName, qName, value, this, null, attributeType)) { child.onAttribute2(uri, localName, qName, value, this, ref, null); onError( ref,
if (!child.onAttribute2(uri, localName, qName, value, this, null, attributeType)) { child.onAttribute2(uri, localName, qName, value, this, ref, null); onError( ref,
if (!child.onAttribute2(uri, localName, qName, value, this, null, attributeType)) { child.onAttribute2(uri, localName, qName, value, this, ref, null); onError( ref,
if (!child.onAttribute2(uri, localName, qName, value, this, null, attributeType)) { child.onAttribute2(uri, localName, qName, value, this, ref, null); onError( ref,
public String validateAttribute(String localName, String uri, String prefix, String value) throws XMLStreamException { mCurrAttrLocalName = localName; mCurrAttrPrefix = prefix; if (mCurrAcceptor != null) { String qname = localName; // for now, let's assume we don't need prefixed version DatatypeRef typeRef = null; // for now, let's not care /* 31-Mar-2006, TSa: MSV seems to require empty String for empty/no * namespace, not null. */ if (uri == null) { uri = ""; } if (!mCurrAcceptor.onAttribute2(uri, localName, qname, value, this, mErrorRef, typeRef) || mErrorRef.str != null) { reportError(mErrorRef); } if (mProblem != null) { // pending problems (to throw exception on)? XMLValidationProblem p = mProblem; mProblem = null; mContext.reportProblem(p); } } /* No normalization done by RelaxNG, is there? (at least nothing * visible to callers that is) */ return null; }
if (!mCurrAcceptor.onAttribute2(uri, localName, qname, value, this, mErrorRef, typeRef) || mErrorRef.str != null) { reportError(mErrorRef);
@Override public String validateAttribute(String localName, String uri, String prefix, String value) throws XMLStreamException { mCurrAttrLocalName = localName; mCurrAttrPrefix = prefix; if (mCurrAcceptor != null) { String qname = localName; // for now, let's assume we don't need prefixed version DatatypeRef typeRef = null; // for now, let's not care /* 31-Mar-2006, TSa: MSV seems to require empty String for empty/no * namespace, not null. */ if (uri == null) { uri = ""; } if (!mCurrAcceptor.onAttribute2(uri, localName, qname, value, this, mErrorRef, typeRef) || mErrorRef.str != null) { reportError(mErrorRef, ATTRIBUTE, _qname(uri, localName, prefix)); } if (mProblem != null) { // pending problems (to throw exception on)? XMLValidationProblem p = mProblem; mProblem = null; mContext.reportProblem(p); } } // No normalization done by RelaxNG, is there? (at least nothing // visible to callers that is) return null; }
@Override public String validateAttribute(String localName, String uri, String prefix, String value) throws XMLStreamException { mCurrAttrLocalName = localName; mCurrAttrPrefix = prefix; if (mCurrAcceptor != null) { String qname = localName; // for now, let's assume we don't need prefixed version DatatypeRef typeRef = null; // for now, let's not care /* 31-Mar-2006, TSa: MSV seems to require empty String for empty/no * namespace, not null. */ if (uri == null) { uri = ""; } if (!mCurrAcceptor.onAttribute2(uri, localName, qname, value, this, mErrorRef, typeRef) || mErrorRef.str != null) { reportError(mErrorRef, ATTRIBUTE, _qname(uri, localName, prefix)); } if (mProblem != null) { // pending problems (to throw exception on)? XMLValidationProblem p = mProblem; mProblem = null; mContext.reportProblem(p); } } // No normalization done by RelaxNG, is there? (at least nothing // visible to callers that is) return null; }
if(!child.onAttribute2( rie.____jaxb_ri____getNamespaceURI(), rie.____jaxb_ri____getLocalName(),
if(!child.onAttribute2( rie.____jaxb_ri____getNamespaceURI(), rie.____jaxb_ri____getLocalName(),
if(!child.onAttribute2( rie.____jaxb_ri____getNamespaceURI(), rie.____jaxb_ri____getLocalName(),
if(!child.onAttribute2( rie.____jaxb_ri____getNamespaceURI(), rie.____jaxb_ri____getLocalName(),