https://issues.apache.org/bugzilla/show_bug.cgi?id=53986
--- Comment #10 from Konstantin Kolinko <knst.koli...@gmail.com> --- (In reply to comment #9) > (In reply to comment #8) > > The JspReader.skipUntil(..) method is invoked with the following arguments: > > skipUntil("</" + tag); > > skipUntil("--%>"); > > skipUntil("%>"); > > skipUntil("<"); > > skipUntil(">"); > > skipUntil("]]>"); > > skipUntil(":root"); > > > > An '<' cannot occur in "tag". So the only places where the issue can happen > > are > > skipUntil("--%>"); > > skipUntil("]]>"); > > It may be true that a *valid* document may not include '<' within a tag but > that doesn't mean that someone won't try it. As long as the resulting error > message(s) make sense, I think this is an okay assumption. The skipUntil("</" + tag) call is used to search for matching end-tag for a custom tag. The tag name there cannot contain "<". The tag name is parsed elsewhere and the spec has constraints on what characters are allowed there. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org