xsl view doesn't support extenal function?

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

xsl view doesn't support extenal function?

James Gu
I am using xsl file as view in page-flow.xml. There is external function in my xsl file and it doesn't work. Is there any place I can change it to unsafe-xslt?

Error information:
Cannot find a matching 1-argument function named {http://orbeon.org/oxf/xml/xforms}instance(). Note: external function calls have been disabled
Reply | Threaded
Open this post in threaded view
|

Re: xsl view doesn't support extenal function?

Hank Ratzesberger

James,

You specify the unsafe-xslt pipleline

<p:processor name="oxf:unsafe-xslt">
......

Regards,
Hank


On Oct 13, 2008, at 2:57 AM, JamesGu wrote:

>
> I am using xsl file as view in page-flow.xml. There is external  
> function in
> my xsl file and it doesn't work. Is there any place I can change it to
> unsafe-xslt?
>
> Error information:
> Cannot find a matching 1-argument function named
> {http://orbeon.org/oxf/xml/xforms}instance(). Note: external  
> function calls
> have been disabled
> --
> View this message in context: <a href="http://www.nabble.com/xsl-view-doesn%">http://www.nabble.com/xsl-view-doesn% 
> 27t-support-extenal-function--tp19951792p19951792.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> 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
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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: Re: xsl view doesn't support extenal function?

Erik Bruchez
Administrator
In that case James should use an XPL file as a view, not just an XSLT  
file.

-Erik

On Oct 14, 2008, at 10:10 AM, Hank Ratzesberger wrote:

>
> James,
>
> You specify the unsafe-xslt pipleline
>
> <p:processor name="oxf:unsafe-xslt">
> ......
>
> Regards,
> Hank
>
>
> On Oct 13, 2008, at 2:57 AM, JamesGu wrote:
>
>>
>> I am using xsl file as view in page-flow.xml. There is external  
>> function in
>> my xsl file and it doesn't work. Is there any place I can change it  
>> to
>> unsafe-xslt?
>>
>> Error information:
>> Cannot find a matching 1-argument function named
>> {http://orbeon.org/oxf/xml/xforms}instance(). Note: external  
>> function calls
>> have been disabled
>> --
>> View this message in context: http://www.nabble.com/xsl-view-doesn%27t-support-extenal-function--tp19951792p19951792.html
>> Sent from the ObjectWeb OPS - Users mailing list archive at  
>> Nabble.com.
>>
>>
>> --
>> 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
>
> Hank Ratzesberger
> NEES@UCSB
> Institute for Crustal Studies,
> University of California, Santa Barbara
> 805-893-8042
>
>
>
>
>
>
> --
> 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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: xsl view doesn't support extenal function?

James Gu
In reply to this post by Hank Ratzesberger
It is not in my xpl file. The xsl file in defined in page-flow.xml. I am not sure where orbeon will do this xsl translate.

<page path-info="/test" view="test.xsl"/>
Reply | Threaded
Open this post in threaded view
|

Re: Re: xsl view doesn't support extenal function?

Erik Bruchez
Administrator
Yes what I am saying is this: replace test.xsl with test.xpl, and  
write a pipeline that calls oxf:unsafe-xslt.

-Erik

On Oct 14, 2008, at 11:32 PM, JamesGu wrote:

>
> It is not in my xpl file. The xsl file in defined in page-flow.xml.  
> I am not
> sure where orbeon will do this xsl translate.
>
> <page path-info="/test" view="test.xsl"/>
>
> --
> View this message in context: http://www.nabble.com/xsl-view-doesn%27t-support-extenal-function--tp19951792p19987592.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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: Re: xsl view doesn't support extenal function?

James Gu
Erik,

I understand. Thank you very much!

James