FW: Namespaces and DTDs

Didier PH Martin martind at netfolder.com
Thu Mar 11 19:28:45 GMT 1999


Hi

I am using these simple rule of thumb:

a) a XML DTD is useful for XML editors not for XML renderers
b) Most XML renderers (XSL, CSS or DSSSL won't do document validation)
c) a XML interpreter do not need a DTD (something else than rendition)

If I need a DTD at the receiving end, then I am now no longer in the XML
world but in the SGML world because the receiving end needs a validating
parser. Several SGML parser like for instance SP can parse XML simplifyed
DTD. The only simplification I gained is the -- or -0 think called omitags.
Therefore, because I have to include a DTD for validation, better use then a
SGML format.

However, on the Web, to reduce complexity, I should not assume that the
receiving end has a validating parser. Thus, because my XML document has
been validated with my XML editor or by any other validation program. The
receiving end makes the reasonnable assumption that if the docuement is a
XML docuement it is "well formed" and valid.

Its a lot simplier that way.

Regards
Didier PH Martin
mailto:martind at netfolder.com
http://www.netfolder.com



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list