DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16962>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16962

Schema containing "xs:any namespace=##local" fails validation

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-02-12 16:58 -------
The error you are getting is not related to the xml document validation, but 
rather is an xsd related error. If you run the SAXCount without the -f flag, no 
error will be generated. The '-f' flag is used to perform UPA (Unique 
Particle Attribution) and particle derivation checking of and xsd file. Your 
schema violates UPA checking. It 's ambiguous. Consider the following snippet:

<anyName>
    <pippo>Hello</pippo>
    <pippo>Hello</pippo>
</anyName>

The second pippo element is ambiguous. Does it represent the ##any element, or 
does it represent the pippo element of the sequence (i.e. sequence is repeated)? 
The anyName content has a sequence with an occurrence range of 0-unbounded, 
which means that the pippo element can be repeated many times.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to