Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-507

Comments between the DOCTYPE and the root element now cause render errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 5.1.0.0
    • 5.1.0.0
    • tapestry-core
    • None

    Description

      This is related to the change to a StAX parser.

      [ERROR] pages.Index Render queue error in CompositeRenderCommand[Comment[Design by Free CSS Templates
      http://www.freecsstemplates.org
      Released for free under a Creative Commons Attribution 2.5 License

      Name : Radiance
      Description: Fixed-width design for blogs and small websites.
      Version : 1.0
      Released : 20071007], Starthttp://www.w3.org/1999/xhtml html, DefineNamespace[ http://www.w3.org/1999/xhtml], Starthttp://www.w3.org/1999/xhtml head, Starthttp://www.w3.org/1999/xhtml title, Text[Tapestry360: SVN Admin], End, End, Starthttp://www.w3.org/1999/xhtml body, Comment[start header], Starthttp://www.w3.org/1999/xhtml div, AttributeNS[ id "logo"], Starthttp://www.w3.org/1999/xhtml h1, Starthttp://www.w3.org/1999/xhtml a, AttributeNS[ href "http://tapestry.formos.com"], AttributeNS[ shape "rect"], Text[Tapestry360: SVN Admin], End, End, Starthttp://www.w3.org/1999/xhtml p, Text[
      Subversion self adminstration for
      ], Starthttp://www.w3.org/1999/xhtml a, AttributeNS[ href "http://tapestry.formos.com/"], AttributeNS[ shape "rect"], Text[Tapestry360], End, Text[
      projects.
      ], End, End, Starthttp://www.w3.org/1999/xhtml div, AttributeNS[ id "menu"], Starthttp://www.w3.org/1999/xhtml ul]: This markup writer does not have a current element. The current element is established with the first call to element() and is maintained across subsequent calls.
      java.lang.IllegalStateException: This markup writer does not have a current element. The current element is established with the first call to element() and is maintained across subsequent calls.
      at org.apache.tapestry5.internal.services.MarkupWriterImpl.ensureCurrentElement(MarkupWriterImpl.java:133)
      at org.apache.tapestry5.internal.services.MarkupWriterImpl.comment(MarkupWriterImpl.java:187)
      at org.apache.tapestry5.internal.structure.CommentPageElement.render(CommentPageElement.java:38)

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: