Thanks, I've now fixed this and added a test case.
I think all my test cases were actually evaluating the function at
compile-time - which raises an interesting question as to whether that's
a good idea. I never evaluate document() at compile time even if the
arguments are known - it's the only function for which that is true.
Michael Kay
Software AG
home: Michael.H.Kay@...
work: Michael.Kay@...
> -----Original Message-----
> From: saxon-help-admin@...
> [mailto:saxon-help-admin@...] On Behalf Of
> Mario Jeckle
> Sent: 10 September 2002 15:10
> To: saxon-help@...
> Subject: [saxon] Problem with unparsed-text function
>
>
> When passing a variable containing the URI identifying a file
> to the unparsed-text function Saxon v7.2 (JDK 1.4.1-rc) fails
> with a ClassCastException.
>
> Is it intended to forbid the supply of variables to the
> unparsed-text function?
>
> Mario
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same
> old cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1> &refcode1=vs3390
>
>
> _______________________________________________
> saxon-help mailing list
> saxon-help@...
> https://lists.sourceforge.net/lists/listinfo/s> axon-help
>
|