Page 1 of 1

<oXygen/> and saxon7 with sql extension

Posted: Sat Aug 21, 2004 11:25 pm
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

Posted: Tue Aug 24, 2004 11:12 am
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

Posted: Fri Aug 27, 2004 8:33 pm
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