Menu

#1 css4j-0.12.1 hangs on getLanguage() function

open
nobody
None
8
2011-03-14
2011-03-10
rahul
No

Hi,

I tried to apply styles for a few urls. but seems css4j get hanged on

((CSSStylableElement) n).getComputedStyle() function.

I further debug the code and it seems, code get hang on the following line, ie) Doesn't return any output and just hangs.

String lang = getLanguage(); line in the matchConditional(ConditionalSelector selector) function.

The value of 'attrName = ((LangCondition) cond).getLang()' is "de".

And also where I can get the definition code for getLanguage() function.

Could any one update me, is there any fix for that. Or how to correct it. ?? Or please fix it integrate into the further releases.

Note: I am using the latest dom4j (1.6.1) and css4j (0.12.1) jars.

Thanks in Advance.

Discussion

  • rahul

    rahul - 2011-03-11

    As a additional note, I have downloaded the css4j from the 'http://www.informatica.info/projects/css/' url . And I have faced issue while processing the following URL's styles,

    http://praegnanz.de/weblog/meine-aktivboxen-von-bose

    thanks.

     
  • rahul

    rahul - 2011-03-14
    • priority: 5 --> 8
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.