W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2009

Re: schemaLocation declaration after namespace usage

From: Tobias Koenig <tobias.koenig@trolltech.com>
Date: Mon, 9 Feb 2009 09:18:04 +0100
To: xmlschema-dev@w3.org
Message-Id: <200902090918.04289.tobias.koenig@trolltech.com>

On Friday 06 February 2009 12:20:07 Michael Kay wrote:
Hej Michael,

> > http://www.w3.org/TR/xmlschema-1/#schema-loc 4) says that no 
> > schemaLocation declaration is allowed to appear, after the 
> > namespace has been used for a validation of an element or attribute.
> Yes, the spec says that, but I think experience shows that applying this
> rule to redundant xsi:schemaLocation attributes (or namespace/location
> pairs) is unhelpful; and the spec generally gives implementations a lot of
> flexibility in this area. Redundant xsi:schemaLocation attributes can easily
> arise for example when a document is assembled using XInclude.
Ah ok, applying the rule to a redundant attribute makes no sense indeed,
I haven't looked at this issue from that side. Thank you very much for this hint!

Received on Monday, 9 February 2009 08:17:33 UTC

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