-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use appropriate methods to convert the numbers in XML
Conversion of the numbers using appropriate methods of each different type. ING-3965
- Loading branch information
1 parent
a80cf5a
commit 2baec50
Showing
23 changed files
with
887 additions
and
7 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
io/plugins/eu.esdihumboldt.hale.io.gml.test/src/data/numbers/numbers.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:hale="eu:esdihumboldt:hale:test" xmlns:gml="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" targetNamespace="eu:esdihumboldt:hale:test"> | ||
|
||
<import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/> | ||
|
||
<element name="PrimitiveTest" substitutionGroup="gml:AbstractFeature" type="hale:PrimitiveTestType" /> | ||
|
||
<complexType name="PrimitiveTestType"> | ||
<complexContent> | ||
<extension base="gml:AbstractFeatureType"> | ||
<sequence> | ||
<xs:element name="decimalNumber" type="xs:decimal" minOccurs="0"/> | ||
<xs:element name="doubleNumber" type="xs:double" minOccurs="0"/> | ||
<xs:element name="integerNumber" type="xs:int" minOccurs="0"/> | ||
<xs:element name="longNumber" type="xs:long" minOccurs="0"/> | ||
<xs:element name="floatNumber" type="xs:float" minOccurs="0"/> | ||
<xs:element name="shortNumber" type="xs:short" minOccurs="0"/> | ||
|
||
<element name="doubleSimpleNumber" type="double" minOccurs="0"/> | ||
</sequence> | ||
</extension> | ||
</complexContent> | ||
</complexType> | ||
|
||
|
||
</schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.