title: How to get "xmlns:XXX" attribute if set setNamespaceAware(true) in SAX?
body: <p>Here is my code:</p>
  
  <pre><code>path = wsdlPath;
  SAXParserFactory saxfac = SAXParserFactory.newInstance();
  saxfac.setNamespaceAware(true);
  saxfac.setXIncludeAware(true);
  saxfac.setValidating(false);
  SAXParser saxParser = saxfac.newSAXParser();
  saxParser.parse(wsdlPath, this);
  </code></pre>
  
  <p>After Setting <code>setNamespaceAware=true</code>, I can't get the <code>xmlns:XXX</code> attributes in parameter <code>attributes</code> of method <code>public void startElement(String uri, String localName, String qName, Attributes attributes)</code>.</p>
  
  <p>for the following node:</p>
  
  <pre><code>&lt;definitions name="Service1"
      targetNamespace="http://www.test.com/service"
      xmlns="http://schemas.xmlsoap.org/wsdl/"
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
      xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
      xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
      xmlns:tns="http://www.test.com/"&gt;
  </code></pre>
  
  <p>I just get <code>name</code> and <code>targetNamespace</code> attribute. <code>xmlns</code>, <code>xmlns:wsdl</code>, <code>xmlns:mime</code>, <code>xmlns:http</code> and <code>xmlns:tns</code> are in the <code>attributes</code> parameter. But they are not accessible.</p>
  
  <p>Is there any way to use <code>setNamespaceAware=true</code> and get all attributes of a node?</p>