I am trying to do the same getting error for almost all type declarations:
A Message Set can not contain two global type definitions with the same name and namespace (target or chameleon): line 46 Cached Message Set Core Validation Problem
Pinned topic Can I create two mxsd files with same targetnamespace?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-10-18T10:04:58Z at 2012-10-18T10:04:58Z by email@example.com
firstname.lastname@example.org 120000CJSH515 Posts
Re: Can I create two mxsd files with same targetnamespace?2012-10-18T10:04:58ZThis is the accepted answer. This is the accepted answer.You are asking the wrong question. Yes, you can create two mxsd files with the same namespace.
However, those two files must not contain global elements with the same name. Yours do - that is why you received that error.
The restriction is a necessary one - the namespace and name are the only way to identify an element whether you are using WMB or any other XML processing system.