Hi,

Please find enclosed a patch for bug 17412.

Regards,
Khaled

---
D:\cvswork\xml-xerces\java\src\org\apache\xerces\impl\xpath\regex\RegexParser.java
2003-03-07 16:37:07.000000000 -0500
+++ RegexParser.java 2003-03-07 16:46:02.000000000 -0500
@@ -773,6 +773,8 @@
             break;

           case T_CHAR:
+            if (this.chardata == ']' || this.chardata == '{' ||
this.chardata == '}')
+                throw this.ex("parser.atom.4", this.offset-1);
             tok = Token.createChar(this.chardata);
             int high = this.chardata;
             this.next();



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to