Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Identifier and package names in XSD-based EMF
Identifier and package names in XSD-based EMF [message #602240] Tue, 20 March 2007 13:12
Shahar Ronen is currently offline Shahar RonenFriend
Messages: 17
Registered: July 2009
Junior Member
Hello
I'm new to EMF as well as XML schema. Generating a model from an XML schema,
I noticed EMF names the identifiers, as well as the model's packages, after
the last word in the schema's namespace hierarchy. For example, the
namespace identifier for a schema whose namespace is
http://www.test.org/2007/sname would be "sname"; however, the identifier for
the namespace http://www.ccsds.org/xfdu/2004 (which I use) would be "2004" -
even though I'd like it to be "xfdu".
Is there a way to configure the way EMF generates these names? It turns out
there's some inconsistency when it comes to schema namespaces (i.e., whether
the year should follow the standard's name or precede it), so being able to
change EMF's naming methods would help overcome such inconsistencies.

Thanks,
Shahar.
Previous Topic:Retrieving xs:extension tag
Next Topic:Identifier and package names in XSD-based EMF
Goto Forum:
  


Current Time: Fri Apr 26 21:35:21 GMT 2024

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

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

Back to the top