Applying flattened css to xhtml

Hi,

I try to apply flattened css to xhtml (which get from websites). I am using css4j-0.12.1.jar (from CSS4J: una implementacion del CSS Object Model para la plataforma Java™) 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.