Cecil Ward
2006-08-08 13:54:02 UTC
I have executed an XSL transformation successfully using the MSXML 5.0
processor, but repeating the same thing with MSXML 6 gives an error
Error message with MSXML 6 :-
XSLT Transformation Failed - Error : (-2147467259): [A reference to
variable
or parameter 'PageTemplate.Src.Assumed.Path' cannot be resolved. The
variable
or parameter may not be defined, or it may not be in scope.
I wrote a little script to carry out the transformation with either MSXML6
or MSXML5 or MSXML3, and only MSXML 6 gives this error.
As an additional sanity check, I also used the command-line processor NSXLT
written by Oleg Tkachenko to execute the same transformation ( see
http://www.xmllab.net/Products/nxslt2/tabid/73/Default.aspx?PageContentID=10
), a tool that uses the XSLT processor engine in .Net Framework 2.0, and all
was well.
I assumed that perhaps there was something syntactically dubious about the
.xsl source file and that the newer MSXML 6 was simply more strict than MSXML
5, but given the fact that the .net framework 2.0 processor seems happy with
it, that theory seems less likely.
Any suggestions?
processor, but repeating the same thing with MSXML 6 gives an error
Error message with MSXML 6 :-
XSLT Transformation Failed - Error : (-2147467259): [A reference to
variable
or parameter 'PageTemplate.Src.Assumed.Path' cannot be resolved. The
variable
or parameter may not be defined, or it may not be in scope.
I wrote a little script to carry out the transformation with either MSXML6
or MSXML5 or MSXML3, and only MSXML 6 gives this error.
As an additional sanity check, I also used the command-line processor NSXLT
written by Oleg Tkachenko to execute the same transformation ( see
http://www.xmllab.net/Products/nxslt2/tabid/73/Default.aspx?PageContentID=10
), a tool that uses the XSLT processor engine in .Net Framework 2.0, and all
was well.
I assumed that perhaps there was something syntactically dubious about the
.xsl source file and that the newer MSXML 6 was simply more strict than MSXML
5, but given the fact that the .net framework 2.0 processor seems happy with
it, that theory seems less likely.
Any suggestions?
--
Cecil Ward
Cecil Ward