|
Re: Cross-referencing namespaces & schemas [message #634818 is a reply to message #634816] |
Sun, 24 October 2010 00:09 |
Ed Merks Messages: 33264 Registered: July 2009 |
Senior Member |
|
|
Frederik,
Comments below.
fle@alkasa.be wrote:
> Hi
>
> I have 2 XSDs, each describing their own namespace.
> I'd like to use elements from both XSDs in the other XSD, and so I
> import the other namespace in each file.
What doe the imports look like?
> However, the XSD no longer validate properly - I'm getting
> 'sch-props-correct.2: A schema cannot contain two global components
> with the same name; this schema contains two occurrences of...'
> The XSDs seem perfectly valid, and xjc
What's that?
> happily generates usable code, so I'd be interested to know why
> validation doesn't handle this case, and how to address that.
It's kind of hard to answer without being able to reproduce the problem.
> Any tips or clues?
The error message you describe looks more like one generated by Xerces...
>
> Thanks
>
> Frederik
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03412 seconds