W3C home > Mailing lists > Public > www-rdf-logic@w3.org > August 2001

Re: XML Serialization

From: Sandro Hawke <sandro@w3.org>
Date: Thu, 30 Aug 2001 21:13:42 -0400
Message-Id: <200108310113.f7V1DgU04958@wadimousa.hawke.org>
To: Dan Brickley <danbri@w3.org>
cc: pat hayes <phayes@ai.uwf.edu>, www-rdf-logic@w3.org

> Probably the main reason for XMLizing all this is so that RDF could be
> mixed freely with other content, eg. embedded in SVG graphics, XHTML etc.
> http://www.w3.org/TR/SVG-access/ and so it could embed fragments of other
> markup languages (eg. MathML).

Once you get into even vaguely reasonable languages, any kind of
language can be embedded in any other kind of language.  Even HTML can
be tricked to include Javascript, and Javascript carries fragrments of
HTML all the time.  

I don't see how using angle-brackets for sneaking RDF into HTML is
significantly better.
   
   <rdf data="...n3 expression..." />

would have been fine, too.

Has anyone really found RDF's angle-bracket syntax allowing it to be
embedded in HTML/XML structures to be useful?   

In the other direction, of course it's trivial to include XML or
whatever in an n3 literal, where it belongs.

    -- sandro
Received on Thursday, 30 August 2001 21:13:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:40 GMT