OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Simple Schema

[ Lists Home | Date Index | Thread Index ]

Hi KRUMPOLEC Martin,
  Even then(after changing from minOccur to minOccurs), it is failing.
Initially i was using minOccurs only.

Rgds.,
Raja

----- Original Message -----
From: "KRUMPOLEC Martin" <krumpolec@asset.sk>
To: "'rajac'" <rajac@ncmr.co.in>; <xml-dev@lists.xml.org>
Sent: Monday, February 11, 2002 5:16 PM
Subject: RE: [xml-dev] Simple Schema


> 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>





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS