W3C home > Mailing lists > Public > public-swbp-wg@w3.org > June 2006

comment: time zone file doesn't parse as RDF/XML

From: Dan Connolly <connolly@w3.org>
Date: Thu, 29 Jun 2006 21:19:50 -0500
To: public-swbp-wg@w3.org
Message-Id: <1151633990.1191.88.camel@dirk.w3.org>

In this world timezone file...

http://www.isi.edu/~pan/damltime/timezone-world.owl

I see ...
    <tzont:DLSstartDate rdf:parseType="Literal"
rdf:datatype="&dte;compDate">
      <dte:year>2003</dte:year>
      <dte:month>04</dte:month>
      <dte:day>06</dte:day>
    </tzont:DLSstartDate>

I'm not sure what you're trying to say there;
parseType and datatype are exclusive. (parseType="Literal"
actually sets the datatype to XML).


You can check this with the RDF validator...
http://www.w3.org/RDF/Validator/

Error: {E201} Syntax error when processing attribute rdf:datatype. In
this context, the following attributes are not allowed together:
rdf:parseType='Literal', rdf:datatype[Line = 242, Column = 78]
Error: {E201} Syntax error when processing attribute rdf:datatype. In
this context, the following attributes are not allowed together:
rdf:parseType='Literal', rdf:datatype[Line = 247, Column = 76]
Error: {E201} Syntax error when processing attribute rdf:datatype. In
this context, the following attributes are not allowed together:
rdf:parseType='Literal', rdf:datatype[Line = 256, Column = 78]
...


-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Friday, 30 June 2006 02:20:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:17:22 GMT