Simon, How does one know if the DTD has nothing but validation rules?
Thanks, Jon Sample DTD content: <!-- ================= --> <!-- Top Level Element --> <!-- ================= --> <!ELEMENT cardActionVendor (request|response)> <!-- ================================= --> <!-- Complex Elements request/response --> <!-- ================================= --> <!ELEMENT request (user,password,cardid,cardAction,merchantID, locationID,trackingNumber)> <!ELEMENT response (user,password,cardid,cardAction,merchantID, locationID,trackingNumber, responseCode,responseText,responseLog)> <!-- =============== --> <!-- Simple Elements --> <!-- =============== --> <!ELEMENT user (#PCDATA)> <!ELEMENT password (#PCDATA)> <!ELEMENT cardid (#PCDATA)> <!ELEMENT cardAction EMPTY> <!ATTLIST cardAction action (activate|deactivate|status) "activate"> <!ELEMENT merchantID (#PCDATA)> <!ELEMENT locationID (#PCDATA)> <!ELEMENT trackingNumber (#PCDATA)> <!ELEMENT responseCode (#PCDATA)> <!ELEMENT responseText (#PCDATA)> <!ELEMENT responseLog (#PCDATA)> -----Original Message----- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 5:27 AM To: Jakarta Commons Users List Subject: Re: [Digester] How to turn off parse's attempt to retrieve dtd? However ignoring the DTD can potentially change the meaning of a document, and so should only be done when the DTD is known to have nothing but validation rules in it. Cheers, Simn --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
