Title: RE: Import does not work!

May be as simple as this:
If you have done a cut-and-paste to email that error, then you are using
SchemaLocation instead of schemaLocation (capitalization).

John

-----Original Message-----
From: Peter Tornberg [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2001 11:44
To: [EMAIL PROTECTED]
Subject: Import does not work!


Hi all,

I've been looking at the import mechanism, but been unable to get it to
work. When I set SchemaLocation inside the import element I get:
[Error] Schema error: Attribute 'SchemaLocation' cannot appear in 'import'.

In the XML Schema Primer 1 import is defined as:
<import
id = ID
namespace = anyURI
schemaLocation = anyURI
{any attributes with non-schema namespace . . .}>
Content: (annotation?)
</import>

How much support for import is built into Xerces. I can't find any info on
the Xerces website saying that it does not support import.

Thanks!

/Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to