Re: intltool xml parsing broken
- From: Dave Malcolm <david davemalcolm demon co uk>
- To: Alexander Larsson <alexl redhat com>
- Cc: "desktop-devel-list gnome org" <desktop-devel-list gnome org>
- Subject: Re: intltool xml parsing broken
- Date: 20 Jan 2004 16:39:19 +0000
On Tue, 2004-01-20 at 12:43, Alexander Larsson wrote:
> I'm having some pretty bad problems with the new XML::Parser version of
> intltool.
>
> Its seems that its not really using an XML parser, but instead doing
> things like:
>
> # Grab attribute key/value pairs and push onto @origlist array.
> #
> while ($source =~ s|^[ \t]*([\w:]+)[ \t]*[=][ \t]*["]([^"]*)["]||s)
> {
> push @origlist, $1;
> push @origlist, $2;
>
> This has some issues for me when building shared-mime-info:
> a) It removes any attributes using ' as quote
> b) It strips out multiple whitespaces inside an attribute value,
> breaking the mime file
> c) (part of a) really), doesn't handle " quotes inside '-quoted
> attributes
I've been having similar problems; see:
http://bugzilla.gnome.org/show_bug.cgi?id=131585
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Alexander Larsson Red Hat, Inc
> alexl redhat com alla lysator liu se
> He's an immortal devious paranormal investigator looking for a cure to the
> poison coursing through his veins. She's a mentally unstable punk socialite
> with only herself to blame. They fight crime!
>
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list
--
David Malcolm
www.conglomerate.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]