Le 29/07/15 19:56, Emmanuel Blondel a écrit : > However, can you clarify how it is specified the order of tags in the > marshalled XML?
In the beginning of each class there is a @XmlType annotation with a propOrder value. The later controls the order of property. Those values were wrote partially by hand, so we may very well have done some errors in property order. Could you try to open the DefaultIdentifier and DefaultCitation classes, edit the @XmlType(propOrder = "...") value and see if it fixes the issue? > I also got an error (but INSPIRE specific this time), saying that the > ReferenceSystem code should be an URI, and not a string: > > * > The required metadata element "Coordinate Reference System" is > present, but does not contain any of the coordinate reference > system identifiers (EPSG URIs) required by the Technical Guidelines > Which value do you currently see in ReferenceSystem code? > By chance would you know a better validation tool? I validate mostly against the XSD (but didn't tested everything). OGC's CITE tests also have a validator performing more checks beyond what can be done with XSD, but I didn't experimented it yet. I do not know how the CITE validator compare with the INSPIRE validator. Actually I would not be surprised if the INSPIRE validator was derived from the CITE one. > Does Apache SIS bring with a validator for ISO / INSPIRE ? We do not have any validator at this time. But we could probably use the CITE's "teamengine" for this purpose. Maybe https://github.com/opengeospatial/teamengine could be a good starting point. Martin
