W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > July 2001

Re: rdfms-literal-is-xml-structure: Why?

From: Art Barstow <barstow@w3.org>
Date: Fri, 13 Jul 2001 17:17:31 -0400
To: Brian McBride <bwm@hplb.hpl.hp.com>
Cc: RDF Core <w3c-rdfcore-wg@w3.org>
Message-ID: <20010713171731.A21072@w3.org>
On Thu, Jul 12, 2001 at 05:51:57PM +0100, Brian McBride wrote:
> What I think is needed here is that an RDF parser, when it encounters a
> parseType="Literal" would need to encode any active namespace prefix's
> in the literal representation, e.g.
> 
>   <rdf:Description xmlns:foo="http://foo">
>     <foo:property rdf:parseType="Literal">
>       <foo:bar>foobar</foo:bar>
>     </foo:property>
>   </rdf:Description>
> 
> its not enough for the literal just to represent "<foo:bar>foobar</foo:bar>".
> It must also represent xmlns:foo="http://foo".

Then should the author use:

   <rdf:Description xmlns:foo="http://foo">
     <foo:property rdf:parseType="Literal">
       <foo2:bar xmlns:foo2="http://foo">foobar</foo2:bar>
     </foo:property>
   </rdf:Description>
Received on Friday, 13 July 2001 17:18:34 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:38:10 EDT