xsl-list
[Top] [All Lists]

[xsl] Query regarding validating XML with DTD

2007-09-27 02:49:11




 
Hello,
 
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!
 
 
Regards,
Deepak.
 

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 http://www.messagelabs.com/email 
______________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>