Jump to content

Multiple declaration issue


MatthewRed
 Share

Recommended Posts

Hey there,I have three schema files, One, Two, and Three. One has <xs:include schemaLocation="/path/here..."/> elements to include Two and Three. Each has a definition for a simple element X, Y and Z.My error is that I get a message akin to this: "Global element:'X' declared more than once". Now, I figure that One shouldn't have X, Y, or Z declared in it because they already exist in Two and Three. But can I get away with Two and Three both having those elements declared? Will that still cause a redefinition error? My initial testing suggests yes, but I could also be an idot.I have only limited ability to modify these schemas (the include hierarchy has to stay intact if I can help it), as they are already in the production enviroment, but any suggestion will be helpful.Thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...