struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10536] New: - Closing tag is whitespace-sensitive
Date Sun, 07 Jul 2002 18:34:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10536>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10536

Closing tag is whitespace-sensitive

           Summary: Closing tag is whitespace-sensitive
           Product: Struts
           Version: 1.1 Beta 1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: wchao@yahoo.com


When I close a tag with some added space after the tag name, struts barfs.
Example 1 works fine. Example 2 does not. I use the weird spacing to prevent any
spaces from being displayed (and thus preventing spacing from messing up my
presentation). Struts finds the opening tag just fine, but does not seem to find
the closing tag, leading to an error in the parser.

Example 1:
<tr>
  <td>
    <html:link href="http://www.yahoo.com">Yahoo!</html:link>
  </td>
</tr>

Example 2:
<tr>
  <td>
    <html:link href="http://www.yahoo.com"
    >Yahoo!</html:link
 ></td>
</tr>

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message