Blame view

src/main/xjb/bindings.xjb 1.22 KB
bernard authored
1
<jxb:bindings version="1.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:xs="http://www.w3.org/2001/XMLSchema"
bernard authored
2
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bernard authored
3 4 5
              xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd">

bernard authored
6
    <jxb:bindings schemaLocation="../xsd/issuesByProject.xsd" node="/xs:schema">
bernard authored
7 8 9 10 11 12
        <jxb:bindings node=".//xs:element[@name='issues']//xs:sequence[@id='issues']">
            <jxb:property name="issues"/>
        </jxb:bindings>
    </jxb:bindings>

    <jxb:bindings schemaLocation="../xsd/types.xsd" node="/xs:schema">
bernard authored
13 14

        <jxb:globalBindings localScoping="nested"/>
bernard authored
15 16 17 18

        <jxb:bindings node=".//xs:complexType[@name='fieldType']">
            <jxb:bindings node="./xs:sequence[@id='value']">
                <jxb:property name="values"/>
bernard authored
19
            </jxb:bindings>
bernard authored
20
            <jxb:class name="Field"/>
bernard authored
21
        </jxb:bindings>
bernard authored
22 23 24 25 26 27 28 29 30

        <jxb:bindings node=".//xs:complexType[@name='issueType']">
            <jxb:class name="Issue"/>
        </jxb:bindings>

        <jxb:bindings node=".//xs:complexType[@name='commentType']">
            <jxb:class name="Comment"/>
        </jxb:bindings>
bernard authored
31
    </jxb:bindings>
bernard authored
32
bernard authored
33
</jxb:bindings>