|
1 | 1 | <jxb:bindings xmlns:jxb="https://jakarta.ee/xml/ns/jaxb"
|
2 |
| - xmlns:xs="http://www.w3.org/2001/XMLSchema" |
3 |
| - xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
4 |
| - xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" |
5 |
| - jxb:version="3.0" |
6 |
| - jxb:extensionBindingPrefixes="xjc"> |
| 2 | + xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 3 | + xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 4 | + xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" |
| 5 | + jxb:version="3.0" |
| 6 | + jxb:extensionBindingPrefixes="xjc"> |
7 | 7 |
|
8 |
| - <jxb:bindings> |
9 |
| - <jxb:globalBindings underscoreBinding="asCharInWord"> |
10 |
| - <xjc:javaType name="java.time.LocalDateTime" xmlType="xs:dateTime" adapter="org.rutebanken.util.LocalDateTimeISO8601XmlAdapter" /> |
11 |
| - <xjc:javaType name="java.time.ZonedDateTime" xmlType="xs:dateTime" adapter="org.rutebanken.util.ZonedDateTimeISO8601XmlAdapter" /> |
12 |
| - <xjc:javaType name="java.time.LocalTime" xmlType="xs:time" adapter="org.rutebanken.util.LocalTimeISO8601XmlAdapter" /> |
13 |
| - <xjc:javaType name="java.time.LocalDateTime" xmlType="xs:date" adapter="org.rutebanken.util.LocalDateXmlAdapter" /> |
14 |
| - <xjc:javaType name="java.time.Duration" xmlType="xs:duration" adapter="org.rutebanken.util.DurationXmlAdapter" /> |
| 8 | + <jxb:bindings> |
| 9 | + <jxb:globalBindings underscoreBinding="asCharInWord"> |
| 10 | + <xjc:javaType name="java.time.LocalDateTime" xmlType="xs:dateTime" adapter="org.rutebanken.util.LocalDateTimeISO8601XmlAdapter" /> |
| 11 | + <xjc:javaType name="java.time.ZonedDateTime" xmlType="xs:dateTime" adapter="org.rutebanken.util.ZonedDateTimeISO8601XmlAdapter" /> |
| 12 | + <xjc:javaType name="java.time.LocalTime" xmlType="xs:time" adapter="org.rutebanken.util.LocalTimeISO8601XmlAdapter" /> |
| 13 | + <xjc:javaType name="java.time.LocalDateTime" xmlType="xs:date" adapter="org.rutebanken.util.LocalDateXmlAdapter" /> |
| 14 | + <xjc:javaType name="java.time.Duration" xmlType="xs:duration" adapter="org.rutebanken.util.DurationXmlAdapter" /> |
15 | 15 | </jxb:globalBindings>
|
16 |
| - </jxb:bindings> |
| 16 | + </jxb:bindings> |
17 | 17 |
|
18 |
| - <!-- See the script bin/version_updater.sh It updates version in schema locations--> |
| 18 | + <!-- See the script bin/version_updater.sh It updates version in schema locations--> |
19 | 19 |
|
20 |
| - <jxb:bindings schemaLocation="./src/main/resources/xsd/2.0/OJP.xsd"> |
21 |
| - <jxb:schemaBindings> |
22 |
| - <jxb:package name="de.vdv.ojp20.model" /> |
23 |
| - </jxb:schemaBindings> |
24 |
| - </jxb:bindings> |
| 20 | + <jxb:bindings schemaLocation="./src/main/resources/xsd/2.0/OJP.xsd"> |
| 21 | + <jxb:schemaBindings> |
| 22 | + <jxb:package name="de.vdv.ojp20" /> |
| 23 | + </jxb:schemaBindings> |
| 24 | + </jxb:bindings> |
| 25 | + <!-- the netex-java-model already defines the siri types in uk.org.siri which leads to clashes. |
| 26 | + therefore we put the generate siri types into a sub-package of de.vdv.ojp --> |
| 27 | + <jxb:bindings schemaLocation="./src/main/resources/xsd/2.0/siri/xsd/siri_model/siri_all.xsd"> |
| 28 | + <jxb:schemaBindings> |
| 29 | + <jxb:package name="de.vdv.ojp20.siri" /> |
| 30 | + </jxb:schemaBindings> |
| 31 | + </jxb:bindings> |
25 | 32 | </jxb:bindings>
|
0 commit comments