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

[closed] Re: Change p:system-property to return untyped atomic

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 17 Dec 2009 10:37:07 -0500
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2r5qtfw7w.fsf@nwalsh.com>
Overtaken by events, there's now a p:version-available function.

Norman Walsh <ndw@nwalsh.com> writes:
> Folks,
>
> I propose that we change the signature of p:system-property() so that
> it returns an untyped atomic in an XPath 2.0 processor.
>
> Otherwise, "p:system-property('p:version') > 1.0" returns a type error
> (you can't compare a string to a decimal).

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | I maintain there is much more wonder in
http://nwalsh.com/            | science than in pseudoscience. And in
                              | addition, to whatever measure this term
                              | has any meaning, science has the
                              | additional virtue, and it is not an
                              | inconsiderable one, of being
                              | true.--Carl Sagan

Received on Thursday, 17 December 2009 15:37:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 17 December 2009 15:37:41 GMT