}
String type = attrs.getValue(XMLParser.XACT_NAMESPACE, "type");
n = new AttributeGap(ns, aname, gap, type, origin);
}
} else {
NamespaceDecl lns = null;
for (NamespaceDecl ns : nsDecls) {
lns = new NamespaceDecl(ns.getPrefix(), ns.getNamespace(),lns, null);
}
n = new Element(uri, localname, makeAttributes(attrs, origin), null, lns, null, origin);
nsDecls = new LinkedList<NamespaceDecl>();
}
siblings.peek().push(n);