W3C home > Mailing lists > Public > www-webont-wg@w3.org > January 2003

XML Schemas/XSL translation

From: Sean Bechhofer <seanb@cs.man.ac.uk>
Date: Tue, 14 Jan 2003 10:05:34 +0000 (GMT Standard Time)
To: www-webont-wg@w3.org
Message-ID: <Pine.WNT.4.44.0301140947520.2068-101000@potato>

Masahiro + Jerome

I've been trying to get some of my tools to produce OWL XML Schema.
Working with the latest version of Masahiro's schemas [1], I am able to
produce XML that validates against this schema (using Xerces as
validator). However, when I try and then apply Jerome's XSL stylesheet
translation [2] to produce RDF triples (using Xalan), I get a problem as
Masahiro's schema defines the OWL namespace as:

  http://www.w3.org/2002/OWL-XMLScheme

whereas Jerome's stylesheet has it as:

  http://www.w3.org/2003/OWL-XMLScheme

I can edit the stylesheet to change this and the processor then accepts
it, and produces RDF triples, but raises a number of warnings/errors of
the form:

file:/D:/home/seanb/OWL/02-owlxml2rdf.xsl; Line 338; Column -1; Illegal value used for attribute name:
http://cohse.semanticweb.org/ontologies/people#broadsheet

file:/D:/home/seanb/OWL/02-owlxml2rdf.xsl; Line 340; Column -1; rdf:about has an illegal attribute: {1}

file:/D:/home/seanb/OWL/02-owlxml2rdf.xsl; Line 338; Column -1; Illegal value used for attribute name:
http://cohse.semanticweb.org/ontologies/people#colour
file:/D:/home/seanb/OWL/02-owlxml2rdf.xsl; Line 340; Column -1; rdf:about has an illegal attribute: {1}
file:/D:/home/seanb/OWL/02-owlxml2rdf.xsl; Line 338; Column -1; Illegal value used for attribute name:
http://cohse.semanticweb.org/ontologies/people#person
...

OWL-XMLSchema document is attached. Note that it refers to a local
location for the schemas, but these are simply there to make things easier
for me -- they are copies of the schemas in [1].

So:

1) Can we synchronize the schemas/XSL namespaces please?
2) Am I doing something silly in my XML or is there a problem with
the XSL here?

Cheers,

	Sean


[1] http://lists.w3.org/Archives/Public/www-webont-wg/2003Jan/att-0152/02-schemas.zip
[2] http://lists.w3.org/Archives/Public/www-webont-wg/2003Jan/att-0125/01-_owlxml2rdf.xsl

-- 
Sean Bechhofer
seanb@cs.man.ac.uk
http://www.cs.man.ac.uk/~seanb



Received on Tuesday, 14 January 2003 05:03:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:57:57 GMT