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

#any or #other namespace for any element

From: Avin Patel <avinpatel@iit.edu>
Date: Tue, 8 Apr 2003 17:09:00 -0400
Message-ID: <00fc01c2fe13$181f66a0$493e0942@Avin>
To: "xmlschema" <xmlschema-dev@w3.org>

Hi All,
I have following code, that wouldn't work:
   <xsd:complexType name="LastUpdate">
         <xsd:element name="referencedTime" type="ReferencedValue"/>
         <xsd:element name="generalizedTime" type="xsd:dateTime"/>
         <xsd:any namespace="##any" processContents="lax"/>

When I change the 'any' element namespace to "##other", it validates OK.
BUT what I want is any element can be in 'this' namespace, well here except
"referencedTime" & "generalizedTime".
Any way around?
Thank you for your time.
Avin Patel
Received on Tuesday, 8 April 2003 17:09:07 UTC

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