Lists Home |
Date Index |
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.