W3C home > Mailing lists > Public > public-owl-wg@w3.org > July 2009

Re: OWL/XML schema & example

From: Antoine Zimmermann <antoine.zimmermann@deri.org>
Date: Wed, 22 Jul 2009 17:52:06 +0100
Message-ID: <4A6743B6.4040905@deri.org>
To: Bijan Parsia <bparsia@cs.man.ac.uk>
CC: 'W3C OWL Working Group' <public-owl-wg@w3.org>

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.

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

[1] http://www.xmlme.com/Validator.aspx

Antoine Zimmermann
Post-doctoral researcher at:
Digital Enterprise Research Institute
National University of Ireland, Galway
IDA Business Park
Lower Dangan
Galway, Ireland
Received on Wednesday, 22 July 2009 16:52:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:42:00 UTC