Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-173

Support references from xlink:href to gml:id

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3, 0.4, 0.5, 0.6
    • 0.7
    • Metadata, Referencing
    • 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.

      Attachments

        Issue Links

          Activity

            People

              desruisseaux Martin Desruisseaux
              desruisseaux Martin Desruisseaux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: