[oXygen-user] CSS Validation problems

oXygen XML Editor Support support at oxygenxml.com
Thu Feb 16 04:23:16 CST 2012


Hi David,

Thank you again for reporting these issues.
We registered this problem and you will receive a notification when it 
will be fixed.

We use the CSS validator from w3c and there are some properties that are 
not properly supported yet. We try to contact them each time we 
encounter such issues.

Best regards,
Mihaela

Mihaela Calotescu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 2/15/2012 6:04 PM, David Sewell wrote:
> Recently I noticed a similar CSS content-completion and validation issue.
>
> In content completion, property "word-wrap" offers the values "normal" 
> and "break-word". But the validator reports "Property word-wrap 
> doesn't exist".
>
> Also, note that in the 1 September 2011 working draft of CSS 3, 
> "word-wrap" was renamed to "overflow-wrap". See
>
> http://www.w3.org/TR/css3-text/#overflow-wrap
>
> ("word-wrap" is still supported but deprecated)
>
> David
>
> On Wed, 15 Feb 2012, oXygen XML Editor Support wrote:
>
>> Hi David,
>>
>> Thank you for reporting these issues.
>>
>> Regarding the first validation error, there was a bug in the CSS 
>> validator that oXygen uses: the "pre-line" value was not properly 
>> recognized for CSS 3 profile.
>> We already fixed this problem and it will available in the next 
>> oXygen release.
>>
>> We did not find any specification regarding the 
>> "white-space-collapse" property (and as you could see it is not 
>> recognized by the CSS validator) thus we removed it from the CSS 
>> content completion properties list (this modification will also be 
>> available in oXygen 14).
>>
>> Best regards,
>> Mihaela
>>
>> Mihaela Calotescu
>> <oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
>> http://www.oxygenxml.com
>>
>>
>> On 2/14/2012 6:25 PM, David Lee wrote:
>>>
>>> I'm editing a css file for use in Author mode.  My default CSS 
>>> validator is set for "CSS 3 with oxygen extensions"
>>>
>>> Content completion is working fine but somehow validating the CSS is 
>>> finding errors where there should be none.
>>>
>>> Any suggestions ? It looks like the validator is using a different 
>>> engine then the content complete.
>>>
>>> e.g.
>>>
>>> function {
>>>     display:block;
>>>     background-color:#EEEEFF;
>>>     color:black;
>>>      white-space:pre-line; ERROR HERE
>>>      
>>> white-space-collapse:preserve-breaks;                            
>>> ERROR HERE
>>>      margin-left: 1em;
>>>      border-bottom-style:solid;
>>>      margin-top:0;
>>>
>>> }
>>>
>>> Engine name: W3C CSS Validator (CSS3)
>>>
>>> Severity: error
>>>
>>> Description: Context : function in property : white-space
>>>
>>> pre-line is not a white-space value : pre-line
>>>
>>> Start location: 21:0
>>>
>>> Engine name: W3C CSS Validator (CSS3)
>>>
>>> Severity: error
>>>
>>> Description: Context : function in property : white-space-collapse
>>>
>>> Property white-space-collapse doesn't exist : preserve-breaks
>>>
>>> Start location: 22:0
>>>
>>> ----------------------------------------
>>>
>>> David A. Lee
>>>
>>> dlee at calldei.com <mailto:dlee at calldei.com>
>>>
>>> http://www.xmlsh.org
>>>
>>>
>>> _______________________________________________
>>> oXygen-user mailing list
>>> oXygen-user at oxygenxml.com
>>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>
>


More information about the oXygen-user mailing list