[Home] [By Thread] [By Date] [Recent Entries]


Uche Ogbuji wrote:


> >
> > A processor would only need to know where to look in the RDDL document
for
> > the XML to be parsed as RDF. I've suggested an attribute on the top
element:
> >
> > <html rddl:annotation-ns="http://www.w3.org/1999/xhtml">
> >
> > which would tell a parser to ignore elements in the XHTML namespace, and
> > start parsing as RDF elements in any other namespace e.g.
<rddl:resource>.
> >
> > An *actual* RDF document would look like:
> >
> > <rdf:RDF>
> >     <rddl:resource>...
> >     <rddl:resource>...
> > </rdf:RDF>
>
> Wow.  You took a strange left turn on me.  The "<rdf:RDF>" wrapper is
optional
> in the RDF M&S 1.0 grammar, so a compliant RDF parser can look at your
> rddl:resource as a simple typed node that defines an object.
>
> So the version you posted here is indeed "real" RDF.
>

Fair enough. I was just considering how an RDF processor might 'find' RDF
within some HTML, or assuming that there was a document with several
<rddl:resource>s in it -- but in any case those are packaging details.

Jonathan


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member