Thanks for your early response.

2007/5/7, Alberto Massari <[EMAIL PROTECTED]>:
Hi Jose,
it's not that Xerces doesn't support
descendant::, it's that XMLSchema doesn't allow
that axis in the selector for identity constraints:

Oops. Thanks for your explanation.

Try moving the identity constraint in the
definition for TREE and replace the selector with ".//NODE"

But,... What will happens if REFERENCE was called NODE too.

<TREE>
...
<NODE id="2">
</TREE>
...
<REFERENCES>
...
   <NODE ref="2">
</REFERENCE>




--
José Luis Zabalza
jlz.3008 at gmail.com
Linux Counter 172551

Reply via email to