Hello,

We have a set of xml files publicly browsable through our svn repository (it is 
open source), and we want to also make the files easily editable using XXE. The 
files are rather straightforward dictionary files with a simple structure. The 
files are styled using a processing instruction which links a CSS stylesheet. 
This works fine in both all modern browsers, and using XXE. Just to have a 
look, open the following link with your favorite browser:

https://victorio.uit.no/langtech/trunk/words/dicts/smanob/src/cc_smanob.xml

To make the content look ok in modern browsers, we have been using a few CSS3 
construct, which cause a long list of warnings when opening the files in XXE 
(paths are local to my system, but opening the file directly from the 
repository using webdav will of course give the same warnings):

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:53:35: 
unsupported property "border-bottom"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:59:21: 
unsupported property "cursor"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:60:18: 
unsupported property "cursor"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:71:20: 
unknown pseudo-element or pseudo-class "nth-child"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:72:20: 
unknown pseudo-element or pseudo-class "nth-child"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:72:33: 
unsupported value for property "border"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:99:32: 
unsupported property "text-transform"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:171:24: 
unsupported value for property "margin-left"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:185:29: 
unknown pseudo-element or pseudo-class "only-of-type"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:185:43: 
unsupported value for property "content"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:186:22: 
unknown pseudo-element or pseudo-class "only-of-type"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:191:27: 
unknown pseudo-element or pseudo-class "only-of-type"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:204:29: 
unsupported value for property "margin-left"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:229:25: 
unsupported value for property "margin-left"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:237:32: 
unsupported property "text-transform"

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:248:9: 
syntax error: expected ',' or '{', found '~'

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:253:9: 
syntax error: expected ',' or '{', found '~'

file:/Users/sjur/langtech/main/words/dicts/scripts/gt_dictionary.css:263:24: 
unsupported value for property "margin-left"


I know that some of these things are not presently supported in XXE (like 
border specifications for only one side of the box), but are there plans to add 
support for some of the CSS3 features like the nth-child or ~ selectors?

An althernative solution to avoid the warnings would be to hide the CSS 
constructs from XXE, like it is possible to wrap XXE extensions to CSS in an 
@media construct to hide them from other processors. But that isn't possible as 
far as I know (a negative @media construction, like 'do NOT show if media is 
XXE'?).

I have browsed the FAQ, recent mailing list, users wish list, etc., but found 
nothing. What are the current plans for more CSS3 support, esp. those 
concerning the list above?

Best regards,
Sjur Moshagen

Reply via email to