  | | | -none- | -none- 2007-10-02 - By Jack Sprat
Back 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 (See http://www-1.ora-code.com).ibm.com/support/docview.wss?rs=180&uid=swg1PK29135
T
Jack Sprat <rexclaimer2@(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. For anyone using Websphere version 6.1, this appears to be a bug that was corrected with fix pack5. See this link:<br>http://www-1 (See http://www-1.ora-code.com).ibm.com/support /docview.wss?rs=180&uid=swg1PK29135<br><br>T<br><br><br><b><i>Jack Sprat < ;rexclaimer2@(protected)></i></b> wrote:<blockquote class="replbq" style= "border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <span style="font-family: arial;">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.</span><span style="font-family: arial;"> </span> This does not fail in Tomcat 5.5<br><br>Here is a snippet of the stack trace:<br><br>java.lang.UnsupportedOperationException: TODO<br><pre style ="font-family: arial;" wrap=""> at org.apache.axiom.om.impl.dom.DocumentImpl .getDoctype(DocumentImpl.java:225)<br> at org.apache.xerces.jaxp.validation.DOMValidatorHelper.setupEntityMap(Unknown<br >Source)<br> at<br>org.apache.xerces.jaxp.validation.DOMValidatorHelper .validate(Unknown<br>Source)<br> at org.apache.xerces.jaxp.validation .ValidatorImpl.validate(Unknown<br>Source)<br> at javax.xml.validation .Validator.validate(Unknown Source)<br>...<br><br><span style="font-family: arial;">The source of the Axiom 1.2.4 DocumentImpl#getDocType method:</span><br style="font-family: arial;"><br> public DocumentType getDoctype() {<br> // TODO<br> throw new UnsupportedOperationException("TODO");<br> } <br><br>Is the wrong DOM implementation being used? If so, how can I fix this?? I'm using Axis2-1.2.<br><br>Thanks,<br>T<br><br></pre> </blockquote><br><p>& #32; <hr size=1>Be a better Heartthrob. <a href="http://us.rd.yahoo.com/evt =48255/*http://answers.yahoo.com/dir/_ylc =X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMz YwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433">Get better relationship answers </a>from someone who knows.<br>Yahoo! Answers - Check it out.
|
|
 |