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

RE: Differentiate between unprefixed local element and global unp refixed element

From: Jeff Lowery <Jeff.Lowery@creo.com>
Date: Wed, 21 May 2003 16:17:58 -0700
Message-ID: <4827EC373E03DB44AC2AB3900430896B67226B@csiex01.scenicsoft.com>
To: "'Neil Bradley'" <Neil.Bradley@rubus.com>, xmlschema-dev@w3.org



> -----Original Message-----
> From: Neil Bradley [mailto:Neil.Bradley@rubus.com]

> This answer to my question below appears to rule-out the 
> possibility that <unprefixed> could be defined as a local 
> element child of the <fragment> element that is required to 
> not include the prefix.

You can undeclare the default namespace to make <unprefixed> unqualified:

 <doc xmlns="DOC_NAMESPACE">
   <X:fragment xmlns:X="FRAGMENT_NAMESPACE" xmlns="">
     <unprefixed>???</unprefixed>
   </X:fragment>
 </doc>
Received on Wednesday, 21 May 2003 19:20:11 GMT

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