Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Duplicate name/target namespace error
Duplicate name/target namespace error [message #589830] Thu, 22 July 2004 20:06
Dennis Fuglsang is currently offline Dennis FuglsangFriend
Messages: 77
Registered: July 2009
Member
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




  • Attachment: Security.xsd
    (Size: 0.52KB, Downloaded 194 times)
  • Attachment: Employee.xsd
    (Size: 1.05KB, Downloaded 169 times)
  • Attachment: Main.xsd
    (Size: 1.05KB, Downloaded 159 times)
Previous Topic:NEWBIE question: how to get the contents of an XSDSchema->WSDL in Java
Next Topic:Use xsd library in java applet
Goto Forum:
  


Current Time: Mon Oct 19 16:37:29 GMT 2020

Powered by FUDForum. Page generated in 0.01917 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top