#24 StyleSheet parsing error

v2.3
open
5
2009-07-13
2009-07-13
Murat
No

StyleSheet.parseDeclarationKeyValue function has a bug. if style ends with ";", then this function tries to parse a string of "". so throws an exception and, this exception couses this whole style ignored.

for solution, I added these lines to start of parseDeclarationKeyValue

if (keyValue == null || keyValue.trim().equals("")){
return;
} else if (keyValue.indexOf(":") == -1){
return;
}

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks