OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Does DTD validation work with namespaces?

[ Lists Home | Date Index | Thread Index ]
  • From: Norman Walsh <ndw@nwalsh.com>
  • To: "Winchel 'Todd' Vincent, III" <winchel@mindspring.com>
  • Date: Mon, 14 Aug 2000 08:41:54 -0400

/ "Winchel 'Todd' Vincent, III" <winchel@mindspring.com> was heard to say:
| I suggest to Marcus).  This would allow you to use elements from someone
| else's DTD without having to create one big DTD and you might also be able
| to take advantage of some of the Namespace features (defaulted prefixes, for
| instance), which I can't see how you would do otherwise.

I don't think it's a problem to require the author who wants to mix
several DTDs together to build the compound DTD. It's pretty straight
forward, and it lets all of the existing machinery (modulo the namespaces
tweak) to work the way it does now:

  <!-- A DocBook/HTML DTD -->
  <!ENTITY % docbook PUBLIC "-//OASIS//DTD DocBook XML V4.1.1//EN"
                     "some system URI here">

  %docbook;

  <!ENTITY % html PUBLIC "-//W3C//DTD XHTML V1.0//EN"
                     "some system URI here">
  %html;

That's pretty short and easy to do.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | On the other hand, you have different
http://nwalsh.com/            | fingers.




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS