W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2003

Schema include problem

From: David Balch <david.balch@continuing-education.oxford.ac.uk>
Date: Tue, 15 Jul 2003 11:38:03 +0100
Message-ID: <CCDA876B4148874F8F554995799FF1FB2074D1@springbok.conted.ox.ac.uk>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>


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
"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,

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


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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:02 UTC