Hi Alex.
 
Thanks for your quick answer.
 
>Xerces doesn't appear to report any warnings in the DTD (which I don't
>believe it has to, to conform to the Recommendation).
I totally agree with you.
According to the recommandation, a parser is not asked to report any warning.
 
But it can if it wants to and I thought that Xerces could do this because of what you can read on the following site :
http://xml.apache.org/xerces-j/features.html
 
That is to say : Xerces seems to have two features that should produce a call to the warning() method :
 
http://apache.org/xml/features/validation/warn-on-duplicate-attdef
True:   Warn on duplicate attribute declaration.  
False:   Do not warn on duplicate attribute declaration.  
Default:   false  
http://apache.org/xml/features/validation/warn-on-undeclared-elemdef
True:   Warn if element referenced in content model is not declared.  
False:   Do not warn if element referenced in content model is not declared.  
Default:   false  
So I was wondering if these features were useful or not.
 

> Some programming is required if you want to get this information.

Thanks for your tips. If it's the only solution, I'll change my handler.
 
 
Bye bye.
 
 
                                                    Jean-Guillaume.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to