XML parser and XSLT processor
Some IBM® Toolbox for Java™ packages or functions require that, at run-time, you have an Extensible Markup Language (XML) parser or Extensible Stylesheet Language Transformations (XSLT) processor in your CLASSPATH environment variable.
Refer to the following information to determine which parser and processor you want to use.
For more information about which IBM Toolbox for Java packages and functions require an XML parser or XSLT processor, see the following page:
JAR files
XML parser
If the package or function requires an XML parser, you must include an XML parser in the CLASSPATH at run-time. The XML parser must meet the following requirements:
- Be JAXP-compliant
- Extend class org.apache.xerces.parsers.SAXParser
- Support full schema validation
The Java 2 Software Developer Kit (J2SDK), version 1.4, includes a suitable XML parser. If you use a previous version of J2SDK, use any of the following methods to access a suitable XML parser:
- Use x4j400.jar (an IBM version of the Xerces XML parser from Apache)
- Download the Xerces XML parser from the Apache Web site
- Use any compatible XML parser in the /QIBM/ProdData/OS400/xml/lib directory on your system
You can use these parsers on your server or copy them to a workstation.
XSLT processor
If the package or function requires an XSLT processor, you must include an XSLT processor in the CLASSPATH at run-time. The XSLT processor must meet the following requirements:
- Be JAXP-compliant
- Contain the class javax.xml.transform.Transformer
The Java 2 Software Developer Kit (J2SDK), version 1.4, includes a suitable XSLT processor. If you use a previous version of J2SDK, use any of the following methods to access a suitable XSLT processor:
- Use xslparser.jar (an IBM version of the Xalan XSLT processor from Apache)
- Download the Xalan XSLT processor from the Apache Web site
- Use any compatible XSLT processor in the /QIBM/ProdData/OS400/xml/lib directory on your system
You can use these processors on your system or copy them to a workstation.