This may or may not be easy depending on the application. The reason is historical — because Apache accepted two donations from two different companies. The decision to split the jar files was a compromise because six jar files also makes life diffucult for users. The parsing component often is distributed separately. Therefore, to ensure portability, your application should limit itself to the following required encoding names in instance documents that contain an encoding declaration:

Uploader: Golkis
Date Added: 23 February 2008
File Size: 15.92 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 8028
Price: Free* [*Free Regsitration Required]

Note there are several implementation-dependent ways of doing this such as using the org. To use this mechanism, place the implementation jar file on your classpath. The reason for this is historical. Because of this, these implementations typically bundle an XML parser as part of their distribution. This may or may not be easy depending on the application. The following tables lists implementations that claim to support at least some portions of JAXP.

Sun donated Project X which became Apache Crimson. The reason is historical — because Apache accepted two donations from two different companies. The jaxp-ri-1.4.jar for this decision was to match the Apache packaging scheme at the time of release, as well as jaxp-ri-1.4.jar simplify life for developers. The reasons are to support the J2SE 1. The jaxp-ri-1.4.jar code samples illustrate the typical use case of creating a parser with namespace processing turned on using JAXP exception handling has been omitted.


There are now a total of six jar files. Although Sun no longer provides a free source distribution there might be a way to pay for oneyou can obtain the same source code from the Apache CVS repositories. Implementations may use an independent and arbitrary naming and versioning scheme from the JAXP specification version.

What is the difference between the specification version and the implementation version? For questions about JAXP itself, please refer to the question on support below. As a workaround, see the question on overriding the implementation in JDK 1. However, a jaxp-ri-1.4.jar implementation may jaxp-ri-1.4.jar bugs in it so that it deviates from the specification.

To approximate an unbundled version, you can also download the major components individually from Apache. A simpler method that requires a minimum of code is to use an EntityResolver. Specification versions are limited to the form N. The above information was last updated jaxp-ri-1.4.jar See this question for more information on this topic. In addition, there is a JAXP jaxp-ri-1.4.jar.


JAXP also provides jaxp-ri-1.4.jar pluggability feature which enables applications to easily switch between particular XML processor implementations.

Unofficial JAXP FAQ

This next example instantiates a SAX jaxp-ri-1.4.jar. Xerces 2 is a new third parser which is a rewrite. See the link above for the precise rules. This note may also be useful.

Unofficial JAXP FAQ

You may need to create the endorsed directory if it does jaxp-ri-1.4.jar yet exist. Xerces 2 was designed to fill the long-term needs of Apache projects going forward. Under the Java 2 class loader delegation model, the java launcher’s ClassLoader will load the bundled version of a class in rt. This allows developers to write applications without having to provide a parser and XSLT processor with their application. Any comments about this FAQ can be emailed to jaxp-ri-1.4.jar using the email address below.

As of JuneApache has three Java parsers: