[Lazarus] Why Laz2_DOM, laz2_XMLRead, and laz2_XMLWrite?

Michael Van Canneyt michael at freepascal.org
Wed Sep 20 20:02:23 CEST 2017

On Wed, 20 Sep 2017, Marcos Douglas B. Santos via Lazarus wrote:

> On Wed, Sep 20, 2017 at 12:36 PM, Michael Van Canneyt via Lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>> These units work using UTF8. The DOM units use UnicodeString (UTF16).
>> Given that these units are quite stable in terms of functionality and
>> maturity, it may be a good idea to move them to the FCL.
> Yes, that is my point.
> But instead of just moving them, shouldn't they merge as well into a
> single unit, ie, only one DOM, XMLRead, and XMLWrite unit?

I don't think so, because how will you make the difference between the 2 ?
And it's not possible to have optimal code for both cases in 1 set of
classes; The idea is that there are no conversions necessary.


More information about the Lazarus mailing list