[ https://issues.apache.org/jira/browse/SIS-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Desruisseaux reassigned SIS-173: --------------------------------------- Assignee: Martin Desruisseaux > Adds @XmlIdRef annotations > -------------------------- > > Key: SIS-173 > URL: https://issues.apache.org/jira/browse/SIS-173 > Project: Spatial Information Systems > Issue Type: Task > Components: Referencing > Reporter: Martin Desruisseaux > Assignee: Martin Desruisseaux > > 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}}. > More specifically we need to: > * Add a {{Context.isValidID(...)}} method. > * Invoke the above {{isValid(...)}} method in {{AbstractIdentifiedObject.getID()}} in order to determine if we need to generate an other ID. > * Add {{@XmlIdRef}} annotation somewhere and test. -- This message was sent by Atlassian JIRA (v6.3.4#6332)