From 1ad8594aadcbe4edcfb1a23c1c3129cde70ddf4b Mon Sep 17 00:00:00 2001 From: jez Date: Sat, 9 Aug 2008 21:03:15 +0100 Subject: [PATCH] updated attribute validation to allow attributes in the xml namespace --- include/XSLT/impl/handler/xslt_value_validation.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/XSLT/impl/handler/xslt_value_validation.hpp b/include/XSLT/impl/handler/xslt_value_validation.hpp index 19ccfd7a..66cd33a4 100755 --- a/include/XSLT/impl/handler/xslt_value_validation.hpp +++ b/include/XSLT/impl/handler/xslt_value_validation.hpp @@ -66,6 +66,8 @@ std::map gatherAttributes(const std::string& parentEle { if(atts.getLocalName(a) == "") continue; // namespace decl + if(atts.getURI(a) == "http://www.w3.org/XML/1998/namespace") + continue; // special xml: attributes validateAttribute(parentElement, atts.getLocalName(a), atts.getValue(a), rules, results); }