"Dies Koper" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Mark, > > Thank you, and William & Remy for looking at this issue. > > The JSP in question has several expressions. I thought the following in > the JSP 2.0 spec (section JSP.1.12.3) would apply: > > Expressions are evaluated left-to-right in the JSP page. > > This does not apply when expressions are used in attributes? >
well, no. however section 1.14 may apply. <spec-quote version="2.0" spec="jsp" section="1.14" reason="ambiguous"> The interpretation of all actions start by evaluating the values given to its attributes left to right, and assigning the values to the attributes. </spec-quote> A quick search didn't turn up much, but my recolection is that SAX isn't required to be order-preserving on attributes. > #In the next sentence it does go as far as implicitly noting the order > within a tag that the expressions are evaluated in, but as I have only one > expression per attribute, I think it does not apply. > > If an expression appears in more than one run-time attribute, they are > evaluated left-to-right in the tag. > > Regards, > Dies > > > Mark Thomas wrote: >> Remy Maucherat wrote: >>> Mark Thomas wrote: >>>> Hi, >>>> >>>> Can anyone remember anything about the SAX bug referred to in this >>>> commit? >>>> http://marc.theaimsgroup.com/?l=tomcat-dev&m=105096762802715&w=2 >>> No, but there's nothing in the spec which says the attributes have to be >>> called in order. People should avoid crazy hacks, I think :) >> >> Indeed. I looked in the spec but couldn't see anything about order >> either. I'll resolve it as won't fix. >> >> Mark >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]