52North / common-xml

A set of commonly used OGC schemas compiled to xmlbeans bindings
7 stars 12 forks source link

Redeclare package names for GML #8

Open ridoo opened 9 years ago

ridoo commented 9 years ago

GML versions before 3.2 did not include the version in its target namespace. This results in identical package names and type clashes. A simple xsdconfig file would help out here so that e.g. gml version 3.1.1 would end up with package names net.opengis.gml.x311. Not backward compatible, though.

EHJ-52n commented 9 years ago

That sound's good, but how would you handle that 3.2.1 and 3.2.2 will both use 3.2 as the OGC skipped the third part of the version?

ridoo commented 9 years ago

@EHJ-52n see #4 ... actually 3.2.2 as a bugfix will substitude version 3.2.1 so it will be absolutely legal to use the same package names here, though a user will probably bind to a different artifact then (but issue #4 discusses this in more detail).