[fpc-devel] XML Components

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Nov 2 14:22:15 CET 2012


Andrew Brunner <atbrunner at aurawin.com> hat am 2. November 2012 um 13:59
geschrieben:
>
>
> On Nov 2, 2012, at 7:24 AM, Michael Van Canneyt <michael at freepascal.org>
> wrote:
>
> >
> >
> > On Thu, 1 Nov 2012, Andrew Brunner wrote:
> >
> >> I'm having a problem getting the XML parser to read.
> >>
> >> Is there any way I can get the attached program to work by changing a
> >> parsing option to one less strict. My XML documents get over 1-2 GBs since
> >> they represent files. So having to convert /scan each byte is unacceptable.
> >
> > I suggest you revert to something else than XML, if that's an option.
> > XML is notoriously slow to load.
> >
>
> I don't know if at this point I am able to switch. It's not practical. I could
> just grab PFC XML components and derive something outside FPC project scope.

Have you tried the xml units in Lazarus? They are 99% the fpc units just ported
to use UTF8 strings instead of widestrings.

Mattias



More information about the fpc-devel mailing list