I am also getting the following error when using Xalan2.7. Again, this was working fine with Xalan 2.3
<xsl:namespace-alias stylesheet-prefix="oso" result-prefix=""/>
javax.xml.transform.TransformerException: The result-prefix attribute of an xsl:namespace-alias element has the value '', but there is no namespace declaration for the prefix '' in scope for the element.Thanks and Regards,
Hari
On 12/20/05, Hariprasath Manivannan <[EMAIL PROTECTED]> wrote:
Hi,I have been using Xalan2.3 and my XSL contains the following line<xsl:variable name="myVar" select="java:com.mycompany.myclass.mymethod(/)"/>I want to pass the entire XML Dom as a parameter to my java method as a NodeListWhen I use the same XSL with Xalan2.7 I am getting the following error:; Line#: 60; Column#: 98
; Line#: 60; Column#: 98
javax.xml.transform.TransformerException: A location step was expected following the '/' or '//' token.
at org.apache.xpath.compiler.XPathParser.error (XPathParser.java:608)
at org.apache.xpath.compiler.XPathParser.Step(XPathParser.java:1737)
at org.apache.xpath.compiler.XPathParser.RelativeLocationPath(XPathParser.java:1624)
at org.apache.xpath.compiler.XPathParser.LocationPath (XPathParser.java:1595)
What should be used to pass the root node to a java method with xalan 2.7?Thanks and Regards,
Hari
