I believe there is a
bug in Saxon b8-4.
attached a jar file with a makefile, xslt,xml, and extension file.
(I have not attached the jar files being used for size
of email reasons. I could send this separately if
When I run this
with saxonb8-4 there is the following compile time
"saxon8.jar;saxpath.jar;jaxen-full.jar;xalan.jar;." net.sf.saxon.Transform -o
Warning: on line 17 of
Required item type of @select
attribute of xsl:apply-templates is node(); supplied value
type java:org.apache.xpath.NodeSet. The expression can succeed only if
supplied value is an empty sequence.
Error on line 17 of
XTTE0520: Required type of
@select attribute of xsl:apply-templates is node(); supplied
Failed to compile stylesheet. 1 error
This doesnt happen
with the previous version of saxon8 (b8-3) and it works in
Moreover if I
comment out the code which throws the error in 8-4 it works as
stylesheet we are trying to do to exactly what the saxon 'eval' extension is
trying to do. We pass in an xpath to a node, in
order to start xslt processing from the node.
(We are going to switch
to this but still the potential bug identified
64 9 357 7276 Ext:
Mobile: 021 707