I want to check well-formedness of a big XML file. (about 4GB.)
However, when I try xmlwf, all it tells me is
filename.xml: Value too large for defined data type
What to do with it? Is there any other way to check it?
(I am using debian linux and gentoo linux)

man xmlwf: "-r Normally xmlwf memory-maps the XML file before parsing; this can result in faster parsing on many platforms. -r turns off memory-mapping and uses normal file IO calls instead. Of course, memory-mapping is automatically turned off when reading from standard input." By the way, I assume you are using a 64-bit setup... – Deer Hunter Feb 22 at 19:22