Re: intltool xml parsing broken
- From: Kenneth Rohde Christiansen <kenneth gnu org>
- To: Alexander Larsson <alexl redhat com>
- Cc: "desktop-devel-list gnome org" <desktop-devel-list gnome org>
- Subject: Re: intltool xml parsing broken
- Date: Tue, 20 Jan 2004 20:04:00 +0100
Hi Alex,
I added your infomation to bugzilla #131585.
Kenneth
On Tue, 2004-01-20 at 13:43 +0100, 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]