Re: [xsl] Query regarding validating XML with DTD

Subject: Re: [xsl] Query regarding validating XML with DTD
From: XSL-List Owner <xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Sep 2007 09:19:06 -0400
If your question is related to XSL, please clarify. If this is not a question about XSL, it is out of scope on XSL-List.

*** XSL-List regulars: please resist the impulse to respond to
*** off-topic questions on list. If you want to respond to off-topic
*** postings please send private messages to the OP.

-- Tommie


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 ______________________________________________________________________


B. Tommie Usdin                        mailto:btusdin@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      
17 West Jefferson Street                           Phone: 301/315-9631
Suite 207                                    Direct Line: 301/315-9634
Rockville, MD  20850                                 Fax: 301/315-8285
  Mulberry Technologies: A Consultancy Specializing in XML and SGML

Current Thread