W3C home > Mailing lists > Public > public-owl-wg@w3.org > November 2007

Re: unnamed datatypes in RDF/XML

From: Bijan Parsia <bparsia@cs.man.ac.uk>
Date: Mon, 19 Nov 2007 23:58:12 +0000
Message-Id: <5D835C78-9EE7-49D0-8B1E-594456FB2468@cs.man.ac.uk>
To: public-owl-wg <public-owl-wg@w3.org>

Thanks Jeremy.

Exclusive Canonicalization, eh? That sucks :(

Alternatives:

	Could define a new datatype XmlFunLiteral. Would require CDataing or  
escaping in RDF/XML. But would allow for easy other datatypes. It  
could have a wrapper element with a attribute datatypeFormalism=""  
which would allow us to use other formalisms than XML Schema for  
defining types.

We could define a wrapper that declared all hidden prefixes in a  
custom xml syntax.

	 <owl:someValuesFrom rdf:parseType="Literal">
	   <hacky:WorkAroundWrapper xmlns:hacky="...">
	   <hacky:getTheDatatypePrefixesInBaby>
              <my:aHackedElementWhoCares xmlns:my="..."/>
	</>
            <xs:simpleType>
             <xs:restriction base="my:precision3"
                xmlns:my="http://example.org/myDatatypes">
              <xs:minInclusive value="305.200" />
              <xs:maxInclusive value="310.199" />
             </xs:restriction>
            </xs:simpleType>
</>

This would reduce to just the wrapper if you don't have any funky  
hidden prefixes.

Cheers,
Bijan.
Received on Tuesday, 20 November 2007 00:21:09 GMT

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