final String name,
final ADocument ownerDocument,
final int indexSep) {
super(name, ownerDocument,indexSep);
if (getNodeType() == Node.ELEMENT_NODE) {
CDocType dt = (CDocType)ownerDocument.doctype;
if (dt != null) {
org.allcolor.dtd.parser.CElement elem =
(org.allcolor.dtd.parser.CElement)dt.getKnownElements().get(name);
if (elem != null) {
Map attr = elem.getAttributes();
if (attr != null) {
for (Iterator it = attr.entrySet().iterator();it.hasNext();) {
Map.Entry entry = (Map.Entry)it.next();