[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Parsing XML match equity tables w/o libxml2

From: Christian Anthon
Subject: Re: [Bug-gnubg] Parsing XML match equity tables w/o libxml2
Date: Thu, 30 Apr 2009 16:20:02 +0200

I remember seeing something similar until I did a "make install", so probably you need to update something in your datadir.


On Thu, Apr 30, 2009 at 3:46 PM, Jonathan Kinsey <address@hidden> wrote:
I've just got the latest code on windows and the xml parsing of the boards.xml
file fails:

** (gnubg_msdevd.exe:115588): WARNING **: An error occurred while parsing file: d

** (gnubg_msdevd.exe:115588): WARNING **: Error parsing XML: Error on line 805 c
har 21: Invalid UTF-8 encoded text - not valid '


by Joern Thyssen , 2002

* This program is free software; you can redistribute it and/or modify
* it under the terms of version 3 or later of the GNU General Public License as

[snip rest of boards.xml file is output]

It's the unusual character in España (odd n) that's causing the error, looks
like it isn't parsing the file using UTF (as the error points out) - maybe I've
got something setup wrong?


Øystein Johansen wrote:
> Hi,
> I've worked out a code that can parse XML match equity tables w/o using
> libxml. My code uses glib's g_markup_parser instead.
> However, I'm a bit in doubt if I should commit this code to the cvs.
> Pros: libxml2 becomes redundant and we can have a fully working
> installation independent of libxml2. Less code. Another use of oldList
> linked list removed from the code. (I dream that all oldList structures
> will be removed from the code one day).
> Cons: libxml2 works. It has a good error checking and the system can
> cope with strange files which comes with values first and info last, or
> any strange order. The error checking is probably better in the existing
> system than with my g_markup based code.
> Should I commit my code? Is the independence from libxml2 worth the
> possible troubles we may get with ill-ordered xml met-tables. (Such an
> ill-ordered met table will probably never occur, but who knows?)
> -Øystein
> ------------------------------------------------------------------------

> _______________________________________________
> Bug-gnubg mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-gnubg

Surfing the web just got more rewarding. Download the New Internet Explorer 8

reply via email to

[Prev in Thread] Current Thread [Next in Thread]