throws SAXException {
if (this.documentHandler==null)
throw new SAXException("DocumentHandler not set");
NamespacesTable.Name name=this.namespaces.resolve(uri,raw,null,loc);
// Create the AttributeList
AttributeListImpl a2=new AttributeListImpl();
// Set the xmlns:...="..." attributes
if (this.undecl.size()>0) {
for (int x=0; x<this.undecl.size(); x++) {
NamespacesTable.Declaration dec=null;
dec=(NamespacesTable.Declaration)this.undecl.elementAt(x);
String aname="xmlns";
if (dec.getPrefix().length()>0) aname="xmlns:"+dec.getPrefix();
a2.addAttribute(aname,"CDATA",dec.getUri());
}
this.undecl.clear();
}
// Set the real attributes
for (int x=0; x<a.getLength(); x++) {
NamespacesTable.Name aname=namespaces.resolve(a.getURI(x),
a.getQName(x),
null,
a.getLocalName(x));
a2.addAttribute(aname.getQName(),a.getType(x),a.getValue(x));
}
// Call the document handler startElement() method.
this.documentHandler.startElement(name.getQName(),a2);
}