Hi Kimaro, While not quite real-time validation, the RevalidatingDOMParser allowed you to check the validity of a document after changes were made. The last version of the parser that supported revalidation was IBM XML4J 2.0.15 I believe.
I've been doing work off and on to try and get the RevalidatingDOMParser from XML4J up and running under Xerces with much help from Andy Clark. I've got it to the point where it compiles and correctly iterates over the tree, but it throws exceptions when it calls into the universal validator. I try to keep the current code at: http://www.vervet.com/~krawling/RevalidatingDOMParser.java There's actually a slightly newer version that i'll upload later today that's farther along with working with the Grammar class, but still not functioning with the universal validator correctly. Feel free to take a look at the code, any help is certainly appreciated! Yours, _Ken Rawlings --- Kimaro <[EMAIL PROTECTED]> wrote: > > Dear all, > I want to validate XML document whenever changes are done and to provide > some information about XML schema to guide editing process (real time > validation). > > Jeffrey has assured me that such feature is not supported by xerces-j > yet!. > > Morever, I was told by Jeffrey that Some other people in the past have > approached this problem and written their solutions.Those solution > require > detailed internal knowledge of the parser, beyond the public API. > > Can anyone help me? If you have ever faced such problem please assist > me. > > Thanks all. > Honest > > Note: my special thanks to Jeffrey also. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
