C
christian.bongiorno
Ok, my situation is this. I am using the JOX XML bean loading class to
load my java objects from XML. All works well on my development
environment. I am deploying a webservices through tomcat 4.1 in my dev
env. When I deploy the code to the test environment (running a
seriously old JBoss) I find that I get a parse exception.
A remote debug shows me that the only difference is that my dev env.
loads the org.apache.crimson.jaxp.SAXParserImpl and the one that
loads in the JBoss test env is
org.apache.xerces.jaxp.SAXParserImpl
the crimson parser works happy and it validates in my IDE just fine.
So, the question is:
How can I get the factory to load another parser? I would like to find
out why my XML is failing to parse with xerces but not with crimson.
The documents say you can cause it to do a switcher-roo but they don't
mention how.
Ideas?
Christian
http://christian.bongiorno.org/resume.pdf
load my java objects from XML. All works well on my development
environment. I am deploying a webservices through tomcat 4.1 in my dev
env. When I deploy the code to the test environment (running a
seriously old JBoss) I find that I get a parse exception.
A remote debug shows me that the only difference is that my dev env.
loads the org.apache.crimson.jaxp.SAXParserImpl and the one that
loads in the JBoss test env is
org.apache.xerces.jaxp.SAXParserImpl
the crimson parser works happy and it validates in my IDE just fine.
So, the question is:
How can I get the factory to load another parser? I would like to find
out why my XML is failing to parse with xerces but not with crimson.
The documents say you can cause it to do a switcher-roo but they don't
mention how.
Ideas?
Christian
http://christian.bongiorno.org/resume.pdf