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

Michael Biebl biebl at debian.org
Mon Feb 18 08:05:26 UTC 2008


Olivier Berger wrote:
> Michael Biebl a écrit :
>> Olivier Berger wrote:
>>> Package: hal
>>> Version: 0.5.10-5
>>> Severity: normal
>>>
>>> Hi.
>>>
>>> I get errors like :
>>> Feb 18 07:52:05 rms hald[22242]: error in fdi file /etc/hal/fdi/policy/user.fdi:5: not well-formed (invalid token)
>>>
>>> Whenever /etc/hal/fdi/policy/user.fdi contains :
>>>
>>> <?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:
<!- -    - ->


Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20080218/02acaba6/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list