ws-wsif-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Daniels <gdani...@macromedia.com>
Subject RE: [wsif] generic type mapping [Re: bug 16485 [BeanDeserializer error when XML element starts with a capital letter]]
Date Wed, 19 Feb 2003 17:50:39 GMT

> Here's the deal.  Java<->XML databinding REQUIRES metadata, 
> that is all there is to it.

Let me clarify that a bit - it is certainly possible that the default mapping (for instance,
the default JAX-RPC mapping) just works, in which case there is no need for EXPLICIT metadata,
even though there is still IMPLICIT metadata in the mapping rules.  In other words, if the
XML is <name> and it maps to a field "name", you're fine without a TypeDesc.  But if
the XML is <foo-bar> mapping to a field "fooBar", you'd better have it so you can serialize
correctly.

--G

Mime
View raw message