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

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 UTC