- From: Jeremy Carroll <jjc@hpl.hp.com>
- Date: Mon, 2 Sep 2002 20:14:58 +0200
- To: w3c-rdfcore-wg@w3.org
>[Patrick said, at the telecon, "xml:lang infects everything" as an >example of this view] >There should be no "infection" >of new types by stuff like language properties, The unicode string in an XML document which gives the lexical form of a datatype literal may well be in scope of an xml:lang declaration. But the current proposals expect the parser to know whether it is parsing an old-style literal (in which case xml:lang is significant) or a new style literal, in which case it is not. Thus <a:prop xml:lang="en" rdf:ltype="&xsd;string">banana</a:prop> would deliver the value <xsd:string>"banana" and the language declaration has no effect. (If you want an xsd:string, you don't get a langstring. Jeremy
Received on Monday, 2 September 2002 14:16:30 UTC