How to parse XML and avoid parsing errors of namespace by setting a default one?
Background
I'm trying to parse some manifest XML files of Android APK files
The problem
I've noticed that in some cases, the XML files aren't valid, meaning that many times there is no namespace being defined, or that for some XML attributes, the namespace isn't used at all.
For example, this is a tiny part of Chrome APK manifest file (it's much longer):
You can see that there is no namespace being defined here, and the attributes don't use one either.
In some cases, the...