Hi, There is no API in Xerces which exposes this information. There may be some creative way to get to it by digging deep into the internals but that's not supported and you may find your code doesn't work (or compile) with future releases.
Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] chodnik <[EMAIL PROTECTED]> wrote on 11/30/2008 01:37:11 PM: > Ok, there is no implementation for DOM Level 3 Validation. But when I parse a > document and there is an error the message tels me exactly what element, > attribute or value is expected at this point of a document. The only thing I > want is to get this info before an validation exception is thrown. Is there > a way to do it? I think it is, but I can not find it. > -- > View this message in context: http://www.nabble.com/Create-a-new- > xml-document-based-on-a-schema-tp20555635p20760616.html > Sent from the Xerces - J - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]