tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56334] Double Backslash Escaping in Attributes
Date Wed, 16 Apr 2014 11:22:42 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56334

--- Comment #8 from Konstantin Kolinko <knst.kolinko@gmail.com> ---
(In reply to Markus from comment #0)
> 
> <!-- dito -->
> <jsp:element name="${'\\?resize'}"></jsp:element>
> 

For a record, the above example makes no sense to me, as you should not
generate XML tags with such names.

[40]       STag       ::=       '<' Name (S Attribute)* S? '>'

[5]       Name       ::=       NameStartChar (NameChar)*

4]       NameStartChar       ::=       ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6]
| [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D]
| [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] |
[#xFDF0-#xFFFD] | [#x10000-#xEFFFF]

[4a]       NameChar       ::=       NameStartChar | "-" | "." | [0-9] | #xB7 |
[#x0300-#x036F] | [#x203F-#x2040]

per http://www.w3.org/TR/REC-xml/

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message