W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > October 2008

Re: Static error XS0045

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 31 Oct 2008 09:51:18 -0400
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2iqr8hnzd.fsf@nwalsh.com>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:25 UTC