[oXygen-user] Author mode doesn't support accented letters in selectors

Dan Caprioara
Thu May 8 02:09:21 CDT 2008


Hello,

At this time the parser we use does not interpret correctly the @charset 
specification. The workaround is to escape the characters that are out 
of the basic Latin character set. See 
http://www.w3.org/TR/CSS21/syndata.html#characters

For instance, the ž character can be specified like "\00017E ":

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="test.css"?>
<root>
    <želi> sample </želi>
</root>

So you can use:

*{
    display:block;
}
\00017E eli{
    border:2px solid red;
}

We will try to fix this problem in a next oXygen release.

Best regards,
Dan


Jirka Kosek wrote:
> Hi,
>
> it seems that in Author mode (in oXygen 9.1) doesn't recognize 
> accented letters in CSS selectors and thus it is not unable to 
> properly style documents that use non-English characters in element 
> names.
>
> See attached test files. Text "AAA" should display in red, but Author 
> mode displays it in black as it ignores selector in
>
> čuk { color: red; }
>
>             Jirka
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user



More information about the oXygen-user mailing list