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

Differentiate between unprefixed local element and global unprefixed element

From: Neil Bradley <Neil.Bradley@rubus.com>
Date: Mon, 19 May 2003 12:00:31 +0100
Message-ID: <7C978F5EDA227E478ABADE03D23599731DA517@brkmail.rubus.com>
To: <xmlschema-dev@w3.org>


The issue has been discussed before, but without a satisfactory answer.

<doc xmlns="DOC_NAMESPACE">
  <X:fragment xmlns:X="FRAGMENT_NAMESPACE">

How does an XML Schema processor attempt to validate the <unprefixed> element, as:
1) a possible local element to the <fragment> element?
2) a possible global element belonging to the default namespace?
3) both (but if so, in what order)?

If the answer is 3), then what happens if both document types include an element called <unprefixed>, and with different content types?

Received on Monday, 19 May 2003 07:00:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:11 UTC