I'm currently using SAX (Java) to parse a a handful of different XML documents, with each document representing different data and having slightly different structures. For this reason, each XML document ...
Well I've worked with SAX myself plenty of times, and I never had any problem with it trimming values (in fact I had to do that myself). The XML standard states that parsers should give the value exactly as it is in the document. So are you really sure that the whitespace is being trimmed? How do you check that? And ...