[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: changed paths in java 1.4.2 when using xerces with saxon
Someone may have pointed this out before, but if not, this may be useful to Saxon users who want to use the Xerces parser and who are using Java version 1.4.2: If you are using Java version 1.4.2, the -D options (for the Java command line) given in Bob Stayton's excellent book, "DocBook XSL: The Complete Guide", have changed. The options listed in the section "Using the Xerces parser with Saxon" work for Java 1.4.0, but Sun changed the naming conventions at some point, and this affects 1.4.2. These are the options that worked for me with Java 1.4.2: -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.interna l.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp .SAXParserFactoryImpl And these are the options that are listed in Bob's book and that worked for me with Java 1.4.0: -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBu ilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactory Impl Hope this is useful to someone. Dave Nilsson
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]