XML Schemas/XSL translation

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 UTC