Skip to main content



      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 09:12
Eclipse UserFriend
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: Tue Jul 01 03:05:12 EDT 2025

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

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

Back to the top