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!

Ciao,
Tobias
Received on Monday, 9 February 2009 08:17:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:10 GMT