Hi,
        While testing for IdentityConstraint cases , i observed that

 When XSElementTraverser encounters "keyRef" declarations we are saving *all* 
keyref for future use, so that it can be resolved after we have traversed 
schema.
        Before storing we can check if declaration for refered key has already 
been found. If not, *only* then we should store it (we do the same in case of 
IDREF). We can  get away with the time consuming process of retrieving proper 
declarations at later stage.We can also get away with the need of storing those 
objects,saving memory. 
        
regards

Neeraj Bajaj
---------------------
Sun Microsystems, inc.
Ph.91-80-2298989 x87425.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to