The DmrppParserSax2 parser fails to see cr/lf/newline as a white space.
This fails:
This works: (Note: The single, additional, space at the beginning of the line beginning with xmlns:dmrpp):
And that's probably a bug in the DMR parser too.
I wonder if this provides a clue: https://stackoverflow.com/questions/12099614/parsing-xml-with-line-breaks-newline-characters-with-perls-libxml
I closed this because the issue is outside of the scope of our influence (i.e. libxml2)