DITA Glass runs in Saxon HE

Post here questions and problems related to editing and publishing DITA content.
HomeGoods
Posts: 96
Joined: Wed Feb 09, 2005 8:57 am

DITA Glass runs in Saxon HE

Post by HomeGoods »

The publishing stage of DITA Glass is restricted to Saxon-HE?
The sample at GitHub fails:

Code: Select all

 [gen-list] 9344 ERROR [ main ] ro.sync.xml.transformer.dita.remote.b - Could not download props2dita:/resources/languageList.properties because:javax.xml.transform.TransformerConfigurationException: E Stylesheet compilation failed: 2 errors reported
[gen-list] F XPST0017 XPath syntax error at char 0 on line 58 in {saxon:parse($unparsed)/*}: Cannot find a matching 1-argument function named {http://saxon.sf.net/}parse(). Saxon extension functions are not available under Saxon-HE at line 58 and column 73
Tested on 18.0 2016051118.

I need PE+ features. I have a valid Saxon license file if it's required.
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA Glass runs in Saxon HE

Post by Radu »

Hi,

Your analysis is correct, the DITA OT publishing part using conversion protocols was restricted to Saxon HE. We made a change on our side and in Oxygen 18.1 (in a couple of months) the publishing will use Saxon EE.
Indeed in the sample DITAGlass project we recently added a topicref which converts a properties file to DITA using an XSLT which has a "saxon:parse" function doing the properties to XML decoding.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
HomeGoods
Posts: 96
Joined: Wed Feb 09, 2005 8:57 am

Re: DITA Glass runs in Saxon HE

Post by HomeGoods »

Thanks for the update.
For the meantime, I copied my license file to frameworks/dita/DITA-OT2.x/lib and it worked.
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA Glass runs in Saxon HE

Post by Radu »

Hi,

Right, good idea. The DITA OT "lib" folder is in the process classpath so indeed probably Saxon 9 picks it up from there.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA Glass runs in Saxon HE

Post by Radu »

Hi,

Just to update this thread, Oxygen 18.1 which we released a couple of weeks ago should use Saxon EE for the XSLT and XQuery conversion processors.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply