Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.3, 0.4, 0.5, 0.6
-
None
Description
XML documents of objects in the gml namespace shall have a gml:id attribute allowing cross-references of the same objects in the document. SIS 0.4 provides this attribute (because it is mandatory) and annotates it with @XmlID, but does not really use it since we have no corresponding member annotated with @XmlIdRef.
Actually @XmlIdRef may not fit exactly our needs, in part because we need to format URI fragments instead than writing the ID verbatim, and also because it is not clear to me from the documentation if @XmlIdRef allows to perform a normal parsing if no ID is provided in an annotated attribute. But we can implement a similar mechanism in org.apache.sis.internal.jaxb.Context.