Need help calling encode() function

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

Need help calling encode() function

mfpaschal
Hi Folks,

I am trying to call the encode() function as defined in the xpath spec ( see   http://www.w3.org/TR/2006/WD-xforms11-20061103/#fn-encode).  

I call: encode(some-value-to-be-encoded,'hex'). I get: "Unknown system function encode()".

I also call digest() which works. I have this in the namespace declaration:


Any ideas?  

Thanks,
Mike.


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Need help calling encode() function

Erik Bruchez
Administrator
Mike,

There is no encode() function in XForms 1.1. You are looking at an
obsolete draft of XForms. Look at version 1.1 instead:

http://www.w3.org/TR/xforms11/

-Erik

On Tue, May 31, 2011 at 6:28 PM,  <[hidden email]> wrote:

> Hi Folks,
>
> I am trying to call the encode() function as defined in the xpath spec (
> see   http://www.w3.org/TR/2006/WD-xforms11-20061103/#fn-encode).
> I call: encode(some-value-to-be-encoded,'hex'). I get: "Unknown system
> function encode()".
> I also call digest() which works. I have this in the namespace declaration:
> xmlns:xforms="http://www.w3.org/2002/xforms
> Any ideas?
> Thanks,
> Mike.
>
> --
> 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