- From: Peter F. Patel-Schneider <pfps@research.bell-labs.com>
- Date: Thu, 10 Apr 2008 17:37:25 -0400 (EDT)
- To: sandro@w3.org
- Cc: public-owl-wg@w3.org
From: Sandro Hawke <sandro@w3.org>
Subject: owl xml serialization (example doesn't work)
Date: Thu, 10 Apr 2008 17:02:03 -0400
>
>
> I set up the namespace document at
>
> http://www.w3.org/ns/owl2-xml
>
> and modified XML_Serialization to match. The namespace document
> includes a warning:
>
> Until the specification reaches W3C Candidate Recommendation (CR)
> status, this namespace name may be reused by any update in such a
> way as to cause documents written using the namespace to become
> invalid or to change in meaning. In fact, the namespace may be
> un-defined, if (for instance) this OWL XML namespace and the OWL
> RDF namespace are merged.
>
> I changed the namespace name in the schema and in the example to not
> have a hash (it was "http://www.w3.org/ns/owl2-xml#"), to keep with what
> I understand to be normal XML practice.
>
> I notice that the example DOES NOT VALIDATE, because the attribute
> ox:URI isn't defined in the schema. Any clues? This doesn't exactly
> stop us from publishing, but I'd sure like it fixed.
>
> -- Sandro
Hmm.
What about arity, ontologyURI, and datatypeURI? Aren't they in exactly
the same boat as URI? I guess I'm confused about XML Schemas.
I tried http://www.w3.org/2001/03/webdata/xsv on
http://www.w3.org/ns/owl2-xml/live-from-wiki.xsd
and got:
Schema validating with XSV 3.1-1 of 2007/12/11 16:20:05
* Target: [standalone schema assessment]
(Real name: http://www.w3.org/ns/owl2-xml/live-from-wiki.xsd
Last Modified: Thu, 10 Apr 2008 20:43:12 GMT
Server: Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4
PHP/5.2.0-8+etch10)
* schemaDocs: http://www.w3.org/ns/owl2-xml/live-from-wiki.xsd
* The schema(s) used for schema-validation had
no errors
* The target was not assessed
Schema resources involved
Attempt to load a schema document from
http://www.w3.org/ns/owl2-xml/live-from-wiki.xsd
(source: command line) for
no namespace, succeeded
Attempt to load a schema document from
http://www.w3.org/2001/xml.xsd
(source: import) for
http://www.w3.org/XML/1998/namespace,
skipped, other docs already loaded for this namespace:
peter
Received on Thursday, 10 April 2008 21:47:10 UTC