Preserve spaces and carriage return with FXmlParser

Hi, I have a problem with FXmlParser, it seems its not preserving spaces or carriage returns. The code just tokenize everything, including text values. So if you have an xml like this:

<branch>With this         command
            Usage:
            /allianceinvite [guild-leader]
</branch>

the spaces after “this” will disappear, and you will have all text in one line.
The result after the parser will be: “With this command Usage: /allianceinvite [guild-leader]”

Xml specification says spaces can be preserved and carriage returns as well.