Page 1 of 1

DITA Glass runs in Saxon HE

Posted: Tue Jun 14, 2016 7:09 am
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.

Re: DITA Glass runs in Saxon HE

Posted: Tue Jun 14, 2016 8:02 am
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

Re: DITA Glass runs in Saxon HE

Posted: Tue Jun 14, 2016 8:29 am
by HomeGoods
Thanks for the update.
For the meantime, I copied my license file to frameworks/dita/DITA-OT2.x/lib and it worked.

Re: DITA Glass runs in Saxon HE

Posted: Tue Jun 14, 2016 10:01 am
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

Re: DITA Glass runs in Saxon HE

Posted: Fri Oct 28, 2016 11:17 am
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