|
I see some problems with you proposal. The one which concerns me most is encoding related.
XML document can be represented in many possible encodings (UTF-8, UTF-16, ISO-8859-1, ...). If you map this document directly into memory without some sort of encoding normalization (which is done in the most today's parsers) you will be forced to manually encode/decode all strings which are read/write from/into document.
Do you have any idea how to deal with this problem.
|