(restoing apcupsd-users cc:)
Andrew Telford wrote:
> Hi,
>
> I have tried it on Gentoo with both hal 0.5.9.1-r3 (stable) and 0.5.10
> (unstable). In both cases the syntax error message goes away with my
> patch.
>
> With these versions a DTD file /usr/share/hal/fdi/fdi.dtd is
> installed - as you can see from the excerpt below, the "match"
> element has no "type" attribute.
> [...]
>
> See
>
http://people.freedesktop.org/~david/hal-spec/hal-spec.html#fdi-matching> for the current documentation,
Sure enough, the policy file is incorrect as you say. RHEL5 uses hal-0.5.8
which has the same DTD, so it's also "wrong" on that system as well.
Strangely, though, it works just fine. I retried it just to be sure.
Anyway, I will apply your fix for apcupd-3.14.4. Thanks!
--Adam
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Apcupsd-users mailing list
Apcupsd-users@...
https://lists.sourceforge.net/lists/listinfo/apcupsd-users