Hi, Just making a first attempt to try out 4.0 - m3 and I'm coming across what is a bit of a strange problem with XPath expression evaluation - see below for a more detailed description of a couple of examples but basically I'm getting "Cannot find a matching 1-argument function named string()" I've also had to rewrite some XPath from e.g. instance('myinstance')/atom:content/myelement to instance('myinstance')//myelement (This all works fine in 3.8 and 3.9) Any ideas gratefully received. Thanks, Ian <xforms:instance id="ins-upload" xxforms:validation="skip"> <upload xmlns="" scheme="http://www.cggh.org/2010/chassis/scheme/FileTypes" term="" label=""> <summary /> <category /> <media xsi:type="xs:anyURI" filename="" mediatype="" size="" /> </upload> </xforms:instance> <xforms:bind nodeset="instance('ins-upload')"> <xforms:bind nodeset="@term" required="true()" /> <xforms:bind nodeset="@label" relevant="../@term='Other'" required="../@term='Other'" /> <xforms:bind nodeset="category" calculate="concat('scheme="', ../@scheme, '"; term="', ../@term, '"; label="', ../@label, '";')" /> </xforms:bind> 2012-06-14 15:47:31,455 ERROR org.orbeon.oxf.webapp.ProcessorService - Exception at line 59 of myfile.xml (preparing XPath expression: expression='xs:string((concat('scheme="', ../@scheme, '"; term="', ../@term, '"; label="', ../@label, '";'))[1])') org.orbeon.saxon.trans.XPathException: XPath syntax error at char 100 in {...abel="', ../@label, '";'))[...}: Cannot find a matching 1-argument function named string() Elsewhere something similar <xforms:setvalue ref="instance('ins-entry')//wizard-pane-to-show" value="'permissions'" /> 012-06-14 15:37:12,493 WARN org.orbeon.oxf.xforms.processor.XFormsServer - exception while running action {message: "line 97 of oxf:/apps/contributor/includes/wizard-panes/study-terms.xml (preparing XPath expression: expression='xs:string((xs:string('permissions'))[1])'): XPath syntax error at char 35 in {...ng((xs:string('permissions'...}: Cannot find a matching 1-argument function named string() XPath syntax error at char 35 in {...ng((xs:string('permissions'...}: Cannot find a matching 1-argument function named string()", throwable: "org.orbeon.saxon.trans.XPathException: XPath syntax error at char 35 in {...ng((xs:string('permissions'...}: Cannot find a matching 1-argument function named string() at org.orbeon.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:149) ... at org.orbeon.saxon.expr.ExpressionParser.parse(ExpressionParser.java:228) at org.orbeon.saxon.expr.ExpressionTool.make(ExpressionTool.java:73) at org.orbeon.saxon.sxpath.XPathEvaluator.createExpression(XPathEvaluator.java:167) at org.orbeon.oxf.util.XPathCache.createPoolableXPathExpression(XPathCache.java:569) at org.orbeon.oxf.util.XPathCache$XPathCachePoolableObjectFactory.makeObject(XPathCache.java:545) at org.orbeon.oxf.util.SoftReferenceObjectPool.borrowObject(SoftReferenceObjectPool.java:66) at org.orbeon.oxf.util.XPathCache.getXPathExpression(XPathCache.java:414) at org.orbeon.oxf.util.XPathCache.evaluateAsString(XPathCache.java:289) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.evaluateStringExpression(XFormsActionInterpreter.java:285) at org.orbeon.oxf.xforms.action.actions.XFormsSetvalueAction.execute(XFormsSetvalueAction.scala:43) -- 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 |
Administrator
|
Ian,
I suspect a namespace issue related to xs:string(), but somehow I can't reproduce this. Can you send a full example? -Erik On Fri, Jun 15, 2012 at 12:02 AM, Ian Wright <[hidden email]> wrote: > > > Hi, > > Just making a first attempt to try out 4.0 - m3 and I'm coming across > what is a bit of a strange problem with XPath expression evaluation - > see below for a more detailed description of a couple of examples but > basically I'm getting "Cannot find a matching 1-argument function named > string()" > > I've also had to rewrite some XPath from e.g. > instance('myinstance')/atom:content/myelement to > instance('myinstance')//myelement > > (This all works fine in 3.8 and 3.9) > > Any ideas gratefully received. > > Thanks, > Ian > > <xforms:instance id="ins-upload" xxforms:validation="skip"> > <upload xmlns="" > scheme="http://www.cggh.org/2010/chassis/scheme/FileTypes" > term="" > label=""> > <summary /> > <category /> > <media xsi:type="xs:anyURI" filename="" mediatype="" size="" /> > </upload> > </xforms:instance> > > <xforms:bind nodeset="instance('ins-upload')"> > <xforms:bind nodeset="@term" required="true()" /> > <xforms:bind nodeset="@label" > relevant="../@term='Other'" > required="../@term='Other'" /> > <xforms:bind nodeset="category" > calculate="concat('scheme="', ../@scheme, '"; > term="', ../@term, '"; label="', ../@label, '";')" /> > </xforms:bind> > > > 2012-06-14 15:47:31,455 ERROR org.orbeon.oxf.webapp.ProcessorService - > Exception at line 59 of myfile.xml (preparing XPath expression: > expression='xs:string((concat('scheme="', ../@scheme, '"; term="', > ../@term, '"; label="', ../@label, '";'))[1])') > org.orbeon.saxon.trans.XPathException: XPath syntax error at char 100 in > {...abel="', ../@label, '";'))[...}: > Cannot find a matching 1-argument function named string() > > Elsewhere something similar > > <xforms:setvalue > > ref="instance('ins-entry')//wizard-pane-to-show" > value="'permissions'" /> > > > 012-06-14 15:37:12,493 WARN > org.orbeon.oxf.xforms.processor.XFormsServer - exception while running > action {message: "line 97 of > oxf:/apps/contributor/includes/wizard-panes/study-terms.xml (preparing > XPath expression: > expression='xs:string((xs:string('permissions'))[1])'): XPath syntax > error at char 35 in {...ng((xs:string('permissions'...}: > Cannot find a matching 1-argument function named string() > XPath syntax error at char 35 in {...ng((xs:string('permissions'...}: > Cannot find a matching 1-argument function named string()", > throwable: "org.orbeon.saxon.trans.XPathException: XPath syntax error at > char 35 in {...ng((xs:string('permissions'...}: > Cannot find a matching 1-argument function named string() > at > org.orbeon.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:149) > ... > at > org.orbeon.saxon.expr.ExpressionParser.parse(ExpressionParser.java:228) > at org.orbeon.saxon.expr.ExpressionTool.make(ExpressionTool.java:73) > at > org.orbeon.saxon.sxpath.XPathEvaluator.createExpression(XPathEvaluator.java:167) > at > org.orbeon.oxf.util.XPathCache.createPoolableXPathExpression(XPathCache.java:569) > at > org.orbeon.oxf.util.XPathCache$XPathCachePoolableObjectFactory.makeObject(XPathCache.java:545) > at > org.orbeon.oxf.util.SoftReferenceObjectPool.borrowObject(SoftReferenceObjectPool.java:66) > at > org.orbeon.oxf.util.XPathCache.getXPathExpression(XPathCache.java:414) > at org.orbeon.oxf.util.XPathCache.evaluateAsString(XPathCache.java:289) > at > org.orbeon.oxf.xforms.action.XFormsActionInterpreter.evaluateStringExpression(XFormsActionInterpreter.java:285) > at > org.orbeon.oxf.xforms.action.actions.XFormsSetvalueAction.execute(XFormsSetvalueAction.scala:43) > > > > -- > 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 > -- 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 |
Erik,
You're right it is a namespace problem. I've been having to add a lot of namespace declarations to my code to make 4.0 work, including xmlns:xs="http://www.w3.org/2001/XMLSchema" It appears that with v3 namespaces in the attributes, e.g. ref, were resolved differently so in v3 if I've got something like <xforms:output value="instance('ins-study-entry')/atom:title"/> it used to work without the atom namespace defined in the immediate scope whereas now it has to be. (at least with the functions you get a log message other XPath expressions are just failing to resolve) I think this might be related to the fact that I split up my forms using xi:include - the namespace is, and always has been, declared in the parent file but now I'm having to declare it in the included file whereas previously I only had to declare the namespaces for elements in the included file. (The other possibility is that previously the XPath in the attributes ignored the namespaces) (As an aside what's the right way to split up a model like this? - at the moment I put div tags in the included file which seems to work but doesn't feel right) Thanks, Ian On 15/06/12 18:15, Erik Bruchez wrote: > Ian, > > I suspect a namespace issue related to xs:string(), but somehow I > can't reproduce this. > > Can you send a full example? > > -Erik > > On Fri, Jun 15, 2012 at 12:02 AM, Ian Wright<[hidden email]> wrote: >> >> Hi, >> >> Just making a first attempt to try out 4.0 - m3 and I'm coming across >> what is a bit of a strange problem with XPath expression evaluation - >> see below for a more detailed description of a couple of examples but >> basically I'm getting "Cannot find a matching 1-argument function named >> string()" >> >> I've also had to rewrite some XPath from e.g. >> instance('myinstance')/atom:content/myelement to >> instance('myinstance')//myelement >> >> (This all works fine in 3.8 and 3.9) >> >> Any ideas gratefully received. >> >> Thanks, >> Ian >> >> <xforms:instance id=ns-upload" xxforms:validation="skip"> >> <upload xmlns= >> scheme="ttp://www.cggh.org/2010/chassis/scheme/FileTypes" >> term= >> label="> >> <summary /> >> <category /> >> <media xsi:type=s:anyURI" filename="" mediatype="" size="" /> >> </upload> >> </xforms:instance> >> >> <xforms:bind nodeset=nstance('ins-upload')"> >> <xforms:bind nodeset=term" required="true()" /> >> <xforms:bind nodeset=label" >> relevant=./@term='Other'" >> required=./@term='Other'" /> >> <xforms:bind nodeset=ategory" >> calculate=oncat('scheme="', ../@scheme, '"; >> term=uot;', ../@term, '"; label="', ../@label, '";')" /> >> </xforms:bind> >> >> >> 2012-06-14 15:47:31,455 ERROR org.orbeon.oxf.webapp.ProcessorService - >> Exception at line 59 of myfile.xml (preparing XPath expression: >> expression=s:string((concat('scheme="', ../@scheme, '"; term="', >> ../@term, '"; label=, ../@label, '";'))[1])') >> org.orbeon.saxon.trans.XPathException: XPath syntax error at char 100 in >> {...abel=, ../@label, '";'))[...}: >> Cannot find a matching 1-argument function named string() >> >> Elsewhere something similar >> >> <xforms:setvalue >> >> ref=nstance('ins-entry')//wizard-pane-to-show" >> value=permissions'" /> >> >> >> 012-06-14 15:37:12,493 WARN >> org.orbeon.oxf.xforms.processor.XFormsServer - exception while running >> action {message: "line 97 of >> oxf:/apps/contributor/includes/wizard-panes/study-terms.xml (preparing >> XPath expression: >> expression=s:string((xs:string('permissions'))[1])'): XPath syntax >> error at char 35 in {...ng((xs:string('permissions'...}: >> Cannot find a matching 1-argument function named string() >> XPath syntax error at char 35 in {...ng((xs:string('permissions'...}: >> Cannot find a matching 1-argument function named string()", >> throwable: "org.orbeon.saxon.trans.XPathException: XPath syntax error at >> char 35 in {...ng((xs:string('permissions'...}: >> Cannot find a matching 1-argument function named string() >> at >> org.orbeon.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:149) >> ... >> at >> org.orbeon.saxon.expr.ExpressionParser.parse(ExpressionParser.java:228) >> at org.orbeon.saxon.expr.ExpressionTool.make(ExpressionTool.java:73) >> at >> org.orbeon.saxon.sxpath.XPathEvaluator.createExpression(XPathEvaluator.java:167) >> at >> org.orbeon.oxf.util.XPathCache.createPoolableXPathExpression(XPathCache.java:569) >> at >> org.orbeon.oxf.util.XPathCache$XPathCachePoolableObjectFactory.makeObject(XPathCache.java:545) >> at >> org.orbeon.oxf.util.SoftReferenceObjectPool.borrowObject(SoftReferenceObjectPool.java:66) >> at >> org.orbeon.oxf.util.XPathCache.getXPathExpression(XPathCache.java:414) >> at org.orbeon.oxf.util.XPathCache.evaluateAsString(XPathCache.java:289) >> at >> org.orbeon.oxf.xforms.action.XFormsActionInterpreter.evaluateStringExpression(XFormsActionInterpreter.java:285) >> at >> org.orbeon.oxf.xforms.action.actions.XFormsSetvalueAction.execute(XFormsSetvalueAction.scala:43) >> >> >> >> -- >> 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=lp >> OW2 mailing lists service home page: http://www.ow2.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Ian,
I have entered an issue: https://github.com/orbeon/orbeon-forms/issues/331 -Erik On Tue, Jun 19, 2012 at 12:41 AM, Ian Wright <[hidden email]> wrote: > Erik, > You're right it is a namespace problem. > I've been having to add a lot of namespace declarations to my code to make > 4.0 work, including xmlns:xs="http://www.w3.org/2001/XMLSchema" > > It appears that with v3 namespaces in the attributes, e.g. ref, were > resolved differently so in v3 if I've got something like > <xforms:output value="instance('ins-study-entry')/atom:title"/> it used to > work without the atom namespace defined in the immediate scope whereas now > it has to be. (at least with the functions you get a log message other XPath > expressions are just failing to resolve) > > I think this might be related to the fact that I split up my forms using > xi:include - the namespace is, and always has been, declared in the parent > file but now I'm having to declare it in the included file whereas > previously I only had to declare the namespaces for elements in the included > file. > (The other possibility is that previously the XPath in the attributes > ignored the namespaces) > > (As an aside what's the right way to split up a model like this? - at the > moment I put div tags in the included file which seems to work but doesn't > feel right) > > Thanks, > Ian > > On 15/06/12 18:15, Erik Bruchez wrote: >> >> Ian, >> >> I suspect a namespace issue related to xs:string(), but somehow I >> can't reproduce this. >> >> Can you send a full example? >> >> -Erik >> >> On Fri, Jun 15, 2012 at 12:02 AM, Ian Wright<[hidden email]> >> wrote: >>> >>> >>> Hi, >>> >>> Just making a first attempt to try out 4.0 - m3 and I'm coming across >>> what is a bit of a strange problem with XPath expression evaluation - >>> see below for a more detailed description of a couple of examples but >>> basically I'm getting "Cannot find a matching 1-argument function named >>> string()" >>> >>> I've also had to rewrite some XPath from e.g. >>> instance('myinstance')/atom:content/myelement to >>> instance('myinstance')//myelement >>> >>> (This all works fine in 3.8 and 3.9) >>> >>> Any ideas gratefully received. >>> >>> Thanks, >>> Ian >>> >>> <xforms:instance id=ns-upload" xxforms:validation="skip"> >>> <upload xmlns= >>> scheme="ttp://www.cggh.org/2010/chassis/scheme/FileTypes" >>> >>> term= >>> label="> >>> <summary /> >>> <category /> >>> <media xsi:type=s:anyURI" filename="" mediatype="" size="" /> >>> </upload> >>> </xforms:instance> >>> >>> <xforms:bind nodeset=nstance('ins-upload')"> >>> <xforms:bind nodeset=term" required="true()" /> >>> <xforms:bind nodeset=label" >>> relevant=./@term='Other'" >>> required=./@term='Other'" /> >>> <xforms:bind nodeset=ategory" >>> calculate=oncat('scheme="', ../@scheme, '"; >>> term=uot;', ../@term, '"; label="', ../@label, '";')" /> >>> >>> </xforms:bind> >>> >>> >>> 2012-06-14 15:47:31,455 ERROR org.orbeon.oxf.webapp.ProcessorService - >>> Exception at line 59 of myfile.xml (preparing XPath expression: >>> expression=s:string((concat('scheme="', ../@scheme, '"; term="', >>> ../@term, '"; label=, ../@label, '";'))[1])') >>> >>> org.orbeon.saxon.trans.XPathException: XPath syntax error at char 100 in >>> {...abel=, ../@label, '";'))[...}: >>> >>> Cannot find a matching 1-argument function named string() >>> >>> Elsewhere something similar >>> >>> <xforms:setvalue >>> >>> ref=nstance('ins-entry')//wizard-pane-to-show" >>> value=permissions'" /> >>> >>> >>> >>> 012-06-14 15:37:12,493 WARN >>> org.orbeon.oxf.xforms.processor.XFormsServer - exception while running >>> action {message: "line 97 of >>> oxf:/apps/contributor/includes/wizard-panes/study-terms.xml (preparing >>> XPath expression: >>> expression=s:string((xs:string('permissions'))[1])'): XPath syntax >>> >>> error at char 35 in {...ng((xs:string('permissions'...}: >>> Cannot find a matching 1-argument function named string() >>> XPath syntax error at char 35 in {...ng((xs:string('permissions'...}: >>> Cannot find a matching 1-argument function named string()", >>> throwable: "org.orbeon.saxon.trans.XPathException: XPath syntax error at >>> char 35 in {...ng((xs:string('permissions'...}: >>> Cannot find a matching 1-argument function named string() >>> at >>> org.orbeon.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:149) >>> ... >>> at >>> org.orbeon.saxon.expr.ExpressionParser.parse(ExpressionParser.java:228) >>> at org.orbeon.saxon.expr.ExpressionTool.make(ExpressionTool.java:73) >>> at >>> >>> org.orbeon.saxon.sxpath.XPathEvaluator.createExpression(XPathEvaluator.java:167) >>> at >>> >>> org.orbeon.oxf.util.XPathCache.createPoolableXPathExpression(XPathCache.java:569) >>> at >>> >>> org.orbeon.oxf.util.XPathCache$XPathCachePoolableObjectFactory.makeObject(XPathCache.java:545) >>> at >>> >>> org.orbeon.oxf.util.SoftReferenceObjectPool.borrowObject(SoftReferenceObjectPool.java:66) >>> at >>> org.orbeon.oxf.util.XPathCache.getXPathExpression(XPathCache.java:414) >>> at >>> org.orbeon.oxf.util.XPathCache.evaluateAsString(XPathCache.java:289) >>> at >>> >>> org.orbeon.oxf.xforms.action.XFormsActionInterpreter.evaluateStringExpression(XFormsActionInterpreter.java:285) >>> at >>> >>> org.orbeon.oxf.xforms.action.actions.XFormsSetvalueAction.execute(XFormsSetvalueAction.scala:43) >>> >>> >>> >>> -- >>> 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=lp >>> >>> OW2 mailing lists service home page: http://www.ow2.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 > OW2 mailing lists service home page: http://www.ow2.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
This issue is now fixed.
-Erik On Fri, Jun 22, 2012 at 11:51 PM, Erik Bruchez <[hidden email]> wrote: > Ian, > > I have entered an issue: > > https://github.com/orbeon/orbeon-forms/issues/331 > > -Erik > > On Tue, Jun 19, 2012 at 12:41 AM, Ian Wright <[hidden email]> wrote: >> Erik, >> You're right it is a namespace problem. >> I've been having to add a lot of namespace declarations to my code to make >> 4.0 work, including xmlns:xs="http://www.w3.org/2001/XMLSchema" >> >> It appears that with v3 namespaces in the attributes, e.g. ref, were >> resolved differently so in v3 if I've got something like >> <xforms:output value="instance('ins-study-entry')/atom:title"/> it used to >> work without the atom namespace defined in the immediate scope whereas now >> it has to be. (at least with the functions you get a log message other XPath >> expressions are just failing to resolve) >> >> I think this might be related to the fact that I split up my forms using >> xi:include - the namespace is, and always has been, declared in the parent >> file but now I'm having to declare it in the included file whereas >> previously I only had to declare the namespaces for elements in the included >> file. >> (The other possibility is that previously the XPath in the attributes >> ignored the namespaces) >> >> (As an aside what's the right way to split up a model like this? - at the >> moment I put div tags in the included file which seems to work but doesn't >> feel right) >> >> Thanks, >> Ian >> >> On 15/06/12 18:15, Erik Bruchez wrote: >>> >>> Ian, >>> >>> I suspect a namespace issue related to xs:string(), but somehow I >>> can't reproduce this. >>> >>> Can you send a full example? >>> >>> -Erik >>> >>> On Fri, Jun 15, 2012 at 12:02 AM, Ian Wright<[hidden email]> >>> wrote: >>>> >>>> >>>> Hi, >>>> >>>> Just making a first attempt to try out 4.0 - m3 and I'm coming across >>>> what is a bit of a strange problem with XPath expression evaluation - >>>> see below for a more detailed description of a couple of examples but >>>> basically I'm getting "Cannot find a matching 1-argument function named >>>> string()" >>>> >>>> I've also had to rewrite some XPath from e.g. >>>> instance('myinstance')/atom:content/myelement to >>>> instance('myinstance')//myelement >>>> >>>> (This all works fine in 3.8 and 3.9) >>>> >>>> Any ideas gratefully received. >>>> >>>> Thanks, >>>> Ian >>>> >>>> <xforms:instance id=ns-upload" xxforms:validation="skip"> >>>> <upload xmlns= >>>> scheme="ttp://www.cggh.org/2010/chassis/scheme/FileTypes" >>>> >>>> term= >>>> label="> >>>> <summary /> >>>> <category /> >>>> <media xsi:type=s:anyURI" filename="" mediatype="" size="" /> >>>> </upload> >>>> </xforms:instance> >>>> >>>> <xforms:bind nodeset=nstance('ins-upload')"> >>>> <xforms:bind nodeset=term" required="true()" /> >>>> <xforms:bind nodeset=label" >>>> relevant=./@term='Other'" >>>> required=./@term='Other'" /> >>>> <xforms:bind nodeset=ategory" >>>> calculate=oncat('scheme="', ../@scheme, '"; >>>> term=uot;', ../@term, '"; label="', ../@label, '";')" /> >>>> >>>> </xforms:bind> >>>> >>>> >>>> 2012-06-14 15:47:31,455 ERROR org.orbeon.oxf.webapp.ProcessorService - >>>> Exception at line 59 of myfile.xml (preparing XPath expression: >>>> expression=s:string((concat('scheme="', ../@scheme, '"; term="', >>>> ../@term, '"; label=, ../@label, '";'))[1])') >>>> >>>> org.orbeon.saxon.trans.XPathException: XPath syntax error at char 100 in >>>> {...abel=, ../@label, '";'))[...}: >>>> >>>> Cannot find a matching 1-argument function named string() >>>> >>>> Elsewhere something similar >>>> >>>> <xforms:setvalue >>>> >>>> ref=nstance('ins-entry')//wizard-pane-to-show" >>>> value=permissions'" /> >>>> >>>> >>>> >>>> 012-06-14 15:37:12,493 WARN >>>> org.orbeon.oxf.xforms.processor.XFormsServer - exception while running >>>> action {message: "line 97 of >>>> oxf:/apps/contributor/includes/wizard-panes/study-terms.xml (preparing >>>> XPath expression: >>>> expression=s:string((xs:string('permissions'))[1])'): XPath syntax >>>> >>>> error at char 35 in {...ng((xs:string('permissions'...}: >>>> Cannot find a matching 1-argument function named string() >>>> XPath syntax error at char 35 in {...ng((xs:string('permissions'...}: >>>> Cannot find a matching 1-argument function named string()", >>>> throwable: "org.orbeon.saxon.trans.XPathException: XPath syntax error at >>>> char 35 in {...ng((xs:string('permissions'...}: >>>> Cannot find a matching 1-argument function named string() >>>> at >>>> org.orbeon.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:149) >>>> ... >>>> at >>>> org.orbeon.saxon.expr.ExpressionParser.parse(ExpressionParser.java:228) >>>> at org.orbeon.saxon.expr.ExpressionTool.make(ExpressionTool.java:73) >>>> at >>>> >>>> org.orbeon.saxon.sxpath.XPathEvaluator.createExpression(XPathEvaluator.java:167) >>>> at >>>> >>>> org.orbeon.oxf.util.XPathCache.createPoolableXPathExpression(XPathCache.java:569) >>>> at >>>> >>>> org.orbeon.oxf.util.XPathCache$XPathCachePoolableObjectFactory.makeObject(XPathCache.java:545) >>>> at >>>> >>>> org.orbeon.oxf.util.SoftReferenceObjectPool.borrowObject(SoftReferenceObjectPool.java:66) >>>> at >>>> org.orbeon.oxf.util.XPathCache.getXPathExpression(XPathCache.java:414) >>>> at >>>> org.orbeon.oxf.util.XPathCache.evaluateAsString(XPathCache.java:289) >>>> at >>>> >>>> org.orbeon.oxf.xforms.action.XFormsActionInterpreter.evaluateStringExpression(XFormsActionInterpreter.java:285) >>>> at >>>> >>>> org.orbeon.oxf.xforms.action.actions.XFormsSetvalueAction.execute(XFormsSetvalueAction.scala:43) >>>> >>>> >>>> >>>> -- >>>> 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=lp >>>> >>>> OW2 mailing lists service home page: http://www.ow2.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 >> OW2 mailing lists service home page: http://www.ow2.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |