mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-18 22:26:32 +01:00
updated attribute validation to allow attributes in the xml namespace
This commit is contained in:
parent
f7dca473b5
commit
1ad8594aad
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue