Author mode doesn't support accented letters in selectors

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 -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------

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 oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
Dan Caprioara
-
Jirka Kosek