DR 09-0305 - WML, Glossary Document: Unspecified behavior for repeated child elements

MURATA Makoto (FAMILY Given) eb2m-mrt at asahi-net.or.jp
Thu Nov 18 02:11:44 CET 2010


> It looks from http://www.w3schools.com/schema/el_all.asp as though it does, but I'm not going to get into 
>a schema language fight with Murata-san, so I'll be happy to buckle
>under even the slightest of pressure.

Just in case.

<foo >
  <ba1></ba1>
</foo>

is not valid against 

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="foo">
    <xs:complexType>
      <xs:all minOccurs="0">
        <xs:element name="ba1" type="xs:string"/>
        <xs:element name="ba2" type="xs:string"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
</xs:schema>


Cheers,
Makoto


More information about the sc34wg4 mailing list