Currently Reference IDs must be UNIQUE! They map to ID/IDREF as
specified by XML, which means IDs must be globally unique. If you have
two objects with the same ID it is an error.

We are working support for keys, but it's not available yet.

--Keith 


-------- Original Message --------
  Subject: 
         [castor-dev] strange behavoir while unmarshalling.
    Date: 
         Thu, 30 May 2002 11:15:12 +0200
    From: 
         "Benjamin Voiturier" <[EMAIL PROTECTED]>
Reply-To: 
         [EMAIL PROTECTED]
      To: 
         [EMAIL PROTECTED]




   Hi,



   I�m using the <bind-xml reference=�true� node=�attribute�/> option
for marshalling/unmarshalling a structure 
containing several times the same object.

   Sometimes, unmarshalling blocks in the middle of the process and I
don�t really know why.

   It blocks when e.g. there is a reference to an object A (id=1) and
another object of a different type with 
the same ID (1) is also present in the marshalled document.

   Is reference a reference to an object of the same class with the
specified ID or is it a reference to any 
object of any type with the specified ID ???



   Thanks

   Benjamin.

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to