Schema include problem

Hi,

I'm having problems getting my instance document to validate against my W3C
schema - the root element apparently isn't defined in my schema.

I think it's namespace and/or xs:include related. I had a similar problem on
an earlier version of the schema (I was using xs:import when I should have
been using xs:include) but can't figure out what the problem is now - I'm
going code blind trying to figure it out.

Running XSV on the schema tells me that:

The schema hub loads with no namespace, when it should be
"http://www.tall.ox.ac.uk/schema/tall-learningobject-0.5".
"Attempt to load a schema document from file:///C:/Documents and
Settings/BalchD/Desktop/TALL/tall-learningobject-hub-0.5.xsd (source:
command line) for no namespace, succeeded"

The "content" module where I've defined the root element doesn't load.
"Attempt to load a schema document from file:///C:/Documents and
Settings/BalchD/Desktop/TALL/tall-learningobject-content-v0.4.xsd (source:
include) for http://www.tall.ox.ac.uk/schema/tall-learningobject-0.5,
failed:"

But I can't figure out why. If anyone can give me some pointers on why these
problems are happening, I would really apprieciate it.

XSV also gives me a bunch of errors about non-deterministic content model,
but that's not a priority at the moment.

A zip of the schema files, instance doc and XSV error log can be found at
http://users.ox.ac.uk/~cont0147/TALL.zip

Cheers,
Dave.

-- 
David Balch.          | Web developer.
T: +44 (0)1865 286932 | Technology-Assisted Lifelong Learning.
F: +44 (0)1865 286922 | University of Oxford.

TALL, OUDCE and the University of Oxford accept no legal responsibility for
the contents of this message. Any views or opinions presented are only those
of the author and not those of TALL, or OUDCE, or the University of Oxford.
If this email has come to you in error please delete it and any attachments

Received on Tuesday, 15 July 2003 06:41:33 UTC