W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > November 2001

Issue rdfms-rdf-names-use

From: Brian McBride <bwm@hplb.hpl.hp.com>
Date: Wed, 21 Nov 2001 19:32:03 +0000
Message-Id: <5.1.0.14.0.20011121192356.05fe3610@0-mail-1.hpl.hp.com>
To: w3c-rdfcore-wg@w3.org
I got the following example from Roland Schwaenzl


Apparently, they use the fact that an RDF parser is required to turn of 
parsing when it encounters a name in the RDF namespace it does 
recognise.  They example he sent me was:



<?xml version="1.0" encoding="UTF-8"?>
<!--RDF Processing not yet turned on-->


<head><title>something</title></head>
<body>
<h4>Preprint Series</h4>

<!--more html-->

<h4>MSC2000</h4>

<!--more html-->

<!--now RDF processing turned on, html ignoring RDF mark up -->

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
          xmlns:rdfs="http://www.w3.org/1999/02/22-rdf-schema-ns#"
          xmlns:dc="http://purl.org/dc/elements/1.0/"
          xmlns:dcq="http://purl.org/dc/terms/"
          xmlns:my="http://tunichts.org/">


<rdf:Description dc:subject="foo">
<dcq:abstract>
<rdf:Description dc:language="en">
<rdf:value rdf:parseType="Literal">
Lengthy html formatted text
</rdf:value>
</rdf:Description>
</dcq:abstract>
<my:notes>
<rdf:Description dc:language="de">

<!-- now turn off RDF processing -->

<rdf:html><p><b>Notes</b></p></rdf:html> <!--@@@@@@@@@@@@@@@@@@ -->

<!-- now RDF Processing resumes -->
<rdf:value>Oefter mal was Neues!!</rdf:value>
</rdf:Description>
</my:notes>
</rdf:Description>
</rdf:RDF>
<!-- RDF processing finally stopped-->

<!--more html-->

</body>
</html>
Received on Wednesday, 21 November 2001 14:32:13 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:42:45 EDT