updated attribute validation to allow attributes in the xml namespace

This commit is contained in:
jez 2008-08-09 21:03:15 +01:00
parent f7dca473b5
commit 1ad8594aad

View file

@ -66,6 +66,8 @@ std::map<std::string, std::string> 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);
}