all Model group having minoccurs and maxoccurs

Hi..

 

For the following schema, altova is giving error but LIBXML is not giving
any error. Please reply me whether the following is a valid schema or
invalid schema.

 

 

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

       <xsd:group name="group">

              <xsd:all minOccurs="0" maxOccurs="0">

                     <xsd:element name="e1"/>

              </xsd:all>

       </xsd:group>

</xsd:schema>

 

Thanks and Regards,

Bharath.

 

****************************************************************************
****************************
 This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not limited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

 

Received on Friday, 5 December 2008 07:35:25 UTC