DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=785>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=785

Need to enforce match-pattern syntax where used in xsl:key

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE



------- Additional Comments From [EMAIL PROTECTED]  2002-06-28 01:38 -------
This is really a variation on the theme of bug 5016 (sorry I'm returning the 
earlier bug as a duplicate of the later).  Generally, empty strings were being 
accepted as XPath "Path" or "LocationPathPattern" expressions.

The message produced now for this test with the code in CVS is "A node test 
that matches either NCName:* or QName was expected."  That's because the 
XPathParser reaches a point at which it's tried everything else, and the only 
thing left to try to match is a node test, but that fails and so it reports 
that failure.  Without knowing how it got there, that message might appear a 
bit cryptic, though it's a bit better than silently accepting the expression.

If anyone feels the message should be less specific, please re-open the 
defect.  The drawback of course is that in some situations this message would 
be quite clear, and we'd have to replace it with something much more vague.

*** This bug has been marked as a duplicate of 5016 ***

Reply via email to