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

                 Key: TAP5-507
                 URL: https://issues.apache.org/jira/browse/TAP5-507
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.1.0.0
            Reporter: Howard M. Lewis Ship
            Priority: Critical


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], Start[http://www.w3.org/1999/xhtml html], 
DefineNamespace[ http://www.w3.org/1999/xhtml], 
Start[http://www.w3.org/1999/xhtml head], Start[http://www.w3.org/1999/xhtml 
title], Text[Tapestry360: SVN Admin], End, End, 
Start[http://www.w3.org/1999/xhtml body], Comment[start header], 
Start[http://www.w3.org/1999/xhtml div], AttributeNS[ id "logo"], 
Start[http://www.w3.org/1999/xhtml h1], Start[http://www.w3.org/1999/xhtml a], 
AttributeNS[ href "http://tapestry.formos.com";], AttributeNS[ shape "rect"], 
Text[Tapestry360: SVN Admin], End, End, Start[http://www.w3.org/1999/xhtml p], 
Text[
Subversion self adminstration for
], Start[http://www.w3.org/1999/xhtml a], AttributeNS[ href 
"http://tapestry.formos.com/";], AttributeNS[ shape "rect"], Text[Tapestry360], 
End, Text[
projects.
], End, End, Start[http://www.w3.org/1999/xhtml div], AttributeNS[ id "menu"], 
Start[http://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)





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to