sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <>
Subject [jira] [Created] (SIS-286) Add @XmlSchemaType annotations where appropriate
Date Fri, 14 Aug 2015 16:02:46 GMT
Martin Desruisseaux created SIS-286:

             Summary: Add @XmlSchemaType annotations where appropriate
                 Key: SIS-286
             Project: Spatial Information Systems
          Issue Type: Improvement
          Components: Metadata, Referencing
    Affects Versions: 0.6
            Reporter: Martin Desruisseaux
            Priority: Minor
             Fix For: 0.7

The XML type of metadata and CRS properties could be declared more accurately by adding the
{{XmlShemaType}} annotation where appropriate. Examples:

@XmlSchemaType(name = "positiveInteger")
private Integer integerValue;

@XmlSchemaType(name = "anyURI")
private String valueFile;

public XMLGregorianCalendar date;

The easiest way to find where this annotation is missing is to search for {{XmlSchemaType}}
in any project having generated automatically JAXB classes from the XSD. An example of such
project is the Geotk {{modules/jaxb-xml-binding/geotk-xml-gml}} module, but any other project
could fit.

This message was sent by Atlassian JIRA

View raw message