Remove Util dependency on Saxon


(Imported from Google Code)
Since v2.0.0, the DDMSence Util methods for validation of NCNames and NMTOKEN values have delegated the actual work to Saxon's Name10Checker class. Although this cleans up the code, it also requires the Saxon JAR (6MB) file to be in the classpath even if another XSLT engine is being used for things like Schematron validation.

Investigate the pros/cons of custom Util methods to eliminate this large dependency.


Brian Uri
April 28, 2012, 4:17 AM

It is not trivial to separate the NCName methods from the Saxon JAR, and the solution provided is far more robust than the original custom solution was. Although requiring the 6 MB JAR is less than convenient, it results in a stronger technical solution for NCName validation.

Brian Uri
June 3, 2012, 10:45 PM

Reopening. Although the fix described above will still not be made, the documentation about the classpath can and should be updated to note that Saxon is a dependency for reasons other than Schematron parsing, and that custom XSLT engines can still be used next to Saxon.

Brian Uri
August 26, 2012, 3:08 AM

Complete in Rev 750.



Brian Uri


Brian Uri



Fix versions