Same element name, different namespaces: is that possible?

Hi,

in DTDs it was allowed (even necessary) to name an element with the
namespace prefix: <!ELEMENT v:price (#PCDATA)>.
If I try this in a schema (<xs:element name="v:price"/>) the validation
fails. Normally that's no problem but if we want to define two namespaces in
one schema and connect these with the same element string, then there seems
to be no way for doing this:
<xs:element shop>
	<xs:complexType>
		<xs:sequence>
			<xs:element name="v:price"/>
			<xs:element name="g:price"/>
		</xs:sequence>
	</xs:complexType>
</xs:element>

If this is correct, will there be a solution in later versions of schema?

Greetings
Thilo Kirchheiner

Received on Monday, 27 October 2003 04:36:47 UTC