I'm attempting to do XML schema validation that requires a JAXP 1.2 compliant 
parser.  JBoss and JDK 1.4.x default to using the crimson 
DocumentBuilderFactoryImpl and SaxParserFactoryImpl.

I've been trying every possible way of overriding crimson with xerces, but 
nothing works.

I put xerces in the classpath, set the system properties...

-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
 
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl

...
created a jaxp.properties file in the jre/lib directory.

Nothing works!

Any ideas?

Thank you 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865494#3865494

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865494


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to