Applying flattened css to xhtml

Posted by rahul on Server Fault See other posts from Server Fault or by rahul
Published on 2011-03-08T06:58:08Z Indexed on 2011/03/08 8:12 UTC
Read the original article Hit count: 299

Filed under:
|

Hi,

I try to apply flattened css to xhtml (which get from websites). I am using css4j-0.12.1.jar (from http://www.informatica.info/projects/css/) to process the url html content.

For a few urls the code seems to be hang. Even no exception is thrown. For a particular stylableelement or style code doesnot return any value and hangs.

For a few websites code hang in, CSSStyleDeclaration.getPropertyValue(style);

and for a few websites code hang in, CSSStylableElement.getComputedStyle();

I am using the latest jar. Could you please update me, is there any known issue or fix for this.

I am not sure where to post this issue. If anyone knows please update me.

Thanks in Advance.

© Server Fault or respective owner

Related posts about java

Related posts about css