DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37821>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37821

           Summary: Html parser has problem with the <a> tag
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Shale
        AssignedTo: dev@struts.apache.org
        ReportedBy: [EMAIL PROTECTED]


There seems to be a bug when parsing a html file with the <a> tag. 
The stack trace typically looks like that :

java.lang.RuntimeException: Unmatched ending non-optional token: Node
 token range (4 324 - 4 328) on line# 114 begining offset 4 260.
 at org.apache.shale.clay.parser.Parser.findBeginingNode(Parser.java:221)
 at org.apache.shale.clay.parser.Parser.parse(Parser.java:290)
 at
org.apache.shale.clay.config.ClayTemplateParser.generateElement(ClayTemplateParser.java:110)
 at
org.apache.shale.clay.config.ClayTemplateParser.loadConfigFile(ClayTemplateParser.java:87)

It seems to happen when you put tabs instead of space between the differents
attributes of the <a> element.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to