OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] RDDL/RDF - no RDF tax?

[ Lists Home | Date Index | Thread Index ]

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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS