W3C home > Mailing lists > Public > www-archive@w3.org > March 2002

RDF Validator question [Was: Re: Form posted from Microsoft Internet Explorer.]

From: <Art.Barstow@nokia.com>
Date: Mon, 11 Mar 2002 12:39:01 -0500
Message-ID: <5C76D29CD0FA3143896D08BB1743296A2BAFDD@bsebe001.NOE.Nokia.com>
To: <garret@globalmentor.com>
Cc: <www-rdf-validator@w3.org>, <www-archive@w3.org>
Hi,

Regarding your question to the RDF validator list:

 http://lists.w3.org/Archives/Public/www-rdf-validator/2002Mar/0369.html

the problem with the RDF is that the content within the rdfs:comment 
property contains XML markup (e.g. <cite> and <a> tags).  This is illegal
content for a propertyElt (rule 6.12):

 http://www.w3.org/TR/REC-rdf-syntax/#grammar

One option is to escape the XML meta characters (e.g. use &lt;cite).

Another option is to change the rdfs:comment property to something like:

 <foo:bar rdf:parseType="Literal">
   ...
   <cite>...</cite>
   <a ....
 </foo:bar>

Regards,

Art Barstow
---
Received on Monday, 11 March 2002 12:39:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:16 GMT