2014-03-17 16:19 GMT+04:00 Mark Thomas <ma...@apache.org>:
> Hi,
>
> It has been a while since 8.0.3 and the change log is looking rather
> long. I've a few things left I want to look at but I expect to be in a
> position to tag 8.0.4 late today / early tomorrow.
>

There is
https://issues.apache.org/bugzilla/show_bug.cgi?id=56265
"Unexpected escaping in the values of dynamic tag attributes
containing EL expressions"

Regarding my v1 patch attached there, I think there is more to it.
That is: in the method changed by that patch, I think the 'false'
branch of "if (el.containsEL()) {" needs to have the same xmlEscaping
processing as the 'true' branch does for
"if (n instanceof Node.UninterpretedTag && n.getRoot().isXmlSyntax()) " nodes.

As of now attributes of uninterpreted XML tags that are plain text
without EL expressions are either escaped elsewhere (I have not found
where, but that would split the escaping logic between two places in
the code), or not at all.

Looking at Generator.java L1806
( Generator$GenerateVisitor.visit(Node.UninterpretedTag n) ),
it does escape double quotes there, but nothing else.


I'll work on test cases.

Best regards,
Konstantin Kolinko

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

Reply via email to