[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Default DTD URI

  • From: "Sarveshwar Rao Duddu" <duddu@v...>
  • To: "Xmldev" <xml-dev@x...>
  • Date: Sat, 8 Jul 2000 21:59:12 +0530

dtd uri

I have an application where one machine sends an XML document to another.
This XML document contains some commands to be executed. The second machine
has to read the document, and after finding exactly what is to be done, send
the response to the first (in XML).
The problem is like this: the server (accepting commands in XML) has a
well - published DTD. So all documents sent by client must conform to this.
If the XML document contains ELEMENT or ATTLIST declarations, then the
server will have to do extra job of checking whether that is canonically
equivalent to predefined DTD. I want to avoid this, so I have a rule - no
ELEMENT, ATTLIST declarations permitted in the document sent by client. But
there is another problem: if an XML parser has to check whether input is
correct, it should have a DTD (internal or external). Internal has been
ruled out, so external is the only way. But then I will have to tell the
client the name/URI of the dtd file which contains the dtd on the server.
This again is not a good solution (not permanent).

So the question is: In case the user has not given a DTD file name or
specified the DTD in internal subset, can the XML processor assume one on
its own. May be the standard does not allow it, but does any of many XML
parsers available have such functionality.


This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.