[Home] [By Thread] [By Date] [Recent Entries]
I'm nearing the completion of an open source XML parser in Java. (It's an event-based, pull parser.) I'm having some trouble figuring out how to handle "newline" characters in XML text files on different platforms. I typically ignore all whitespace in the parser, but I wanted to count newline characters to aid in errror reporting. (The parser validates for common XML syntax errors.) I've taken a look at the XML specs, but didn't completely understand what they had to say about newline characters. Do any of the experienced XML developers have some advice on the best way to handle newline characters in what I hope will be a "cross-platform" manner? Thanks, Scott Huey
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



