saxon:path()

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

saxon:path()

Alexander Žaťko
Not sure what am I doing wrong, but I get the error shown below when  
trying to use the saxon:path() function. I am using other saxon  
functions without problem in the same xslt processor so this is quite  
puzzling. Additionally, I tested the styles sheet outside of OPS and it  
works fine with the same xslt processor (saxon B).

org.orbeon.saxon.xpath.StaticError: XPath syntax error at char 12 on  
line 525 in {saxon:path()}:
     Cannot find a matching 0-argument function named  
{http://saxon.sf.net/}path()
        at  
org.orbeon.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:
93)
        at  
org.orbeon.saxon.expr.ExpressionParser.parseFunctionCall(ExpressionParse
r.java:1595)
        at  
org.orbeon.saxon.expr.ExpressionParser.parseBasicStep(ExpressionParser.j
ava:1090)
        at  
org.orbeon.saxon.expr.ExpressionParser.parseStepExpression(ExpressionPar
ser.java:1005)
        at  
org.orbeon.saxon.expr.ExpressionParser.parseRelativePath(ExpressionParse
r.java:978)
        at  
org.orbeon.saxon.expr.ExpressionParser.parsePathExpression(ExpressionPar
ser.java:963)
        at  
org.orbeon.saxon.expr.ExpressionParser.parseUnaryExpression(ExpressionPa
rser.java:854)


A.




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: saxon:path()

Erik Bruchez
Administrator
Do you use oxf:xslt or oxf:unsafe-xslt? You should use the latter to
access extension functions.

-Erik

Alexander Zatko wrote:

> Not sure what am I doing wrong, but I get the error shown below when
> trying to use the saxon:path() function. I am using other saxon
> functions without problem in the same xslt processor so this is quite
> puzzling. Additionally, I tested the styles sheet outside of OPS and it
> works fine with the same xslt processor (saxon B).
>
> org.orbeon.saxon.xpath.StaticError: XPath syntax error at char 12 on
> line 525 in {saxon:path()}:
>     Cannot find a matching 0-argument function named
> {http://saxon.sf.net/}path()
>     at
> org.orbeon.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:93)
>     at
> org.orbeon.saxon.expr.ExpressionParser.parseFunctionCall(ExpressionParser.java:1595)
>
>     at
> org.orbeon.saxon.expr.ExpressionParser.parseBasicStep(ExpressionParser.java:1090)
>
>     at
> org.orbeon.saxon.expr.ExpressionParser.parseStepExpression(ExpressionParser.java:1005)
>
>     at
> org.orbeon.saxon.expr.ExpressionParser.parseRelativePath(ExpressionParser.java:978)
>
>     at
> org.orbeon.saxon.expr.ExpressionParser.parsePathExpression(ExpressionParser.java:963)
>
>     at
> org.orbeon.saxon.expr.ExpressionParser.parseUnaryExpression(ExpressionParser.java:854)
>
>
>
> A.



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: saxon:path()

Alexander Žaťko
Switching to the unsafe-xslt did the trick. Thank you.

A.

On Jan 27, 2006, at 5:44 PM, Erik Bruchez wrote:

> Do you use oxf:xslt or oxf:unsafe-xslt? You should use the latter to  
> access extension functions.
>
> -Erik
>
> Alexander Zatko wrote:
>> Not sure what am I doing wrong, but I get the error shown below when  
>> trying to use the saxon:path() function. I am using other saxon  
>> functions without problem in the same xslt processor so this is quite  
>> puzzling. Additionally, I tested the styles sheet outside of OPS and  
>> it works fine with the same xslt processor (saxon B).
>> org.orbeon.saxon.xpath.StaticError: XPath syntax error at char 12 on  
>> line 525 in {saxon:path()}:
>>     Cannot find a matching 0-argument function named  
>> {http://saxon.sf.net/}path()
>>     at  
>> org.orbeon.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:
>> 93)
>>     at  
>> org.orbeon.saxon.expr.ExpressionParser.parseFunctionCall(ExpressionPar
>> ser.java:1595)     at  
>> org.orbeon.saxon.expr.ExpressionParser.parseBasicStep(ExpressionParser
>> .java:1090)     at  
>> org.orbeon.saxon.expr.ExpressionParser.parseStepExpression(ExpressionP
>> arser.java:1005)     at  
>> org.orbeon.saxon.expr.ExpressionParser.parseRelativePath(ExpressionPar
>> ser.java:978)     at  
>> org.orbeon.saxon.expr.ExpressionParser.parsePathExpression(ExpressionP
>> arser.java:963)     at  
>> org.orbeon.saxon.expr.ExpressionParser.parseUnaryExpression(Expression
>> Parser.java:854) A.
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws