Re: intltool xml parsing broken



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]