Re: "Creating Apps with Mozilla," with RDF chapter, online

On Mon, 2002-10-21 at 05:33, Patrick Stickler wrote:
[...]
> A literal's value can be read but not written. To change the value of a literal, make a new literal and set it properly:
> 
> aValue = literal.Value;
> 
> Note that aValue could be a string or an integer in this case.
> ]
> 
> I guess someone ought to let the Mozilla folks that their value-based
> semantics conflicts with the RDF MT...

How so? They're just grabbing strings and converting to integers, no?
i.e. the implementation can't distinguish 10 from "10" can it?

Just because an API offers to convert strings to literals doesn't
mean it's untidy.

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/

Received on Monday, 21 October 2002 08:38:54 UTC