For reason beyond my control, I must parse a xml without xmlns tag. I believe that it is a bad practice because it miss namespace control. Anyway, I must program for such scenario. What could be the best way to face it? I try setNamespaceAware = false and it does work for file without xmlns tag but it seems that it doesn't work properly when reading xml with xmlns tag. Plus this, I guess that by setting any awareness configuration to false isn't a good practice. I read some article telling to add the xmlns to the file programmatically but I am in doubt if it might be a good option. Any comment will be appreciated.

```
javax.xml.parsers.DocumentBuilderFactory fac = new org.apache.xerces.jaxp.DocumentBuilderFactoryImpl();
fac.setNamespaceAware(true);
org.w3c.dom.Document d = null;
javax.xml.parsers.DocumentBuilder builder = fac.newDocumentBuilder();
d = builder.parse("C:/my_folder/my_file.xml");

<?xml version="1.0" encoding="UTF-8"?>
<c:de format="N" lengthField="0" maxLength="012" minLength="012" name="AMOUNT, TRANSACTION" number="004" subFields="00"/>

```