Re: "Invalid value for maxOccurs (must be 0 or 1)." -- wtf?
[ Nouvelle discussion
| Répondre au groupe
|
pl.comp.xml ]
Sujet: Re: "Invalid value for maxOccurs (must be 0 or 1)." -- wtf?
De: cohe...@vp.pl (Andrew Cohen)
Groupes: pl.comp.xml
Organisation: Onet.pl
Date: 30. Sep 2008, 18:14:49
References: 1
|
Filip Rembiałkowski pisze:
> ale chyba czegoÅ› nie rozumiem bo
> $ xmllint --noout --schema owoce.xsd owoce.xml
> owoce.xsd:6: element element: Schemas parser error : Element
'{http://www.w3.org/2001/XMLSchema}element': Invalid value for maxOccurs (must
be 0 or 1).
> owoce.xsd:7: element element: Schemas parser error : Element
'{http://www.w3.org/2001/XMLSchema}element': Invalid value for maxOccurs (must
be 0 or 1).
> WXS schema owoce.xsd failed to compile
http://www.w3.org/TR/xmlschema-1/#cos-all-limited
When a model group has {compositor} all, then all of the following must be true:
[...]
The {max occurs} of all the particles in the {particles} of the group must be 0
or 1.
--
Andrew Cohen

|
 cette fonctionnalité est reservée aux membres ayant une session active !
|