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

Re: OWLX-to-RDF stylesheet

From: Simon Morris <simonm@iptech.demon.co.uk>
Date: Tue, 10 Aug 2004 12:11:15 +0100
Message-Id: <>
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>
>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?

A version of the code used in the defobject template seems to work OK.

Received on Tuesday, 10 August 2004 11:11:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:09:30 UTC