Don't forget that in XmlBeans you can do something like:
obj.selectPath("//*[attribute()='" + obj.getId() + "']");
or even better
obj.selectPath("//*name='" + obj.getId() + "']");
if you know the name of the idref attribute. That, combined with the
fact that XmlSchema discourages the use of ID/IDREF anyway, made it a
somewhat lower priority for us compared to other things.
Also on ID/IDREF, XmlBeans is indeed one of the very few, if not the
only binding solution that supports ID/IDREF in DTDs, where people
actually most often use them.
Radu
-----Original Message-----
From: Dennis Sosnoski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 9:52 PM
To: [email protected]
Subject: ID-IDREF links
XMLBeans doesn't appear to support creating links between objects to
match ID-IDREF links in the schema, instead treating them as simple
string values. Is there a rationale for this? Most other data binding
approaches do create object links corresponding to ID-IDREF.
- Dennis
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]