[Lazarus] Why Laz2_DOM, laz2_XMLRead, and laz2_XMLWrite?

Michael Van Canneyt michael at freepascal.org
Wed Sep 20 17:36:14 CEST 2017



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

> Hi,
>
> Nowadays we have Unicode and so on.
>
> Is there any reason to these units (Laz2_DOM, laz2_XMLRead, and
> laz2_XMLWrite) still exists?
>
> I've always used them, but days ago I needed to use XPath and the
> xpath unit works using objects from DOM unit, not laz2_DOM, and
> because that my doubt.

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.

Michael.


More information about the Lazarus mailing list