uuid:createPseudoUUID error

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

uuid:createPseudoUUID error

Taras Bahnyuk

Trying to generate an ID for attachment I use the standard code:

<xforms:setvalue ref="/form/attachmentList/attachment/@id" xsl:version="2.0" xmlns:uuid="java:org.orbeon.oxf.util.UUIDUtils">
     
<xsl:value-of select="uuid:createPseudoUUID()"/>
</xforms:setvalue>


And get non standard error:


XPath syntax error at char 23 on line 0 in {uuid:createPseudoUUID()}:     Cannot find a matching 0-argument function named {java:org.orbeon.oxf.util.UUIDUtils}createPseudoUUID()

What could this mean?

Best regards.
-Taras


--
The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.



--
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: uuid:createPseudoUUID error

Alessandro  Vernet
Administrator
Hi Tatras,

Most likely, you are getting this error because to be able to call
Java code from XSLT, you need to use oxf:unsafe-xslt instead of
oxf:xslt. See the note about this in the 3.0 changes:

http://www.orbeon.com/ops/doc/home-changes-30#xslt

Alex

On 3/3/06, Taras Bahnyuk <[hidden email]> wrote:

>
>
> Trying to generate an ID for attachment I use the standard code:
>
> <xforms:setvalue ref="/form/attachmentList/attachment/@id"
> xsl:version="2.0" xmlns:uuid="java:org.orbeon.oxf.util.UUIDUtils">
>       <xsl:value-of select="uuid:createPseudoUUID()"/>
> </xforms:setvalue>
>
> And get non standard error:
>
>
> XPath syntax error at char 23 on line 0 in {uuid:createPseudoUUID()}:
> Cannot find a matching 0-argument function named
> {java:org.orbeon.oxf.util.UUIDUtils}createPseudoUUID()
>
> What could this mean?
>
> Best regards.
> -Taras
>
>
> ________________________________
>  --
>  The information contained in this communication and any attachments is
> confidential and may be privileged, and is for the sole use of the intended
> recipient(s). Any unauthorized review, use, disclosure or distribution is
> prohibited. If you are not the intended recipient, please notify the sender
> immediately by replying to this message and destroy all copies of this
> message and any attachments. ASML is neither liable for the proper and
> complete transmission of the information contained in this communication,
> nor for any delay in its receipt.
>
>
>
> --
> 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
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: uuid:createPseudoUUID error

Taras Bahnyuk
In reply to this post by Taras Bahnyuk
 Alex,

Thank you very much.
This was the one.

-Taras

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of
Alessandro Vernet
Sent: vrijdag 3 maart 2006 21:02
To: [hidden email]
Subject: Re: [ops-users] uuid:createPseudoUUID error

Hi Tatras,

Most likely, you are getting this error because to be able to call
Java code from XSLT, you need to use oxf:unsafe-xslt instead of
oxf:xslt. See the note about this in the 3.0 changes:

http://www.orbeon.com/ops/doc/home-changes-30#xslt

Alex


--
The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.



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