<oXygen/> and saxon7 with sql extension

Having trouble installing Oxygen? Got a bug to report? Post it all here.
jimcp
Posts: 2
Joined: Sat Aug 21, 2004 9:39 pm
Location: Europe (NL)
Contact:

<oXygen/> and saxon7 with sql extension

Post by jimcp »

I use saxon7 with the SQL extension. This example http://saxon.sourceforge.net/saxon7.8/s ... nsion.html works on my system. It does however not validate in oxygen :-( too bad. I have changed the jaxp xslt transformer property in oxygen to net.sf.saxon.TransformerFactoryImpl as described in the relevant PDF.

My questions are simple, just want to know if I am making errors here or that oxygen does not support this:
- Does oxygen validate Saxon7 xslt?
- How about the SQL extension?

Are you aware of other tools that might do the trick IF oxygen does not support this, sofar oxygen has been a real help :-)

ThX
"... Every Coin Has Two Sides ..."
http://nilostep.com
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

In order to validate with Saxon 7 you need to specify in options JAXP as the XSLT processor used for validation [1]. However the example stylesheet contains a typo:

<xsl:template match="BOOKS">
<xsl:with-param name="connection"/>
<!-- ... -->
</xsl:template>

should be:

<xsl:template match="BOOKS">
<xsl:param name="connection"/>
<!-- ... -->
</xsl:template>

The latest release of Saxon is Saxon 8 so you might consider using that instead of Saxon 7.8.

[1] http://www.oxygenxml.com/doc/ug-oxygen/ ... ences-xslt

Best Regards,
George
jimcp
Posts: 2
Joined: Sat Aug 21, 2004 9:39 pm
Location: Europe (NL)
Contact:

Post by jimcp »

thanX

oxygen manual explained it ok and all, it was that typo, my fault / error, sorry ;-)
my fault is corrected now, will get 8.

jimCap
"... Every Coin Has Two Sides ..."
http://nilostep.com
Post Reply