Re: Static error XS0045

Toman_Vojtech@emc.com writes:
> The description for static error XS0045 says: "It is a static error if
> any string that must be interpreted as a QName uses a prefix for which
> there is not a namespace binding."
>
> Just wondering: does this really have be a static error? Detecting the
> error would require the processor to statically analyze the XPath
> expressions and check that all prefixes used in them are bound.

I believe that's intended for attributes who's value consists of a
single QName, not for XPath expessions in general.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Nothing will ever be attempted, if all
http://nwalsh.com/            | possible objections must be first
                              | overcome.--Dr. Johnson

Received on Friday, 31 October 2008 13:52:04 UTC