Re: Comments on RDF/A Syntax (Editor's Draft 27 October 2005)

On Nov 28, 2005, at 7:44 AM, Mark Birbeck wrote:
[...]
> So if you place RDF/XML into another document--say XHTML or SVG--an 
> RDF/XML
> parser should be able to pick it out. For example, in SVG you can embed
> RDF/XML in the metadata element, and an RDF/XML parser should be able 
> to
> process that, even though it doesn't 'understand' the SVG that 
> surrounds
> this data.

Not in all cases. The surrounding XML could quote or negate the 
included RDF/XML.

Parsers can only do this "peeking" when they've got some particular 
reason
(e.g. a command-line flag) to know that embedded RDF/XML is to be taken
literally.

[[
The W3C TAG issue RDFinXHTML-35: Syntax and semantics for embedding RDF 
in XHTML concerns this freedom in many other cases, as well. A naive 
approach is to say that RDF/XML has its usual meaning wherever it 
appears in any XML document. But that would conflict with the existing 
practice using RDF/XML in XSLT templates, not to mention any future 
practice of quoting, quantifying, refuting, or commenting on embedded 
RDF expressions.
]]
  -- http://www.w3.org/2004/01/rdxh/specbg.html
-> http://www.w3.org/2001/tag/issues.html?type=1#RDFinXHTML-35


-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/

Received on Monday, 28 November 2005 14:08:01 UTC