On Thu, 2003-09-18 at 21:43, Gloria Yang wrote: > Does revalidation means reparsing ? > Can xerces revalidate a DOM tree without reparsing it? > Cause performance is concerned.
With the DOM2 standard API, there is unfortunately no way to revalidate an XML document other than serializing it to text, then reparsing it. As you say, this has performance problems. With the DOM3 API, there will be a way to revalidate DOM objects. The DOM3 standard is not quite finished yet (see www.w3.org for details). Xerces has an implementation of DOM3 in CVS, but not in the "official" releases because the DOM3 standard hasn't yet been published. So you can: (a) wait a little while for DOM3 to be published, and Xerces to release a version with DOM3 included, or (b) use an "unofficial" Xerces release with the draft DOM3 api, or (c) use Xerces-specific APIs. The Xerces website has more details on DOM3 support. Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
