Login  Register

Re: where are your xalan mods aka why can't I run my own xsl

Posted by Jeremiah Jahn-4 on Sep 12, 2009; 6:16pm
URL: https://discuss.orbeon.com/where-are-your-xalan-mods-aka-why-can-t-I-run-my-own-xsl-tp45227p45228.html

This seems to be caused when using the 'name' attribute on a
xsl:variable. that is where it is first thrown anyway.

On Sat, Sep 12, 2009 at 12:50 PM, Jeremiah Jahn <[hidden email]> wrote:

> I'm getting the following error while trying to use an xsl file that I
> know works, but when it mixes with the orbeon moded libraries is
> doesn't. And I can find the source of r these files to see if there is
> something I need to do differently to handle the changes. I've
> attached the source for the xml, xsl, and java. The java is just a fly
> by the seat of your pants kinda thing.  Is there some way i can force
> my code to use a different transformer factory.
>
> thanks
>
> Caused by: javax.xml.transform.TransformerException: Unknown nodetype: name
>        at orbeon.apache.xpath.compiler.XPathParser.error(XPathParser.java:640)
>        at orbeon.apache.xpath.compiler.XPathParser.NodeTest(XPathParser.java:1817)
>        at orbeon.apache.xpath.compiler.XPathParser.Basis(XPathParser.java:1764)
>        at orbeon.apache.xpath.compiler.XPathParser.Step(XPathParser.java:1700)
>        at orbeon.apache.xpath.compiler.XPathParser.RelativeLocationPath(XPathParser.java:1604)
>        at orbeon.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1278)
>        at orbeon.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1216)
>        at orbeon.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1122)
>        at orbeon.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1043)
>        at orbeon.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:985)
>        at orbeon.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:910)
>        at orbeon.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:850)
>        at orbeon.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:814)
>        at orbeon.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:787)
>        at orbeon.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:770)
>        at orbeon.apache.xpath.compiler.XPathParser.initXPath(XPathParser.java:163)
>        at orbeon.apache.xpath.XPath.<init>(XPath.java:200)
>        at orbeon.apache.xalan.processor.StylesheetHandler.createXPath(StylesheetHandler.java:167)
>        at orbeon.apache.xalan.processor.XSLTAttributeDef.processEXPR(XSLTAttributeDef.java:793)
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws