print methods: replaces " />" by "/>"
Brought to you by:
leethomason
concerning tinyxml-version 2.3.0:
the print methods for nodes and xml declaration end tags by
" />"
While the trailing space character does not violate any
official standard it is not very common. We noticed it
by a failure of our regression tests when we switched
to tinyxml.
The following methods in tinyxml.cpp are patched:
TiXmlElement::Print, TiXmlDeclaration::Print and
TiXmlDeclaration::StreamOut.
print methods: replace " />" by "/>"
Logged In: YES
user_id=869295
I've read several (unofficial) pieces of XML documentation
that recommend that the space be included, for
compatibility. So I think it's more common that you realise.
I've yet to find a parser that cares either way, though.