W3C home > Mailing lists > Public > www-rdf-validator@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:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 20:16:55 UTC