[openbox] comment in rc.xml
Mikael Magnusson
mikachu at gmail.com
Sun Mar 18 16:35:24 EDT 2012
On 18 March 2012 21:29, Jorge Almeida <jjalmeida at gmail.com> wrote:
> A xml(?) problem:
>
> 1 <keybind key="C-S-c">
> 2 <action name="Execute">
> 3 <execute>chromium
> --proxy-server="https=127.0.0.1:8118;http=127.0.0.1:8118"</execute>
> 4 <!-- <execute>chromium --no-proxy-server</execute>-->
> 5 </action>
> 6 </keybind>
>
> The second <execute> line (line 4) is commented out. The idea is to use privoxy
> usually, and disable proxy ocasionally (when privoxy misbehaves). The problem
> is that this file is not accepted when trying to reload the openbox config: it
> says the comment is not terminated. Trying to comment out line 3 instead shows
> the same problem. What happens is that the 2 dashes in --proxy-server or
> --no-proxy-server are causing all the trouble: leaving just one makes an
> accepted, albeit useless, directive. Bug in openbox config system? (My
> knowledge of xml is rudimentary at best.)
This is simply how xml works, double dashes are invalid in comments.
http://www.w3.org/TR/xml/#sec-comments
--
Mikael Magnusson
More information about the openbox
mailing list