W3C home > Mailing lists > Public > www-rdf-validator@w3.org > September 2003

Form posted from Microsoft Internet Explorer.

From: Houghton,Andrew <houghtoa@oclc.org>
Date: Wed, 10 Sep 2003 11:58:45 -0400
Message-ID: <90D12689EF7A0543AB11426D75D6ABC50BFF8774@oa4-server.oa.oclc.org>
To: "'www-rdf-validator@w3.org'" <www-rdf-validator@w3.org>

report=While the validator correctly points out that property attributes
cannot occur under the document element, I question the usefulness of
considering the attributes on the rdf:RDF document element as being
properties.  In this case, it seems unreasonable to consider attributes such
as xml:lang, xml:space, xml:base, xsi:noNamespaceSchemaLocation, and
xsi:schemaLocation to be RDF properties.  You may need to define these
attributes on the document element, especially when you have ISO 9000
requirements that specify that all document must specify a schema for its
grammar.  While RDF in general cannot be represented by XML Schema, a
particular RDF application XML grammar can providing you limit yourself to a
subset of RDF.  It's unclear to me after reading 500+ pages of RDF
specifications whether this is a problem with the validator or an oversight
with RDF or the RDF/XML serialization.
RDF=<?xml version="1.0">
<?xml version="1.0"?>
<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.w3.org/1999/02/22-rdf-syntax-ns#
http://schemas.my.org/example.xsd"
>
  <rdf:Description rdf:about="http://www.w3.org/">
    <dc:title>World Wide Web Consortium</dc:title> 
  </rdf:Description>
</rdf:RDF>
Received on Wednesday, 10 September 2003 11:58:48 UTC

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