Re: OWL/XML schema & example

Hi Antoine,

On 22 jul 2009, at 18:52, Antoine Zimmermann wrote:

> Bijan,
>
> Bijan Parsia wrote:
>> On 22 Jul 2009, at 17:01, Antoine Zimmermann wrote:
>>> Dear working group fellows,
>>>
>>> I've been pointed to an issue wrt the XML schema of the OWL/XML  
>>> syntax.
>>> First, the XSD file is enclosed by <pre> ... </pre> which breaks  
>>> its validity.
>> Yeah, a known problem.
>>> Second, the example XML ontology in the spec [2] is not validated  
>>> against the schema (without <pre> ... </pre>).
>> It is valid, but there's another issue with the "live from wiki"  
>> version...it entities all the ampersand, e.g.,
>>    <!ENTITY PN_CHARS_U    "&amp;PN_CHARS_BASE;|_">
>> Which, obviously, breaks that use of entities.
>
> Thanks. Why can't we just edit the file at w3.org? The problem seems  
> very easy to fix.

It is automatically generated from the wiki page. There was some going  
back-and-forth between Bijan and Sandro about this... as Bijan said..  
it is on the list.

>> If you cut and paste the text of the schema as it's rendered in a  
>> browser, it works fine and it validates the example.
>> For your convenience, I've put a clean, working copy of the schema  
>> here:
>>    http://www.cs.man.ac.uk/~bparsia/owl/owlxml.xsd
>> and here's the spec example with schemaLocation pointing to the  
>> clean schema:
>>    http://www.cs.man.ac.uk/~bparsia/owl/specExample.xml
>
> It works, but one validator [1] is still not happy with you input.

Hm... since that's a .NET validator, my guess is that it uses the  
MSXML library... which is not fully standards compliant (to the best  
of my knowledge)

I'd rather believe the output of Xerces.

-Rinke

>
>
>
> [1] http://www.xmlme.com/Validator.aspx
>
> Regards,
> -- 
> Antoine Zimmermann
> Post-doctoral researcher at:
> Digital Enterprise Research Institute
> National University of Ireland, Galway
> IDA Business Park
> Lower Dangan
> Galway, Ireland
> antoine.zimmermann@deri.org
> http://vmgal34.deri.ie/~antzim/



---
Drs Rinke Hoekstra

Leibniz Center for Law      |  AI Department
Faculty of Law              |  Faculty of Sciences
Universiteit van Amsterdam  |  Vrije Universiteit
Kloveniersburgwal 48        |  De Boelelaan 1081a
1012 CX  Amsterdam          |  1081 HV Amsterdam
+31-(0)20-5253499           |  +31-(0)20-5987752
hoekstra@uva.nl             |  hoekstra@few.vu.nl

Homepage: http://www.leibnizcenter.org/users/rinke

Received on Wednesday, 22 July 2009 18:43:07 UTC