You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by en...@upf.edu on 2005/08/17 23:04:00 UTC

Re: string patterns.. and other constructs.

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 web services)


I would appreciate any help.

Regards,

-Enric


Missatge citat per robert burrell donkin <rd...@apache.org>:

> 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/impl/xpath/regex/RegularExpression.java?view=markup
> 
> > > probably better to copy the source across and repackage than add a
> > > dependency to a single class.
> > 
> > There's always the shear between maintaining sources and adding 
> > dependencies - but if it's one class indeed, I'd agree with you.
> 
> it's a xerces internal utility. requiring a particular version of xerces
> can cause troubles for users and so (in this case) it would probably be
> better to copy the source. i've done this for one or two similar classes
> and IMHO it's important to retain the authorship and to add a note about
> it's derivation from xerces. if any bugs are found in our version, then
> any fixes should be submitted back to xerces.
> 
> - robert
> 
> 






---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


Re: string patterns.. and other constructs.

Posted by Jochen Wiedmann <jo...@gmail.com>.
enric.jaen@upf.edu 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 services)

The more generic an XML document is, the less suitable it is for 
mappings. (XML-RPC is, btw., not dynamic and could easily be implemented 
with JAXB/JaxMe.)

Note, that even with generic documents, it is frequently possible to map 
at least parts of the document.

Jochen

---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org