Issue Details (XML | Word | Printable)

Key: HJIII-53
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Aleksei Valikov
Reporter: Aleksei Valikov
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Hyperjaxb3

Support for ID/IDREF

Created: 06/Jul/10 07:51 AM   Updated: 23/Dec/12 01:11 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 0.5.7



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order

Aleksei Valikov added a comment - 10/Jan/12 10:27 PM
<xsd:element name="HJIII-53"/>

<xsd:complexType name="HJIII-53">
<xsd:sequence>
<xsd:element name="a" type="test:HJIII-53-A"/>
<xsd:element name="b" type="test:HJIII-53-B"/>
<xsd:element name="c" type="test:HJIII-53-C"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="HJIII-53-A">
<xsd:sequence>
<xsd:element name="b" type="xsd:IDREF"/>
<xsd:element name="c" type="xsd:IDREFS"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="HJIII-53-B">
         <xsd:attribute name="id" type="xsd:ID" use="required"/>
</xsd:complexType>

<xsd:complexType name="HJIII-53-C">
         <xsd:attribute name="id" type="xsd:ID" use="required"/>
</xsd:complexType>

<jaxb:bindings node="xsd:complexType[@name='HJIII-53-A']//xsd:element[@name='b']">
<jaxb:property>
<jaxb:baseType name="HJIII53B"/>
</jaxb:property>
</jaxb:bindings>
<jaxb:bindings node="xsd:complexType[@name='HJIII-53-A']//xsd:element[@name='c']">
<jaxb:property>
<jaxb:baseType name="HJIII53C"/>
</jaxb:property>
</jaxb:bindings>