W3C home > Mailing lists > Public > www-rdf-interest@w3.org > December 2000

Re: Help! RDF & HTML Compatibility

From: Dan Brickley <Daniel.Brickley@bristol.ac.uk>
Date: Sat, 23 Dec 2000 12:48:27 +0000 (GMT)
To: www-rdf-interest@w3.org
Message-ID: <Pine.GSO.4.21.0012231242210.23688-100000@mail.ilrt.bris.ac.uk>
On 23 Dec 2000, Jonas Liljegren wrote:

> Alberto Ruiz Cristina <aruiz@isys.dia.fi.upm.es> writes:
> 
> > How can I manage to include the RDF section in my web pages, if RDF is
> > XML and conventional browsers don`t support XML documents?
> 
> HTML browsers ignore unknown XML tags.  RDF allows you to put all
> information inside the tags instead of having some of it between the
> tags.  That means that the RDF section will have no effect on the
> rendering of the HTML page.

Yes, the love-it-or-loathe-it syntactic flexibility of RDF stems in
large part from this issue. We needed to have a way of writing RDF
assertions within documents that would be fed to old style HTML
rendering engines, and not have chunks of RDF data spew out into the
human oriented view of the document. Hence the ability to write the same
thing either in attribute form (<Doc author="dan"/>) or element form
(<Doc><author>dan</author></Doc)). Since XML has funny constraints on
the use of attributes (they're not repeatable), we end up with more than one
way of XMLising the same RDF data graph. 

dan
Received on Saturday, 23 December 2000 07:51:38 GMT

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