[
Lists Home |
Date Index |
Thread Index
]
Hi rajac,
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
> <xs:element name="note">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="to" type="xs:string" minOccur="1"
> maxOccur="5"/>
> <xs:element name="heading" type="xs:string" minOccur="1"
> maxOccur="5"/>
> <xs:element name="body" type="xs:string" minOccur="1"
> maxOccur="5"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> </xs:schema>
Your schema is invalid - please note difference between
minOccur/minOccurs and maxOccur/maxOccurs ...
HTH
Martin
--
Martin Krumpolec <krumpo@pobox.sk>
|