[ 
https://issues.apache.org/jira/browse/SIS-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Desruisseaux updated SIS-286:
------------------------------------
    Description: 
The XML type of metadata and CRS properties could be declared more accurately 
by adding the {{XmlShemaType}} annotation where appropriate. Examples:

{code:java}
@XmlSchemaType(name = "positiveInteger")
private Integer integerValue;

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

@XmlSchemaType(name="date")
public XMLGregorianCalendar date;
{code}

The easiest way to find where this annotation is missing is to search for the 
{{"xs:}} string in XSD files. Some data types in use are: {{anyURI}}, 
{{boolean}}, {{date}}, {{dateTime}}, {{decimal}}, {{double}}, {{integer}}, 
{{negativeInteger}}, {{nonNegativeInteger}}, {{nonPositiveInteger}}, 
{{positiveInteger}} and {{string}}.


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

{code:java}
@XmlSchemaType(name = "positiveInteger")
private Integer integerValue;

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

@XmlSchemaType(name="date")
public XMLGregorianCalendar date;
{code}

The easiest way to find where this annotation is missing is to search for the 
{{"xs:}} string in XSD files.


> Add @XmlSchemaType annotations where appropriate
> ------------------------------------------------
>
>                 Key: SIS-286
>                 URL: https://issues.apache.org/jira/browse/SIS-286
>             Project: Spatial Information Systems
>          Issue Type: Improvement
>          Components: Metadata, Referencing
>    Affects Versions: 0.6
>            Reporter: Martin Desruisseaux
>            Assignee: 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:
> {code:java}
> @XmlSchemaType(name = "positiveInteger")
> private Integer integerValue;
> @XmlSchemaType(name = "anyURI")
> private String valueFile;
> @XmlSchemaType(name="date")
> public XMLGregorianCalendar date;
> {code}
> The easiest way to find where this annotation is missing is to search for the 
> {{"xs:}} string in XSD files. Some data types in use are: {{anyURI}}, 
> {{boolean}}, {{date}}, {{dateTime}}, {{decimal}}, {{double}}, {{integer}}, 
> {{negativeInteger}}, {{nonNegativeInteger}}, {{nonPositiveInteger}}, 
> {{positiveInteger}} and {{string}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to