[
http://jira.jboss.com/jira/browse/JBIDE-2396?page=all ]
Denis Maliarevich resolved JBIDE-2396.
--------------------------------------
Fix Version/s: 3.0.0.alpha
Resolution: Done
Assignee: Tatyana Romanovich (was: Denis Maliarevich)
According to jsp specification jsp page does not have to have empty tags formatted with
mandatory end tags.
I checked html files: by default empty tags have no end tags,
in xhtml: empty tags do have end tags,
in jsp: by default empty tags have no end tags.
So this bug has no meaning.
Specification notes listed below.
HTML 4.01 Specification says:
"Some HTML element types have no content. For example, the line break element BR has
no content; its only role is to terminate a line of text. Such empty elements never have
end tags. "
XHTML 1 Specification says:
"Empty elements must either have an end tag or the start tag must end with />. For
instance, <br/> or <hr></hr>."
JSP 2.1 Specification says:
"A traditional application domain of the JSP technology is HTML content. The JSP
specification supports well this use through a syntax that is friendly to HTML and XML
although it is not HTML-specific; for instance, HTML comments are treated no differently
than other HTML content. The JSP Standard Tag Library has specific support for HTML though
some specific custom actions."
BR tag has invalid format
-------------------------
Key: JBIDE-2396
URL:
http://jira.jboss.com/jira/browse/JBIDE-2396
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.1.2
Environment: Build id: 200806190155-nightly
Build date: 06/19/2008 01:58
Reporter: Tatyana Romanovich
Assigned To: Tatyana Romanovich
Priority: Trivial
Fix For: 3.0.0.alpha
EXECUTE: Open any jsp file
EXECUTE: enter '<b' and call CA
EXECUTE: select 'br' from appeared list
ASSERT: <br /> should appear
EXECUTE: <br> appears
EXECUTE: select any component on the Visual pane
EXECUTE: click r-button of mouse and select Insert before -> BR (or HR)
ASSERT: <br /> (<HR />) should appear
EXECUTE: <br> (<HR>) appears
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira