[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 13:08:09 UTC 2008


On Feb 18, 2008 9:05 AM, Michael Biebl <biebl at debian.org> wrote:
> >>> <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
> >>> <!--
> >>> <deviceinfo version="0.2">
> >>>     <device>
> >>>         < !-- optical drives - ->
> >>            ^                    ^
> >> Xml comment syntax is <!-- -->,
> >
> > Yes.
> >
> >> 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 ?





More information about the Pkg-utopia-maintainers mailing list