Identifier and package names in XSD-based EMF [message #602240] |
Tue, 20 March 2007 13:12 |
Shahar Ronen 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.
|
|
|
Powered by
FUDForum. Page generated in 0.02307 seconds