Alexey Kuleshov wrote: > How to check, that changes made by an user in a tree (i.e. in the > xml-document) are done according to DTD (i.e. rules of correct > enclosure of > elements are observed, correspondence of values to types of attributes > etc.)?
Really can't be done with the current code base. Xerces2 will be better equipped to handle re-validation of DOM trees (*not* JTrees). However, there is an outdated piece of code to perform re- validation of a DOM tree. It's currently located at: http://www.vervet.com/~krawling/RevalidatingDOMParser.java But you'll still have to convert it back into a DOM tree because this code does not work with JTrees. -- Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED]
