Wednesday, December 03, 2008

Issue with latest Jawr 2.6

I have been using JAWR library for past six months in my project and found it very well documented and very stable too. But, yesterday I was surprised to find an issue with its latest (2.6) release.

A new configuration feature jawr.csslinks.flavor has been added to configure how <link> CSS tag is rendered. But, by default, <link>tag is not terminated with "/>" as claimed in the jawr taglib docs. With 2.6 release (Nov 25,2008), my CSS links which worked fine earlier, started to render as follows:
<link rel="stylesheet" type="text/css" media="screen" 
href
="/xxx/gzip_N173773858/bundles/base.cssnull
This broke my screen layout.

Adding jawr.csslinks.flavor = xhtml in jawr.properties solves this issue.