W3C home > Mailing lists > Public > public-rif-comments@w3.org > October 2009

Re: Jim Melton: XML Query WG review of RIF Datatypes and Built-Ins 1.0

From: Jim Melton <jim.melton@oracle.com>
Date: Fri, 02 Oct 2009 12:40:22 -0600
Message-Id: <7.0.1.0.2.20091002123811.0bc51730@oracle.com>
To: Chris Welty <cawelty@gmail.com>
Cc: Jim Melton <jim.melton@oracle.com>,Sandro Hawke <sandro@w3.org>, "public-rif-comments@w3.org" <public-rif-comments@w3.org>, "w3c-xsl-query@w3.org" <w3c-xsl-query@w3.org>
Chris,

As you will see in my response to Sandro, my real concern is 
illustrated by "values" such as "hello"^^xs:integer.  If both the 
is-string and is-literal-not-string functions either return false or 
report a parse/syntax/something error, then I'm satisfied.

I don't recall right offhand what your isLiteral() function returns 
in cases such as "hello"^^xs:integer", so I can't quickly answer 
"great" or "doesn't help".

Thanks,
    Jim

At 10/1/2009 06:10 PM, Chris Welty wrote:

>Jim,
>
>Regarding the naming, does this help:
>
>is-literal-not-string (x) is defined to be
>isLiteral(x) && !isString(x)
>
>Honestly I can't think of a more informative name for it.
>
>-Chris (sent from my iPhone)

========================================================================
Jim Melton --- Editor of ISO/IEC 9075-* (SQL)     Phone: +1.801.942.0144
   Chair, W3C XML Query WG; XQX (etc.) editor       Fax : +1.801.942.3345
Oracle Corporation        Oracle Email: jim dot melton at oracle dot com
1930 Viscounti Drive      Standards email: jim dot melton at acm dot org
Sandy, UT 84093-1063 USA          Personal email: jim at melton dot name
========================================================================
=  Facts are facts.   But any opinions expressed are the opinions      =
=  only of myself and may or may not reflect the opinions of anybody   =
=  else with whom I may or may not have discussed the issues at hand.  =
========================================================================  
Received on Friday, 2 October 2009 18:46:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 2 October 2009 18:46:23 GMT