Re: Regex question

2009-02-21 Thread Paul Gearon
On Sat, Feb 21, 2009 at 3:07 PM, Michael Glavassevich wrote: > Hi Paul, > I'm not sure what qualifies as an XPath compliant regex but the regex > support in Xerces exists for the XML Schema validator which is only > concerned with the grammar defined in the XML Schema specification [3]. I belie

Re: Regex question

2009-02-21 Thread Michael Glavassevich
Hi Paul, gea...@ieee.org wrote on 02/21/2009 12:50:59 PM: > On Sat, Feb 21, 2009 at 10:00 AM, Michael Glavassevich > wrote: > > > > > RegularExpression isn't part of the public API. It's an internal class. See > > more discussion on this here [1]. > > > > > [1] http://markmail.org/message/kbj

Re: Regex question

2009-02-21 Thread Paul Gearon
On Sat, Feb 21, 2009 at 10:00 AM, Michael Glavassevich wrote: > RegularExpression isn't part of the public API. It's an internal class. See > more discussion on this here [1]. > [1] http://markmail.org/message/kbjnorykcn2kwcby OK, but I specifically needed an XPath compliant regex, and not

Re: Regex question

2009-02-21 Thread Michael Glavassevich
(Meant to send this to the mailing list.) Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org mrgla...@ca.ibm.com wrote on 02/21/2009 11:00:51 AM: > gea...@ieee.org wrote on 02/20/2009 01:59:05 AM: > > > On Thu, Feb 19, 2009 at 6:34

Re: Regex question

2009-02-19 Thread Michael Glavassevich
Hi Paul, setPattern() is an undocumented method of an implementation class. From a user perspective I wouldn't "expect" it to do anything. It's not part of the API and no guarantee that it will even be there from release to release (though probably unlikely that we'd remove it). The only place Xe

Regex question

2009-02-19 Thread Paul Gearon
Hi, I've been having some (apparently) odd behavior with regular expressions. Can anyone please tell me if the following program should work as I am seeing? --- import org.apache.xerces.impl.xpath.regex.RegularExpression;; public class ReTest { public static void main(String[] args) { Strin

Fwd: Regex question

2009-02-19 Thread Paul Gearon
Hi, I initially sent this message before I was properly subscribed, so I apologize if it shows up again I've been having some (apparently) odd behavior with regular expressions. Can anyone please tell me if the following program should work as I am seeing? --- import org.apache.xerces.impl.x