- From: Dan Connolly <connolly@w3.org>
- Date: Mon, 25 Aug 2003 18:47:10 -0500
- To: Tim Berners-Lee <timbl@w3.org>, Sandro Hawke <sandro@w3.org>
- Cc: www-archive+n3bugs@w3.org, Ryan Lee <ryanlee@w3.org>
I think I found a bug in the datatype handling of sax2rdf.py,v 1.34 2003/08/14 00:00:19 timbl Exp Consider this input: <rdf:RDF xmlns="http://opencyc.sourceforge.net/daml/cyc.daml#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <DayOfWeekType rdf:about="http://opencyc.sourceforge.net/daml/cyc.daml#Sunday"> <dayAbbr xmlns="file:/home/connolly/w3ccvs/WWW/2003/09dc-bos/weekDays#">SU</dayAbbr> <index xmlns="file:/home/connolly/w3ccvs/WWW/2003/09dc-bos/weekDays#" rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">6</index> <nameString>Sunday</nameString> </DayOfWeekType> </rdf:RDF> cwm seems to think Sunday is an integer: $ python ../../2000/10/swap/cwm.py --rdf ../../2000/10/swap/test/syntax/dtdirty.rdf <!-- Processed by Id: cwm.py,v 1.136 2003/08/20 11:50:57 sandro Exp --> <!-- using base file:/home/connolly/w3ccvs/WWW/2000/10/swap/test/syntax/dtdirty.rdf--> <rdf:RDF xmlns="http://opencyc.sourceforge.net/daml/cyc.daml#" xmlns:log="http://www.w3.org/2000/10/swap/log#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <DayOfWeekType rdf:about="http://opencyc.sourceforge.net/daml/cyc.daml#Sunday"> <dayAbbr xmlns="file:/home/connolly/w3ccvs/WWW/2003/09dc-bos/weekDays#">SU</dayAbbr> <index xmlns="file:/home/connolly/w3ccvs/WWW/2003/09dc-bos/weekDays#" rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">6</index> <nameString rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">Sunday</nameString> </DayOfWeekType> </rdf:RDF> -- Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Monday, 25 August 2003 19:47:12 UTC