Hi Toshihiko, This is currently a limitation. The class Xerces uses for checking ID/IDREF is only capable of returning the first IDREF found without a matching ID value.
Thakns. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] Toshihiko Makita <[EMAIL PROTECTED]> wrote on 11/01/2007 10:33:52 AM: > Hello! > > I'm using Xercces-J 2.9.1. > > I tried to validate the XML document that have two invalid IDREF type > attribute 'xref' elements. > > <para>This is a test.<xref linkend="aaa"/><xref linkend="bbb"/></para> > > But Xeces reports only one error. > > 'An element with the identifier "bbb" must appear in the document.' > > Why Xerces does not report all of the unresolved IDREFs? Is this the > limitation? > > Any suggestions are welcome. > > Thanks, > > Toshihiko Makita > > --------------------------------------------------------------------- > 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]