Re: string patterns

2005-08-20 Thread robert burrell donkin
On Fri, 2005-08-19 at 20:51 +0200, Jochen Wiedmann wrote: > robert burrell donkin wrote: > > > i've seen *really* nasty issues with xerces runtime dependencies :-/ > > So do I. :-) Honestly, I do *hope* that most of these are gone by Sun's > decision to use the com.sun.org.apache.xerces package

Re: string patterns

2005-08-20 Thread robert burrell donkin
On Fri, 2005-08-19 at 20:55 +0200, Jochen Wiedmann wrote: > robert burrell donkin wrote: > > > i was almost tempted to dive in and implement it myself ;) > > So you believe to have some months of spare time, do you? ;-) note the almost :) just the bits linking up to the xerces stuff based on yo

Re: string patterns

2005-08-19 Thread Jochen Wiedmann
robert burrell donkin wrote: i was almost tempted to dive in and implement it myself ;) So you believe to have some months of spare time, do you? ;-) do we have a list of tasks? (might be useful for attracting more hands as well) BTW has anyone started that maven plugin? The list of task

Re: string patterns

2005-08-19 Thread Jochen Wiedmann
robert burrell donkin wrote: i've seen *really* nasty issues with xerces runtime dependencies :-/ So do I. :-) Honestly, I do *hope* that most of these are gone by Sun's decision to use the com.sun.org.apache.xerces package in Java 5. In case, we can of course revert the decision. anyone

Re: string patterns

2005-08-18 Thread robert burrell donkin
On Thu, 2005-08-18 at 23:36 +0200, Jochen Wiedmann wrote: > robert burrell donkin wrote: > > > http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/src/org/apache/xerces/impl/xpath/regex/RegularExpression.java?view=markup > > Robert, that's been an excellent hint! I have added support for > xs:patt

Re: string patterns

2005-08-18 Thread robert burrell donkin
On Thu, 2005-08-18 at 23:36 +0200, Jochen Wiedmann wrote: > robert burrell donkin wrote: > > > http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/src/org/apache/xerces/impl/xpath/regex/RegularExpression.java?view=markup > > Robert, that's been an excellent hint! I have added support for > xs:patt

Re: string patterns

2005-08-18 Thread Jochen Wiedmann
robert burrell donkin wrote: http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/src/org/apache/xerces/impl/xpath/regex/RegularExpression.java?view=markup Robert, that's been an excellent hint! I have added support for xs:pattern to the trunk. (A unit test remains to be written, though.) As i

Re: string patterns.. and other constructs.

2005-08-17 Thread Jochen Wiedmann
[EMAIL PROTECTED] wrote: Please let me ask another question. In your opinion, do you know of any XSD construct where it's impossible to generate an automatic java mapping? in other words, is there any situation which inevitably requires a manual XML parsing? (I am assuming an RPC-style of web s

Re: string patterns.. and other constructs.

2005-08-17 Thread enric . jaen
Hi, Thank you for your answers, Please let me ask another question. In your opinion, do you know of any XSD construct where it's impossible to generate an automatic java mapping? in other words, is there any situation which inevitably requires a manual XML parsing? (I am assuming an RPC-style of

Re: string patterns

2005-08-17 Thread robert burrell donkin
On Wed, 2005-08-17 at 21:19 +0200, Jochen Wiedmann wrote: > robert burrell donkin wrote: > > > use the compliant regular expression engine developed for xerces? > > Do you have a pointer? I don't know what it is exactly. http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/src/org/apache/xerces/imp

Re: string patterns

2005-08-17 Thread Jochen Wiedmann
robert burrell donkin wrote: use the compliant regular expression engine developed for xerces? Do you have a pointer? I don't know what it is exactly. probably better to copy the source across and repackage than add a dependency to a single class. There's always the shear between maintaini

Re: string patterns

2005-08-17 Thread robert burrell donkin
On Tue, 2005-08-16 at 23:47 +0200, Jochen Wiedmann wrote: > [EMAIL PROTECTED] wrote: > > > Does JAXME provides some check for string patterns? Or rather must be the > > service developer who takes care of this? > > Currently it doesn't. It should, though, b

Re: string patterns

2005-08-16 Thread Jochen Wiedmann
[EMAIL PROTECTED] wrote: Does JAXME provides some check for string patterns? Or rather must be the service developer who takes care of this? Currently it doesn't. It should, though, because the JAXB specification requires that patterns are being checked. Who checks

string patterns

2005-08-16 Thread enric . jaen
Hi all, Does JAXME provides some check for string patterns? Or rather must be the service developer who takes care of this? For example, given this example: Who checks that a UKPostcode string is valid? Thanks for any help, -Enric