Can you please create a new Jira issue at 
http://jira.codehaus.org/browse/CASTOR, and attach all relevant files for me to 
be able to replay your problem ? 

Thanks in advance
Werner

> -----Ursprüngliche Nachricht-----
> Von: stoil valchkov [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 15. März 2007 12:47
> An: castor-user
> Betreff: [castor-user] minOccurs on toplevel elements is not detected as
> error
> 
> Hi all,
> 
> I've tried to load simple schema as:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <schema xmlns="http://www.w3.org/2001/XMLSchema";
> targetNamespace="http://www.example.org/NewXMLSchema";
> xmlns:tns="http://www.example.org/NewXMLSchema";
> elementFormDefault="qualified">
>  <element name="test"  minOccurs="0"/>
> </schema>
> 
> with castor 1.0. It is loaded successfully. However if I try to
> validate it via http://www.w3.org/2001/03/webdata/xsv I get:
> 
> Schema representation errors
> Detected during instance validation
> 
> file:///usr/local/XSV/xsvlog/tmpbPYn1Guploaded:3:2: Invalid: top-level
> element may not have minOccurs
> Problems with the schema-validity of the target
> 
> file:///usr/local/XSV/xsvlog/tmpbPYn1Guploaded:3:2: Invalid per
> cvc-complex-type.1.3: undeclared attribute {None}:minOccurs
> 
> Best regards,
> Stoil
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to