|
XML Schema - redifinition of tags
Hi there,
I have three Schema files, One, Two, and Three. One includes Two and Three with the <xs:include ...> elements. Each one has simple elements defined X, Y, and Z.
My Xerces parser is throwing back errors such as "Global element:'X' declared more than once". Now I'm sure I shouldn't be defining X, Y, or Z in One, because they are defined in Two and Three. But can Two and Three each define X, Y, and Z? My initial tests say no, but I can also be an idot. W3Schools isn't clear on the subject, and the Schema standards themselves...
Is there a simple resolution to this? Would a simplified example help?
|