Namespaces and DTDs

james anderson James.Anderson at mecomnet.de
Tue Mar 9 17:21:20 GMT 1999


? which of the "namespace aware" parsers will permit you to parse validate a
document for which partions of the dtd contain element declarations with
ambiguous names - without first modifying the dtd? i've yet to hear a solution
to the "ambiguous name" problem for xml-1.0/+ns conforming parsers.

Ronald Bourret wrote:
> 
> Elliotte Rusty Harold wrote:
> 
> > 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?
> > ...
> 
> If you want to use a namespace-unaware parser, I don't see how you can
> avoid rewriting the DTDs. ...l


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