|
Re: Duplicate name/target namespace error [message #49437 is a reply to message #49345] |
Mon, 26 July 2004 08:35  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Dennis,
I've not been able to reproduce this.
Dennis Fuglsang wrote:
>Ed,
>
>We have an issue related to schema imports and includes that we need some
>help with. We have a situation in which there are 3 xsd files. Schema A
>imports both Schema B and C. Schema B imports Schema C. These XSDs
>validate fine in XML Spy and Schema Quality Checker. However, the XSD
>validation in Eclipse is complaining. I've attached sample schemas.
>
>Import Structure:
> Main ---imports---> Employee, Security
> Employee ---imports---> Security
>
>Here is the error message: XSD: The type may not have duplicate name and
>target namespace 'http://www.acme/schema/Security#securityType' Main.xsd.
>
>I suspect the Schema import/include logic in the metamodel is adding the
>Security schema to Main via direct import and as a result of importing
>Employee.
>
>Is this a known issue? Has a fix been issued for this problem?
>
>Thanks in advance,
>
>Dennis Fuglsang
>
>
>
>
|
|
|
Re: Duplicate name/target namespace error [message #589872 is a reply to message #49345] |
Mon, 26 July 2004 08:35  |
Eclipse User |
|
|
|
Dennis,
I've not been able to reproduce this.
Dennis Fuglsang wrote:
>Ed,
>
>We have an issue related to schema imports and includes that we need some
>help with. We have a situation in which there are 3 xsd files. Schema A
>imports both Schema B and C. Schema B imports Schema C. These XSDs
>validate fine in XML Spy and Schema Quality Checker. However, the XSD
>validation in Eclipse is complaining. I've attached sample schemas.
>
>Import Structure:
> Main ---imports---> Employee, Security
> Employee ---imports---> Security
>
>Here is the error message: XSD: The type may not have duplicate name and
>target namespace 'http://www.acme/schema/Security#securityType' Main.xsd.
>
>I suspect the Schema import/include logic in the metamodel is adding the
>Security schema to Main via direct import and as a result of importing
>Employee.
>
>Is this a known issue? Has a fix been issued for this problem?
>
>Thanks in advance,
>
>Dennis Fuglsang
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04187 seconds