[oXygen-user] oXygen-8.2 XHTML Format and Indent Errors

George Cristian Bina
Fri May 18 03:14:58 CDT 2007


Dear Ray,

Thanks! There are two problems here
1. The format and indent of CSS does not handle correctly the example 
you posted. You can enclose the url argument in quotes as a workaround, 
for instance:
@import url("http://www.foo.com/foo_files/styles/foo-styles.css");
2. The format and indent does not take into account xml:space for script 
and style elements.

We are working on fixing these as I write and we will make the fix 
available in a new 8.2 build.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina - http://aboutxml.blogspot.com/
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Miller, Ray (Centech) wrote:
> Upgraded from oXygen-8.1 to v8.2; note the following XHTML code block:
> 
>  
> 
> <style type="text/css" media="screen,print">
> 
>    @import url(http://www.foo.com/foo_files/styles/foo-styles.css);
> 
>    @import url(http://www.foo.com/foo_files/styles/foo-user-styles.css);
> 
>    @import url(http://www.foo.com/foo_files/styles/top-menu-styles.css);
> 
>    @import
> url(http://www.foo.com/foo_files/styles/side-menu-styles.css); 
> 
> </style>
> 
>  
> 
> When Format and Indent is applied, the following results:
> 
>  
> 
> <style type="text/css" media="screen,print">
> 
>    //www.foo.com/foo_files/styles/foo-styles.css);@import url(http:
> 
>    //www.foo.com/foo_files/styles/foo-user-styles.css);@import url(http:
> 
>    //www.foo.com/foo_files/styles/top-menu-styles.css);@import url(http:
> 
>    //www.foo.com/foo_files/styles/side-menu-styles.css);@import
> url(http:</style>
> 
>  
> 
> style is included Editor / Format / XML / Preserve Space Elements
> 
>  
> 
> This did not occur in v8.1
> 
>  
> 
> Please advise.
> 
>  
> 
> Ray 
> 
>  
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user



More information about the oXygen-user mailing list