public void validationCompleted(boolean eod) throws XMLStreamException { /* Need to now ensure that all IDREF/IDREFS references * point to defined ID attributes */ checkIdRefs(); }
public void validationCompleted(boolean eod) throws XMLStreamException { /* Need to now ensure that all IDREF/IDREFS references * point to defined ID attributes */ checkIdRefs(); }
@Override public void validationCompleted(boolean eod) throws XMLStreamException { /* Need to now ensure that all IDREF/IDREFS references * point to defined ID attributes */ checkIdRefs(); }
@Override public void validationCompleted(boolean eod) throws XMLStreamException { /* Need to now ensure that all IDREF/IDREFS references * point to defined ID attributes */ checkIdRefs(); }
@Override public void validationCompleted(boolean eod) throws XMLStreamException { /* Need to now ensure that all IDREF/IDREFS references * point to defined ID attributes */ checkIdRefs(); }
/** * @return Validation state that should be effective for the parent * element state */ public int validateElementEnd(String localName, String uri, String prefix) throws XMLValidationException { // First, let's remove the top: int ix = --mElemCount; DTDElement closingElem = mElems[ix]; mElems[ix] = null; StructValidator v = mValidators[ix]; mValidators[ix] = null; // Validation? if (v != null) { String msg = v.fullyValid(); if (msg != null) { reportValidationProblem("Validation error, element </" +closingElem+">: "+msg); } } // Then let's get info from parent, if any if (ix < 1) { // root element closing.. checkIdRefs(); // doesn't really matter; epilog/prolog differently handled: return XMLValidator.CONTENT_ALLOW_WS; } return mElems[ix-1].getAllowedContent(); }
/** * @return Validation state that should be effective for the parent * element state */ public int validateElementEnd(String localName, String uri, String prefix) throws XMLValidationException { // First, let's remove the top: int ix = --mElemCount; DTDElement closingElem = mElems[ix]; mElems[ix] = null; StructValidator v = mValidators[ix]; mValidators[ix] = null; // Validation? if (v != null) { String msg = v.fullyValid(); if (msg != null) { reportValidationProblem("Validation error, element </" +closingElem+">: "+msg); } } // Then let's get info from parent, if any if (ix < 1) { // root element closing.. checkIdRefs(); // doesn't really matter; epilog/prolog differently handled: return XMLValidator.CONTENT_ALLOW_WS; } return mElems[ix-1].getAllowedContent(); }
/** * @return Validation state that should be effective for the parent * element state */ public int validateElementEnd(String localName, String uri, String prefix) throws XMLValidationException { // First, let's remove the top: int ix = --mElemCount; DTDElement closingElem = mElems[ix]; mElems[ix] = null; StructValidator v = mValidators[ix]; mValidators[ix] = null; // Validation? if (v != null) { String msg = v.fullyValid(); if (msg != null) { reportValidationProblem("Validation error, element </" +closingElem+">: "+msg); } } // Then let's get info from parent, if any if (ix < 1) { // root element closing.. checkIdRefs(); // doesn't really matter; epilog/prolog differently handled: return XMLValidator.CONTENT_ALLOW_WS; } return mElems[ix-1].getAllowedContent(); }