mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-17 18:12:04 +01:00
allow whitespace within xsl:output
This commit is contained in:
parent
334317f422
commit
67e8a31360
1 changed files with 3 additions and 1 deletions
|
@ -53,7 +53,9 @@ public:
|
|||
|
||||
virtual void characters(const std::string& ch)
|
||||
{
|
||||
throw SAX::SAXException("xsl:output must be empty");
|
||||
for(std::string::const_iterator i = ch.begin(), e = ch.end(); i != e; ++i)
|
||||
if(!Arabica::XML::is_space(*i))
|
||||
throw SAX::SAXException("xsl:value-of element must be empty");
|
||||
} // characters
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue