> Couldn't you just use the ID to compare in this case, rather than the object the
> IDREF refers to? It would still be correct equality wouldn't it and would stop
> cyclic graphs.
I'm just saying the graph may be cyclic, so a comparison based on a
simple depth-first recursion wouldn't work.
Like I said, it is possible to define the equality over cyclic graphs.
regards,
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net