XSL parameter type problem

Having trouble installing Oxygen? Got a bug to report? Post it all here.
MikeTheSpike
Posts: 3
Joined: Fri Jun 19, 2009 10:05 am

XSL parameter type problem

Post by MikeTheSpike »

Hi all,
I experience different behaviour when running an XSL transform per
transformation scenario and in the debugger.
I've defined a stylesheet parameter with type attribute as="xs:anyURI".
No problem when I use the transformation scenario. Running it in the
debugger, I get
"Required type is xs:anyURI; supplied value has type xs:string"

I use oXygen 10.2, problem occurs with both Saxon B & SA 9.1.0.6.

Thanks in advance,

Michael
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: XSL parameter type problem

Post by sorin_ristache »

Hello,

There is a problem with xs:anyURI parameters in the debugger. For avoiding the problem until we fix it please declare the parameter as xs:string and convert it to xs:anyURI when using the value of the parameter with the expression:

Code: Select all

xs:anyURI($param)
where $param is the xs:string param which you want to use as an xs:anyURI.


Thank you for your report,
Sorin
Radu
Posts: 9439
Joined: Fri Jul 09, 2004 5:18 pm

Re: XSL parameter type problem

Post by Radu »

Hi Mike,

A fix will be available in Oxygen 10.3 (couple of weeks).

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply