Namespaces and DTDs
Elliotte Rusty Harold
elharo at metalab.unc.edu
Tue Mar 9 00:52:11 GMT 1999
Situation:
I have several DTDs with conflicting definitions of certain elements.
(e.g one defines a HEAD as a TITLE followed by a META and another
defines a HEAD as #PCDATA). I need to use all the DTDs and associated
markup languages for a single document.
To an extent I can disambiguate them with namespaces. However, is there
any way I can do this while still validating against the orignal DTDs?
That is without rewriting the DTDs to use the qualified names instead of
the orignal names that are in the DTDs? I've been trying to work with
default values for xmlns attributes, and the like; but that doesn't seem
to get me quite all the way to where I need to go. Am I going to have to
break down and just rewrite the DTDs to use the qualified names?
--
Elliotte Rusty Harold
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