You need to explicitly turn on the identity constrain checkingdc->setParameter(XMLUni::fgXercesIdentityConstraintChecking, true);
Alberto,That looked promising, but it doesn't appear to have made any difference, duplicate elements are still not caught.
Incidentally, is there a single option that would enable all schema validation options?
Dave