W3C home > Mailing lists > Public > public-cwm-talk@w3.org > October to December 2004

CWM has trouble parsing its own output

From: Matt Stillerman <matt@atc-nycorp.com>
Date: Fri, 19 Nov 2004 14:19:03 -0500
Message-ID: <60D45469A1AAD311A04C009027B6BF68F077DF@server20.inside.oracorp.com>
To: "'public-cwm-talk@w3.org'" <public-cwm-talk@w3.org>

Hi,

I've quoted a short xml-rdf file below.  If this file is converted to n3
with cwm, the output cannot be parsed by cwm.  The difficulty is the colon
in "http://iec.ch/TC57/1999/rdf-schema-extensions-19990926#M:1".  Cwm
converts this into something like this:

  cims:M:1

and has trouble with the double colon.

Matt

   +----------------------------------+
   | Matt Stillerman                  |
   | ATC-NY (Odyssey Research Assoc.) |
   | 33 Thornwood Drive, Suite 500    |
   | Ithaca, NY 14850                 |
   | (607) 266-7106                   |
   | matt@atc-nycorp.com              |
   | http://www.atc-nycorp.com        |
   +----------------------------------+

----------------------------------- cut here
------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF 
	 xmlns:xp="http://au.com.Langdale/2000/Xpetal" 
	
xmlns:cims="http://iec.ch/TC57/1999/rdf-schema-extensions-19990926#" 
	 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
	 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">

<rdf:Property
rdf:about="http://iec.ch/TC57/2003/CIM-schema-cim10#AirCompressor.DrivenBy_C
ombustionTurbine">
<rdfs:label xml:lang="en">DrivenBy_CombustionTurbine</rdfs:label>
<rdfs:comment>A CAES air compressor is driven by combustion
turbine</rdfs:comment>
<cims:profile>Nerc</cims:profile>
<rdfs:domain
rdf:resource="http://iec.ch/TC57/2003/CIM-schema-cim10#AirCompressor"/>
<rdfs:range
rdf:resource="http://iec.ch/TC57/2003/CIM-schema-cim10#CombustionTurbine"/>
<cims:multiplicity
rdf:resource="http://iec.ch/TC57/1999/rdf-schema-extensions-19990926#M:1"/>
<cims:inverseRoleName
rdf:resource="http://iec.ch/TC57/2003/CIM-schema-cim10#CombustionTurbine.Dri
ves_AirCompressor"/>
</rdf:Property>

</rdf:RDF>
Received on Friday, 19 November 2004 19:19:13 GMT

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