- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 25 Jan 2000 08:51:44 +0000
- To: www-html-editor@w3.org
For the record:
It would increase the useability of the modular DTDs significantly if
all element names in the DTD were parameterised with respect to their
namespace prefix, so that an importing client could specify which, if
any, prefix his/her instance used, e.g.
<!DOCTYPE mine [
<!ENTITY % xhtml-list.mod
PUBLIC "-//W3C//ELEMENTS XHTML 1.1 Lists 1.0//EN"
"xhtml11-list-1.mod" >
<!ENTITY % xhtml-list-prefix "xl:">
<!ENTITY % xhtml-list-suffix ":xl">
%xhtml-list.mod;
. . .
<!ELEMENT mylistwrap (xl:ol|xl:ul)>
. . .
]>
<mine xmlns:xl="http://www.w3.org/1999/xhtml">
. . .
<mylistwrap><xl:ul><xl:li>. . .</xl:li></xl:ul></mylistwrap>
. . .
</mine>
As the above suggests, I _think_ I prefer separate prefix/suffix pairs
per module, with the pre-supplied driver defaulting all the module
defaults to a single common pair of (empty by default) entities for
the whole DTD.
ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
W3C Fellow 1999--2001, part-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
Received on Tuesday, 25 January 2000 03:51:46 UTC