bernard.deschamp at sonovision-itep.fr wrote:
> In a css file, If I use a "radio-button" associated to a "yes or no" attribute
> which has a lowercase name, it works very well.
> But if the attribute name is in uppercase (see "OK" attribute in the attached
> example), then XXE try to create it with a lowercase name (ok=.. instead of
> OK=..)
> 
> Sorry if it is due to a bad usage or an error in configuration ; I am a new
> user...
> 
>  (the xxe extension has been replaced by .xe because I have got a pb with
> Winzip).

This is very easy to fix.

The problem comes from the CSS style sheet in which you have specified 
radio-button. A CSS style sheet is case-insensitive.

Just replace:

---
REP::attribute(OK) {
        attribute-content-left: " ";
        attribute-content-middle: radio-buttons(
                attribute, OK,
                labels, "Bon\A Faux",
                values, "1\A 0"
                );
        show-attribute: always;
        margin-left:5pt;
        color: black;
     }
---

by:

---
REP::attribute("OK") {
        attribute-content-left: " ";
        attribute-content-middle: radio-buttons(
                attribute, "OK",
                labels, "Bon\A Faux",
                values, "1\A 0"
                );
        show-attribute: always;
        margin-left:5pt;
        color: black;
     }
---

Notice that CSS case-insentive identifiers OK have been replaced by CSS 
quoted strings "OK".






Reply via email to