LINUX.ORG.RU

История изменений

Исправление deep-purple, (текущая версия) :

https://stackoverflow.com/questions/30500827/xml-indent-and-newline-for-new-c...

http://xmlsoft.org/FAQ.html

In XML all characters in the content of the document are significant including blanks and formatting line breaks.

The extra nodes you are wondering about are just that, text nodes with the formatting spaces which are part of the document but that people tend to forget. There is a function xmlKeepBlanksDefault () to remove those at parse time, but that's an heuristic, and its use should be limited to cases where you are certain there is no mixed-content in the document.

Исходная версия deep-purple, :