Hello, it seems polkit XML parsing is fairly broken: polkitbackendactionpool.c:_cdata(), set as XML_SetCharacterDataHandler(), expect to be called only once with the full value of a string, in contrast to what expat actually promises. Fixing this would unfortunately require a fairly intrusive change to the XML parser. Please file a bug to make sure this item is not forgotten. Mirek
----- Original Message ----- > Hello, > I'm trying to use special characters (the ones that should start with an > ampersand '&' and finish with semicolon ';') but I can't make it work. It > only outputs the part after the ampersand. (eg: ' some text there') > This is part of the .policy file I'm using. > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE policyconfig PUBLIC > "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" > " http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd "> > <policyconfig> > <vendor> Some text here & some text there </vendor> > <vendor_url> http://example.com/ </vendor_url> > <action id="..."> > ... > </action> > </policyconfig> > Is there another way of encoding it? > _______________________________________________ > polkit-devel mailing list > polkit-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/polkit-devel
_______________________________________________ polkit-devel mailing list polkit-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/polkit-devel