Good day,

I use s:formattedText on my site. But in some cases i can catch such exception:


line 1:100: unexpected char: 0x2013
        at org.jboss.seam.text.SeamTextLexer.nextToken(SeamTextLexer.java:203)
        at antlr.TokenBuffer.fill(TokenBuffer.java:69)
        at antlr.TokenBuffer.LA(TokenBuffer.java:80)
        at antlr.LLkParser.LA(LLkParser.java:52)
        at org.jboss.seam.text.SeamTextParser.line(SeamTextParser.java:681)
        at org.jboss.seam.text.SeamTextParser.paragraph(SeamTextParser.java:345)

        at org.jboss.seam.text.SeamTextParser.text(SeamTextParser.java:286)
        at org.jboss.seam.text.SeamTextParser.startRule(SeamTextParser.java:173)

        at org.jboss.seam.ui.UIFormattedText.encodeBegin(UIFormattedText.java:33
)

How can I prevent from this situation, for example by skiping incorrect chars?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061849#4061849

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061849
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to