Re: [Lazarus] [ANN] Xavier for XML — Compatible with FPC and Delphi

2017-09-20 Thread R0b0t1 via Lazarus
On Wed, Sep 20, 2017 at 5:33 PM, Michael Van Canneyt via Lazarus wrote: > > > On Wed, 20 Sep 2017, Marcos Douglas B. Santos via Lazarus wrote: > >> On Wed, Sep 20, 2017 at 4:31 PM, Michael Van Canneyt via Lazarus >> wrote: >>> >>> >>> >>> On Wed, 20 Sep 2017, Marcos Douglas B. Santos via Lazarus

Re: [Lazarus] [ANN] Xavier for XML — Compatible with FPC and Delphi

2017-09-20 Thread leledumbo via Lazarus
Free Pascal - Lazarus mailing list wrote > Hi, > > I'm working in my new "pet project" called Xavier. > Xavier is an object-oriented library for work with XML. > > The motives and announcement is on the forum: > http://forum.lazarus.freepascal.org/index.php/topic,38343.0.html Apart from not need

Re: [Lazarus] [ANN] Xavier for XML — Compatible with FPC and Delphi

2017-09-20 Thread Marcos Douglas B. Santos via Lazarus
On Wed, Sep 20, 2017 at 7:33 PM, Michael Van Canneyt via Lazarus wrote: > > [...] > > You should be programming Java: > https://steve-yegge.blogspot.be/2006/03/execution-in-kingdom-of-nouns.html Nah... most of them know nothing about true OOP. They believe that an object is a "record" with getter

Re: [Lazarus] [ANN] Xavier for XML — Compatible with FPC and Delphi

2017-09-20 Thread Michael Van Canneyt via Lazarus
On Wed, 20 Sep 2017, Marcos Douglas B. Santos via Lazarus wrote: On Wed, Sep 20, 2017 at 4:31 PM, Michael Van Canneyt via Lazarus wrote: On Wed, 20 Sep 2017, Marcos Douglas B. Santos via Lazarus wrote: Hi, I'm working in my new "pet project" called Xavier. Xavier is an object-oriented l

Re: [Lazarus] Error loading a package with different versions

2017-09-20 Thread Marcos Douglas B. Santos via Lazarus
On Wed, Sep 20, 2017 at 4:53 PM, Mattias Gaertner via Lazarus wrote: > On Wed, 20 Sep 2017 15:09:43 -0300 > "Marcos Douglas B. Santos via Lazarus" > wrote: > >>[...] >> I'm using trunk, but an old revision: >> Lazarus 1.9.0 r54784 FPC 3.0.1 i386-win32-win32/win64 > > Please create a bug report.

Re: [Lazarus] [ANN] Xavier for XML — Compatible with FPC and Delphi

2017-09-20 Thread Marcos Douglas B. Santos via Lazarus
On Wed, Sep 20, 2017 at 4:31 PM, Michael Van Canneyt via Lazarus wrote: > > > On Wed, 20 Sep 2017, Marcos Douglas B. Santos via Lazarus wrote: > >> Hi, >> >> I'm working in my new "pet project" called Xavier. >> Xavier is an object-oriented library for work with XML. > > > I don't understand the '

Re: [Lazarus] Error loading a package with different versions

2017-09-20 Thread Mattias Gaertner via Lazarus
On Wed, 20 Sep 2017 15:09:43 -0300 "Marcos Douglas B. Santos via Lazarus" wrote: >[...] > I'm using trunk, but an old revision: > Lazarus 1.9.0 r54784 FPC 3.0.1 i386-win32-win32/win64 Please create a bug report. Mattias -- ___ Lazarus mailing list La

Re: [Lazarus] [ANN] Xavier for XML — Compatible with FPC and Delphi

2017-09-20 Thread Michael Van Canneyt via Lazarus
On Wed, 20 Sep 2017, Marcos Douglas B. Santos via Lazarus wrote: Hi, I'm working in my new "pet project" called Xavier. Xavier is an object-oriented library for work with XML. I don't understand the 'why' ? Should I understand that you consider the DOM units not object-oriented ? Michae

Re: [Lazarus] Why Laz2_DOM, laz2_XMLRead, and laz2_XMLWrite?

2017-09-20 Thread Mattias Gaertner via Lazarus
On Wed, 20 Sep 2017 20:38:23 +0200 (CEST) Michael Van Canneyt via Lazarus wrote: >[...] > Currently not, I think. > All the more reason to move everything to FCL in a unified codebase. +1 > Or use your suggestion and use something like > > Type > {$IFDEF XMLUTF8} > XMLString = UTF8String;

[Lazarus] [ANN] Xavier for XML — Compatible with FPC and Delphi

2017-09-20 Thread Marcos Douglas B. Santos via Lazarus
Hi, I'm working in my new "pet project" called Xavier. Xavier is an object-oriented library for work with XML. The motives and announcement is on the forum: http://forum.lazarus.freepascal.org/index.php/topic,38343.0.html Best regards, Marcos Douglas -- _

Re: [Lazarus] Why Laz2_DOM, laz2_XMLRead, and laz2_XMLWrite?

2017-09-20 Thread Michael Van Canneyt via Lazarus
On Wed, 20 Sep 2017, Marcos Douglas B. Santos via Lazarus wrote: On Wed, Sep 20, 2017 at 3:02 PM, Michael Van Canneyt via Lazarus wrote: 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 wrote: These uni

Re: [Lazarus] Why Laz2_DOM, laz2_XMLRead, and laz2_XMLWrite?

2017-09-20 Thread Marcos Douglas B. Santos via Lazarus
On Wed, Sep 20, 2017 at 3:02 PM, Michael Van Canneyt via Lazarus wrote: > > > 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 >> wrote: >>> >>> >>> These units work using UTF8. The DOM units use UnicodeString

[Lazarus] Error loading a package with different versions

2017-09-20 Thread Marcos Douglas B. Santos via Lazarus
I have a package with different versions like this: /mypack /1.0/src... /2.0/src... Then I have 2 project, each one using a different version. The same environment like this: http://wiki.freepascal.org/Lazarus_Packages#Example_library_with_multiple_lpk My problem is: Every time that I switch

Re: [Lazarus] Why Laz2_DOM, laz2_XMLRead, and laz2_XMLWrite?

2017-09-20 Thread Michael Van Canneyt via Lazarus
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 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

Re: [Lazarus] Why Laz2_DOM, laz2_XMLRead, and laz2_XMLWrite?

2017-09-20 Thread Marcos Douglas B. Santos via Lazarus
On Wed, Sep 20, 2017 at 12:36 PM, Michael Van Canneyt via Lazarus 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 p

Re: [Lazarus] Why Laz2_DOM, laz2_XMLRead, and laz2_XMLWrite?

2017-09-20 Thread Michael Van Canneyt via Lazarus
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 obje

[Lazarus] Why Laz2_DOM, laz2_XMLRead, and laz2_XMLWrite?

2017-09-20 Thread Marcos Douglas B. Santos via Lazarus
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. Best rega