james anderson wrote:
> Is it more of a conceptual challenge to add an attribute declaration> to the internal subset than it is to add a global namespace> declaration to the internal subset?
Yes, especially since you might need to add more than one.
(Why do you say internal subset here? Validation DTDs are external.)
> The only difference is that the attribute declaration rquires that> one must determine the "root" element.
But this might not be known. If you know what your document looks like,
it is known, but you can also define vocabularies from which any element
can be the root (less likely) or from which any element or attribute can
be reused in another vocabulary (much more likely). The only solution
for such vocabularies is to add namespace attribute declarations to all
element type declarations.
-- Ron
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>