| Bug #16313 | XML: extractvalue() ignores '!' in names | ||
|---|---|---|---|
| Submitted: | 9 Jan 2006 23:19 | Modified: | 28 Feb 2006 22:00 | 
| Reporter: | Peter Gulutzan | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: XML functions | Severity: | S3 (Non-critical) | 
| Version: | 5.1.5-alpha-debug | OS: | Linux (SUSE 10.0) | 
| Assigned to: | Alexander Barkov | CPU Architecture: | Any | 
   [26 Jan 2006 9:24]
   Alexander Barkov        
  Peter, Am I right that the '!' character cannot be considered as a valid identifier part, and we should get syntax error? Thanks!
   [28 Feb 2006 10:05]
   Bugs System        
  A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/3226
   [28 Feb 2006 12:52]
   Sergei Glukhov        
  ok to push
   [28 Feb 2006 13:22]
   Alexander Barkov        
  Pushed into 5.1.8
   [28 Feb 2006 22:00]
   Jon Stephens        
  Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.
If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html
Additional info:
Documented bugfix in 5.1.8 changelog. Closed.
 
Description: If a name contains '!', the '!' is ignored by extractvalue(). How to repeat: mysql> select extractvalue('<a><b>b</b><b!>b!</b!></a>','//b!'); +---------------------------------------------------+ | extractvalue('<a><b>b</b><b!>b!</b!></a>','//b!') | +---------------------------------------------------+ | b | +---------------------------------------------------+ 1 row in set (0.00 sec)