Re: [xsl] Query regarding validating XML with DTD

Subject: Re: [xsl] Query regarding validating XML with DTD
From: Abel Braaksma <>
Date: Thu, 27 Sep 2007 11:52:47 +0200
I may have missed some point in your post, but what exactly is the link to XSLT or XSL-FO? If you have have DTD related questions, it is probably best to ask them on a DTD mailing list.

-- Abel Braaksma

Deepak Angeswar wrote:

My application connects with a mobile-service-provider's server and receives XML via HTTP POST. I extract the data from XML and send an appropriate response
back to the server.
I have been given a set of DTDs by the mobile-service-provider.
The XML I receive/send via HTTP Post must adhere to these DTDs.
My question is - is it necessary to validate the XML I receive from
mobile-service-provider against the DTDs? Or can I assume that - since the XML was created by the same source who created the DTD; the XML
would definitely adhere to the required rules set in the DTD?
The reason is - I would be receiving loads and loads of such XML thro HTTP POST; if I am going to validate each such POST request against
DTDs; it might be a huge performance issue!

This e-mail is intended only for the person to whom it is addressed. If an addressing or transmission error has misdirected this e-mail, please notify the sender by replying to this e-mail. If you are not the intended recipient, please delete this e-mail and do not use, disclose, copy, print or rely on the e-mail in any manner. To the extent permitted by law, Technolog Holdings Limited and all subsidiary companies ("Technolog") does not accept or assume any liability, responsibility or duty of care for any use of or reliance on this e-mail by anyone, other than the intended recipient to the extent agreed in the relevant contract for the matter to which this e-mail relates (if any).

Technolog Holdings Ltd is a limited liability company registered at Companies House with registered number 4025830. The registered office of Technolog is Technolog House, Ravenstor Road, Wirksworth, Derbyshire DE4 4FY. Technolog may monitor outgoing and incoming e-mails and other telecommunications on its e-mail and telecommunications systems. By replying to this e-mail you give your consent to such monitoring.

This email has been scanned by the MessageLabs Email Security System.
For more information please visit ______________________________________________________________________

Current Thread