mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-29 08:36:45 +01:00
Applied a change necessary for JAWS.
The Flexible Web component of JAWS needs Arabica to be more forgiving of invalid XML since it generates XML from HTML.
This commit is contained in:
parent
99fd2cf41a
commit
33d52bf39b
1 changed files with 2 additions and 1 deletions
|
@ -173,7 +173,8 @@ int prefix_mapper(std::basic_ostream<charT, traitsT>& stream,
|
|||
{
|
||||
//DOM::Node<stringT, string_adaptorT> attr = attrs.getNamedItem(*a);
|
||||
const DOM::Node<stringT, string_adaptorT> attr = attrNodes[a];
|
||||
if(isXmlns<stringT, string_adaptorT, charT>(attr.getNodeName()) ||
|
||||
if(attr.getNodeName().empty() ||
|
||||
isXmlns<stringT, string_adaptorT, charT>(attr.getNodeName()) ||
|
||||
isXmlns<stringT, string_adaptorT, charT>(attr.getPrefix()))
|
||||
continue;
|
||||
stream << UnicodeT::SPACE;
|
||||
|
|
Loading…
Add table
Reference in a new issue