Lists Home |
Date Index |
- From: Ronald Bourret <email@example.com>
- To: "firstname.lastname@example.org" <email@example.com>
- Date: Tue, 9 Mar 1999 18:02:24 +0100
Richard L. Goerwitz wrote:
> Maybe I misunderstand, but as far as I can see, namespaces won't help
> you, either. Why? Because even if you can refer to, say, your two TITLE
> elements by different prefixes, you'll still have to declare the prefixed
> elements in the DTD as if they were atomic element names.
> Namespaces, in other words, don't solve your problem. They may make it
> worse, in fact, because you have to know what prefixes you are going to
> declare in a given document to be able to rewrite your DTD to work with
> that document.
> There was a furor two or three months ago on this list about namespaces
> breaking validation. That furor died down when the namespace spec became
> an official recommendation (a done deal, in other words).
You are correct. In today's environment (namespace-unaware parsers and no
way to associate prefixes and URIs in the DTD), you must use the same
prefixes in the DTD and the document for validation to work. I didn't
state this because it was stated repeatedly during the aforementioned
furor, which I sincerely hope this thread won't reignite.
-- Ron Bourret
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)