Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Cloning annotations
Cloning annotations [message #604173] Fri, 08 May 2009 05:50
Keshavrao  is currently offline Keshavrao Friend
Messages: 34
Registered: July 2009
Member
Hello Ed,

We want to clone components from one schema to another and we found two
ways of doing it -
1)cloneConcreteComponent in XSDConcreteComponent
2)import the DOM node as bhuvan, shobana are doing the previous thread.

The first option doesnt have any problems, it clones the component well
and also it works with the DOM prefixes nicely because it builds the DOM
completely for itself, but it doesnt copy the annotations.

But we also want to copy the annotations and i have to go by the second
option which has all the weird problems with the prefixes when XSDs come
from different sources.

Can we have the cloneConcreteComponent method to also copy the annotations
reliably instead to go with the second option.

Or it would also be gr8 if you can suggest us some other way of cloning
the annotations.

Thanks and regards,
Keshav Veerapaneni.
Previous Topic:How to clone annotations
Next Topic:Problem during replacing element from one schema to another schema using DOM
Goto Forum:
  


Current Time: Thu Mar 28 08:09:05 GMT 2024

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

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

Back to the top