https://issues.apache.org/bugzilla/show_bug.cgi?id=49297

--- Comment #2 from Konstantin Kolinko <knst.koli...@gmail.com> 2010-05-15 
19:01:53 EDT ---
(In reply to comment #1)
> (In reply to comment #0)
> > It means, that the parser interprets "wo" as an attribute name, ignoring the
> > fact that there is no whitespace before it.
> 
> Which spec requires there to be white-space before an attribute name? I can't
> see why it would be necessary.
> 

>From jsp-2_1-fr-spec.pdf:

JSP.1.3.2 Element Syntax
"Action elements follow the syntax of an XML element."

JSP.1.3.10.1 EBNF Grammar for JSP Syntax

AllBody ::= ...
    ( ‘<‘ CustomAction CustomActionBody )

CustomAction ::= TagPrefix ’:’ CustomActionName

CustomActionBody ::= ( Attributes CustomActionEnd )

Attributes ::= ( S Attribute )* S?
[ vc: UniqueAttSpec ]

The 'S' before Attribute means that a space is required, and UniqueAttSpec says
that the same attribute name cannot appear more than once.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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

Reply via email to