Com sun xml parser validating parser
Note that only whitespace which is directly contained within element content that has an element only content model (see XML Rec 3.2.1) will be eliminated.Due to reliance on the content model this setting requires the parser to be in validating mode.
To the best of my knowledge, the Incredible XML Parser is the best "non-validating C XML parser" currently available 😄 (and by a large margin! If you are still experiencing character encoding problems, I suggest you to convert your XML files to UTF-8 using a tool like iconv (precompiled win32 binary).This project started from my frustration that I could not find any simple, portable XML Parser to use inside all my projects (for example, inside the award-winning TIMi software suite commercialized by the Business-Insight company). I was using XML as standard for all my input/ouput configuration and data files.