but also see http://marc.theaimsgroup.com/?l=jakarta-commons- dev&m=106527328517021&w=2

- robert

On 27 Nov 2003, at 07:16, Olivier Lamy wrote:

http://jakarta.apache.org/commons/digester/api/org/apache/commons/ digest
er/Digester.html#setValidating(boolean)


-----Message d'origine-----
De : Roberto Jr [mailto:[EMAIL PROTECTED]
Envoy� : mercredi 26 novembre 2003 19:59
� : [EMAIL PROTECTED]
Objet : [Digester] How to validate a XML with a DTD Schema



Pepole,

Is there any method that I need to call to validate my XML with a DTD
Schema before call the parse method of a Digester object?

Example: I have a XML and I wrote those lines in my XML:
<!DOCTYPE builderView
        PUBLIC "-//SoftSite Tecnologia//DTD BuilderView XML Version
1.0//EN"
        "http://www.softsite.com.br/dtd/builderView_1.0.dtd";>

So, I want that Digester throws an Exception if the XML is not
corresponding with my DTD Schema
(http://www.softsite.com.br/dtd/builderView_1.0.dtd) when I call the
parse method.

Thanks a lot,

______________________________
Roberto R. Costa Lima Jr.
SoftSite Tecnologia
Fortaleza, Ce, Brazil



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
**********************************************************************
Ce message �lectronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci apr�s "le message" ), sont confidentiels et destin�s exclusivement � l'usage de la personne � laquelle ils sont adress�s. Si vous avez re�u ce message par erreur, merci de le renvoyer � son �metteur et de le d�truire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non express�ment autoris�es de ce message, sont interdites.
**********************************************************************





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to