at second glance too...
> String expandName(String name, Element element, boolean isAttribute) {
>   // ...
>   for (; element != null; element = element.getParent()) {
>     String ns = element.getAttributeValue(declAttName);
    // ...
> }
(as an addenda to my questions re dtd encoding:)
how does one do attribute defaulting on attributes in the "xmlns" namespace
when the universal name of the element type is not yet defined?