For anyone using Websphere version 6.1, this appears to be a bug that was
corrected with fix pack5. See this link:
http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg1PK29135
T
Jack Sprat <[EMAIL PROTECTED]> wrote: I am trying to validate an XML file
against a schema and get an UnsupportedOperationException with a message of
"TODO" (no quotes) when running in Websphere 6.1. This does not fail in Tomcat
5.5
Here is a snippet of the stack trace:
java.lang.UnsupportedOperationException: TODO
at
org.apache.axiom.om.impl.dom.DocumentImpl.getDoctype(DocumentImpl.java:225)
at
org.apache.xerces.jaxp.validation.DOMValidatorHelper.setupEntityMap(Unknown
Source)
at
org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(Unknown
Source)
at org.apache.xerces.jaxp.validation.ValidatorImpl.validate(Unknown
Source)
at javax.xml.validation.Validator.validate(Unknown Source)
...
The source of the Axiom 1.2.4 DocumentImpl#getDocType method:
public DocumentType getDoctype() {
// TODO
throw new UnsupportedOperationException("TODO");
}
Is the wrong DOM implementation being used? If so, how can I fix this?? I'm
using Axis2-1.2.
Thanks,
T
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.