I have a schema (a) that imports another schema (z). Then I have yet another schema (b) that imports that same schema (z).
It happens so that XML document (d) conforming to schema (a) can also contain an optional element that conforms to schema (z).
In consequence, when (d) is validated in .NET, I'm having exception "The simpleType 'z:x' has already been declared."
But there is no exception in Oxygen.
I'd like to configure .net the way it does NOT throw this exception. Just to behave like Oxygen.
How?
See Question&Answers more detail:os