Corrected two bugs on XML default namespaces when applied on attributes
(e.g., if xmlns is set, it does not resolve on attributes).