Hi, I want to validate a document while I'm creating it. I've got a DTD, and elements are required to have attributes or children of certain type. But during construction, the existance of this attributes or children isn't tested, of course. And I don't know how to tell "someone" that the document is finished, and that the validation process should be perfomed.
For now, I serialize the document to a string, and use the parser to do the validation process. But it's a bit long and complicated for just validation... Do you know a shorter way ? Eric. _______________________________________ Eric SCHAEFFER [EMAIL PROTECTED] POSTER CONSEIL 118 rue de Tocqueville 75017 PARIS FRANCE Tel. : 33-140541058 Fax : 33-140541059 _______________________________________ ---------------------------------------------------------------------------- ----------------------------- Come to the first official Apache Software Foundation Conference! ----------------------------------- http://ApacheCon.Com ------------------------------------