|
About this Java LibraryThere are three sets of functionality in the Java library here. The core code is all Free Software (GPL) and the rest is at least Open Source.
Javadoc for the latest version of the reference code is online here, and a apidoc.zip file is available for download. That current version is available under a more lenient license than the version provided through this project. That uses the GPL with library exception to permit using that distribution as a library in proprietary applications without any risk of so-called "viral contamination". (It's the same license used for the GNU C library.) Those are roughly the same terms that proprietary applications get for proprietary third party libraries, except that they have more freedom to resolve infrastructure bugs. (And are not subject to the viral characteristics of NonDisclosure Agreements affecting those libraries.) GPL'd contributions of related testing software would be welcomed. BuildingThere's a Makefile that should basically work most UNIX-like systems. (Maybe with some tweaks.) Run "make" with no arguments to get suggestions for interesting targets. This gets built mostly with JDK 1.3, or other JDK ports; javadoc requires at least JDK 1.2 to build. GCJ 3.0 compiles most everything except DOM2, and the core parser support (including validation) works. Running the sanity tests turns up some bugs in the GCJ runtime; subsequent GCJ release should have fixes for all of these. On Win32 systems, cygwin is recommended. (Some users have reported that GNU find must precede the Win32 one in $PATH.) Or, you may prefer to use the "antbuild.bat" file rather than the Makefile. Getting XML Test CasesNeither of the sets of testcases from the OASIS/NIST XML Conformance Working Group work right "out of the box". You are encouraged to use the more current version of these test cases that resides in this projects xml/suite CVS module. In fact, get the whole xml module and use it to generate reports for whichever parser you're testing. |