|
I thought I'd elaborate on my previous comment. In an expression like the following, lexical analysis has to treat the first "or" token as a QName, because of its position in the expression, the second "or" token as an operator, because it follows a QName token, and the third "or" token as a QName because it follows an operator token.
or or or The lexical analyzer in XSLTC is using the same token to represent an asterisk that is used as a wildcard as it does to represent an asterisk that is used as a multiplication operator. So in the following pair of expressions, the "or" token is being treated as a QName because it follows an asterisk, which it is assuming must be a multiplication operator, but that's not the correct way of disambiguating the token in the second of those two expressions. elem * or * or * Attached proposed patch in http://issues.apache.org/jira/secure/attachment/12320447/patch.j2199.txt
Attached revised patch <http://issues.apache.org/jira/secure/attachment/12320448/patch.v2.j2199.txt> which corrects a copy and paste error in a comment.
I have reviewed the patch <http://issues.apache.org/jira/secure/attachment/12320448/patch.v2.j2199.txt>.
I have verified the conformance suit also. The changes look good to me. I approve the changes. Thanks! Applied patch to Subversion repository.
Would the originator of this issue please verify that this issue is fixed in the 2.7.1 release, by adding a comment to this issue, so that we can close this issue.
A lack of response by February 1, 2008 will be taken as consent that we can close this resolved issue. Regards, Brian Minchau |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
XALANJ-1912. The token for "or" in the following expression is being treated as an NCName rather than as an operator because it's following an asterisk. The lexical analysis is assuming that the asterisk represents a multiplication operator in this case, rather than a wildcard.* or *