W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2001

Re: Unknown prefix xml?

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Mon, 29 Jan 2001 10:27:13 +0100
Message-ID: <3A753771.997A623E@dyomedea.com>
To: Martin Gudgin <marting@develop.com>
CC: XML Schema Dev <xmlschema-dev@w3.org>
Martin Gudgin wrote:
> I'm getting an 'attribute type check failed for {None}:ref: xml:space has undeclared prefix: xml'
> error using XSV1.1a with the schema at[1]. Full XSV output is at[2].
> I don't *think* I should have to declare the xml prefix inside my schema, should I?

Yes you have ;=) ...

You need to define its namespace as

You don't **need** to specify a schame location for this namespace since
a schema validator will find a schema for this namespace by
dereferencing the URI.

If you don't specify a schema location, it will mean though that your
schema processor will perform an access to this location each time it
validates the schema (unless it's using a cache).


> Gudge
> [1] http://marting.develop.com/xsd/xmlspace.xsd
> [2] http://marting.develop.com/xsd/xmlspace.err.xml

Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
Received on Monday, 29 January 2001 04:42:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:49 UTC