W3C home > Mailing lists > Public > public-webont-comments@w3.org > August 2004

OWLX-to-RDF stylesheet

From: Simon Morris <simonm@iptech.demon.co.uk>
Date: Mon, 09 Aug 2004 18:05:26 +0100
Message-Id: <5.1.0.14.1.20040809180207.00ad5b18@pop3.demon.co.uk>
To: public-webont-comments@w3.org

The OWLX spec says that the "property" attribute of an ObjectPropertyValue 
element can be any URI. But the OWLX-to-RDF stylesheet seems to require it 
to be an NCName - this OWLX file makes it fail in XMLSPY, for example:

<?xml version="1.0" encoding="UTF-8"?>
<swrlx:Ontology xmlns:owlx="http://www.w3.org/2003/05/owl-xml">
<owlx:Individual owlx:name="http://example.org/ontology#Individual">	
	<owlx:ObjectPropertyValue 
owlx:property="http://example.org/ontology#Property">
		<owlx:Individual>
			<owlx:type owlx:name="http://example.org/ontology#Individual2"/>
		</owlx:Individual>
	</owlx:ObjectPropertyValue>
</owlx:Individual>
</swrlx:Ontology>

Is there a workaround for this, other than to set the "prefix" stylesheet 
parameter of the stylesheet, and require this attribute to be an NCName 
(and likewise for DataPropertyValue)? Or have I misunderstood something?

Thanks,

Simon Morris
Software Developer
Received on Monday, 9 August 2004 17:10:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:16:01 UTC