diff --git a/include/XSLT/impl/handler/xslt_value_validation.hpp b/include/XSLT/impl/handler/xslt_value_validation.hpp index 551dda43..576409f7 100644 --- a/include/XSLT/impl/handler/xslt_value_validation.hpp +++ b/include/XSLT/impl/handler/xslt_value_validation.hpp @@ -83,7 +83,8 @@ std::map gatherAttributes(const std::string& parentEle validateXmlAttribute(parentElement, atts.getLocalName(a), atts.getValue(a), results); // special xml: attributes continue; } - validateAttribute(parentElement, atts.getLocalName(a), atts.getValue(a), rules, results); + if(atts.getURI(a) == "") + validateAttribute(parentElement, atts.getLocalName(a), atts.getValue(a), rules, results); } return results;