Closed GoogleCodeExporter closed 9 years ago
Found total 3 files:
spring-framework-3\docs\javadoc-api\org\springframework\validation\Validator.htm
l error:jodd.lagarto.LagartoException: Illegal character []] (state: 4)
spring-framework-3\docs\javadoc-api\org\springframework\web\portlet\mvc\Abstract
FormController.html error:jodd.lagarto.LagartoException: Illegal character []]
(state: 4)
spring-framework-3\docs\javadoc-api\org\springframework\web\portlet\util\Portlet
Utils.html error:jodd.lagarto.LagartoException: Illegal character []] (state: 4)
Original comment by wjw465...@gmail.com
on 21 Sep 2012 at 7:42
Attachments:
I found the problem: lexer.flex,it Can not handle"pre,code"tag,I add to
lexer.flex and test is ok.
Original comment by wjw465...@gmail.com
on 21 Sep 2012 at 9:14
Attachments:
Perfect, will take a look as soon we migrate! Thank you!!!
Original comment by i...@jodd.org
on 21 Sep 2012 at 10:31
I found Also need to change LagartoParserEngine.parseSpecialTag() method, add
handle "pre/code" statements.
code Fragment:
protected void parseSpecialTag(int state) throws IOException {
int start = lexer.position() + 1;
nextToken();
int end = start + lexer.length();
switch(state) {
case Lexer.XMP:
visitor.xmp(tag, input.subSequence(start, end - 6));
break;
case Lexer.SCRIPT:
visitor.script(tag, input.subSequence(start, end - 9));
break;
case Lexer.STYLE:
visitor.style(tag, input.subSequence(start, end - 8));
break;
}
}
Original comment by wjw465...@gmail.com
on 21 Sep 2012 at 1:18
Original comment by i...@jodd.org
on 27 Sep 2012 at 7:36
see:
https://github.com/oblac/jodd/pull/1
https://github.com/oblac/jodd/pull/2
Original comment by i...@jodd.org
on 27 Sep 2012 at 9:06
fixed on github.
Original comment by i...@jodd.org
on 27 Sep 2012 at 9:38
Original issue reported on code.google.com by
wjw465...@gmail.com
on 21 Sep 2012 at 7:23Attachments: