I have updated cvs to be JAXP 1.1 compliant. The dist can change the
choice of the xml parser by editing the JAXP properties in the run.bat or
run.sh scripts. The default values are set to the crimson 1.1 parser that ships
with the JAXP 1.1 RI.
To change from the crimson parser to xerces for example, change this section
in run.bat from:
REM Add the XML parser jars and set the JAXP factory names
REM Crimson parser JAXP setup(default)
set CLASSPATH=%CLASSPATH%;../lib/crimson.jar
set
JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
set JAXP=%JAXP%
-Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl
to:
REM Xerces parser JAXP setup
set CLASSPATH=%CLASSPATH%;../lib/xerces.jar
set
JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
set JAXP=%JAXP%
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
and add the xerces.jar to the lib directory.
The build process itself could not be made to rely on the JAXP as
the xmlbeans custom ant tag is using an old version of the parser contained in the
xml.jar file. Both it and the ejx editor app need to be updated to use JAXP.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user