[Pkg-utopia-maintainers] Bug#466344: Bug#466344: Bug#466344: hal: error in fdi file : not well-formed (invalid token)

Olivier Berger olberger at gmail.com
Mon Feb 18 14:11:55 UTC 2008


Oops, OK, my fault, should have read the XML spec, I guess.

Thanks a lot.

On Feb 18, 2008 2:42 PM, Michael Biebl <biebl at teco.edu> wrote:
> Zitat von Olivier Berger <olberger at gmail.com>:
>
> >> >
> >> >> so you're fdi file is indeed buggy.
> >> >
> >> > Wrong.
> >> >
> >> > See above : first opening of comments on line 2, then rest is just
> >> > garbage inside a comment, which the XML parser should ignore.
> >> >
> >> >
> >> > seeing "< !--" inside comments is nothing to care for, right ? Only
> >> > "-->" should matter.
> >>
> >> Nested comments are not allowed. You should thus have used something like:
> >> <!- -    - ->
> >>
> >>
> >
> > That's why, if you read carefully my report, you'll notice that in the
> > second "comment", I used :
> >
> > < !-- optical drives - ->
> >
> > which is : '<', then space, then '!' ... which shouldn't block the
> > XML parser...
> >
> > Is it clearer now ?
>
> In my initial reply, I had overlooked that you were using nested
> comments. Please see the xml spec [1]. It clearly states, that --
> inside comments are *not* allowed.
> That's why proposed to use <!- - optical drives - -> in my second
> reply, because that is valid xml.
>
> Again, not a bug in hal because of invalid xml.
>
> Cheers,
> Michael
>
>
> [1] http://www.w3.org/TR/REC-xml/#sec-comments





More information about the Pkg-utopia-maintainers mailing list