El Jueves 10 Marzo 2005 14:54 escribiste:
> On Thu, Mar 10, 2005 at 02:02:05AM +0200, Cesar Martinez Izquierdo 
<[EMAIL PROTECTED]> wrote:
> > Package: mozilla-firefox
> > Version: 1.0.1-2
> > Severity: normal
> >
> > Hello, I'm preparing the updated mozilla-firefox-locale-all package,
> > with 1.0.1 translations.
> >
> > In some of these mozilla.org translations, the fist line of install.rdf
> > is a blank line, and then <?xml version="1.0"?> is in the second line.
> >
> > In that situation, firefox-bin -register fails and thus
> > update-mozilla-firefox-chrome also fails.
> >
> > The most puzzling thing is that firefox-bin returns a 0 value, so it
> > doesn't return the error.
> >
> > I can patch the install.rdf files to workaround this (and I will
> > do), so it's not a pressing problem, but anyway it's quite nasty thing
> > that firefox fails and doesn't return the error value.
>
> While it is quite bad that firefox fails in such cases, it is also bad
> that install.rdf files are not valid XML files. XML specification says
> XML declaration has to appear at the very start of the document, if it
> ever appears.
>
> I will, on my side, try to make the extensions manager less error
> prone...
>
> Mike

I'm not an XML expert, so I was reading yesterday the XML specification before 
reporting the bug, and it was not clear for me if blank space matters.
Anyway, I will report this bug upstream so that they also correct the 
offending install.rdf files.

By the way, I've prepared my package with corrected install.rdf files, so you 
don't need to hurry up to much to correct this.

Thank you very much, regards,

  César

Reply via email to