How to handle forward references of XML IDREF with JAXB XmlAdapter during unmarshal?
Is it possible to handle forward references of XML IDREF elements in JAXB XmlAdapter during the unmarshal process? For example, I have the following XML complexType : <xs:complexType name="person"> <xs:complexContent> <xs:sequence> <xs:element name="dateOfBirth" type="xs:dateTime" minOccurs="0"/> <xs:element name="firstName" type="xs:string" minOccurs="0"/> <xs:element name="gender" type="xs:string" minOccurs="0"/> <xs:element name="guardian" type="xs:IDREF" minOccurs="0"/> <xs:element name="homePhone" type="xs:string" minOccurs="0"/> <xs:element name="lastName" type="xs:string" minOccurs="0"/