All was fine and green until the customer complains of an validator error that happens in few of the XSDs that contain this xs:any element. It goes something like this..
WC[##any] (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
After a few hours of searching the internet, this is what i came across..
Hence, while parsing, your parser gets confused and cannot parse the xsd. So, the xs:any element should always come after an element whose minOccurs=0. More information here at:
http://en.wikipedia.org/wiki/Unique_Particle_Attribution
No comments:
Post a Comment