This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The spec says: "When tokenizing, the longest possible match that is valid in the current context is preferred." What does preferred mean? Can I take the non-preferred interpretation? Also, since the longest token rule suffices for many grammar implementations, we would like the specification to make the impact of delimiting terminals non- normative. If I have the expression 0+a-b, a parser can know that a-b is taken as the longest token, and that the expression (0+a)-b will be tokens 0 + a - b.
#1 in the webster's definition. :-) 1 : to promote or advance to a rank or position It works for me, but I think we could substitute the term "used". XPath 1.0 says "the longest possible token is always returned."
On 5/19/05 the working group approved Scott's proposal to change "preferred" to "used". Scott, will you please make this change?
Done.
Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.