XPath error

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

XPath error

Richard Braman
Message

XPath syntax error at char 76 in {...SEQ0380,form/f1040ez/SEQ055...}: Function sum must have no more than 2 arguments

The function sum I see can have as many arguments as needed.  Is this a different sum that whats specificed in XPath?

 

Richard Braman
[hidden email]
561.748.4002 (voice)

http://www.taxcodesoftware.org
Free Open Source Tax Software

 


--
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: XPath error

Erik Bruchez
Administrator
From:

   http://www.w3.org/TR/xpath#function-sum

   Function: number sum(node-set)

The function has exactly one argument, which is a node-set.

-Erik

Richard Braman wrote:

> XPath syntax error at char 76 in {...SEQ0380,form/f1040ez/SEQ055...}:
> Function sum must have no more than 2 arguments
>
> The function sum I see can have as many arguments as needed.  Is this a
> different sum that whats specificed in XPath?
>
>  
>
> Richard Braman
> mailto:[hidden email]
> 561.748.4002 (voice)
>
> http://www.taxcodesoftware.org <http://www.taxcodesoftware.org/>
> Free Open Source Tax Software



--
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
|

web services documentation errors

David Sinclair
In reply to this post by Richard Braman
Hi,

I was just looking at the web services documentation as we are looking
at exposing some services using Orbeon.  In the course of playing I
spotted a couple of mistakes in the following doc:

http://www.orbeon.com/ops/doc/integration-webservices

In the code snipet under the  Exposing Web Services section the
following line

  <p:input name="config" href="aggregate('config', aggregate('url',
#request#xpointer(string(/reqest/body)))"/>

should be:
  <p:input name="config" href="aggregate('config', aggregate('url',
#request#xpointer(string(/request/body))))"/>

(extra closing bracket and request is mispelled).  

Dave



--
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: web services documentation errors

Erik Bruchez
Administrator
Thanks David, this is now fixed in the CVS.

-Erik

David Sinclair wrote:

> Hi,
>
> I was just looking at the web services documentation as we are looking
> at exposing some services using Orbeon.  In the course of playing I
> spotted a couple of mistakes in the following doc:
>
> http://www.orbeon.com/ops/doc/integration-webservices
>
> In the code snipet under the  Exposing Web Services section the
> following line
>
>  <p:input name="config" href="aggregate('config', aggregate('url',
> #request#xpointer(string(/reqest/body)))"/>
>
> should be:
>  <p:input name="config" href="aggregate('config', aggregate('url',
> #request#xpointer(string(/request/body))))"/>
>
> (extra closing bracket and request is mispelled).
> Dave



--
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