2 Replies Latest reply on Oct 21, 2006 5:59 AM by gavin.king

    xml parsing errors in debug page

      Viewing the debug page for the booking example results in this error in firefox:

      XML Parsing Error: not well-formed
      Location: http://localhost:8080/seam-booking/debug.seam
      Line Number 84, Column 86:<tr><td><a id="_id38_0:_id40" href="?name=org.jboss.seam.core.persistenceContexts&cid=1">
      


      That ampersand looks suspiciously unescaped, and sadly, the behavior of facelets is to pass the invalid XML right on through. If the construction of the query string is anything Seam has control over, then I'd highly recommend using semicolons instead of ampersands to separate parameters.

        • 1. Re: xml parsing errors in debug page

          And BTW, why the heck is it that when I'm logged in to the same account from home, I post as "chuckadams", and when I post from my other machine, I'm "cja987"? Maybe a real mailing list is in order...

          • 2. Re: xml parsing errors in debug page
            gavin.king

            Yes, we know about this. The problem is actually that:

            (1) Ajax4JSF is mucking with the content type, serving it up as XML
            (2) MyFaces doesn't escape the & it generates

            Todd Smart and I are trying to work with the Ajax4JSF guys to get this sorted out.