1 Reply Latest reply on Jul 9, 2007 5:17 AM by Christian Bauer

    s:formattedText works incorrect

    Eleas Newbie

      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?