Project

Profile

Help

Should saxon9-8-0-7source.zip contain a categories.xml file in a subdirectory net/sf/saxon/data?

Added by Martin Honnen about 6 years ago

I tried updating the XSL-tester app used on xsltransform.net to use Java 9.8 HE and/or Java 9.7 HE instead of the outdated 9.5 Saxon used in the original app. That initially seemed to work fine but as soon as a regular expression function like @replace@ is used I run into a

java.lang.RuntimeException: Unable to read categories.xml file

Trying to understand what could cause this and where the file is looked for it seems Configuration.java tries to load it from @net/sf/saxon/data/categories.xml@.

Then I checked saxon9-8-0-7source.zip from Sourceforge and it doesn't not even seem to have a @data@ subdirectory. As the @saxon9he.jar@ has it and the categories.xml file in there the problem with my code is probably not related to the missing directory in the source release.

But should the source zip not contain the data directory with files like categories.xml?


Replies (2)

RE: Should saxon9-8-0-7source.zip contain a categories.xml file in a subdirectory net/sf/saxon/data? - Added by O'Neil Delpratt about 6 years ago

Thank you for reporting this. Yes you are right the Saxon source zip file should contain the data subdirectory.

I have created a bug issue for this: #3650

RE: Should saxon9-8-0-7source.zip contain a categories.xml file in a subdirectory net/sf/saxon/data? - Added by O'Neil Delpratt about 6 years ago

This bug issue has been fixed in the ant build file. Available in the next maintenance release.

    (1-2/2)

    Please register to reply