Re: OWLX-to-RDF stylesheet

>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?

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

S.

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