I do not see any inconsistencies. Reading carefully, the spec (in the appendix) states that the mapping does not change an XML name that is already a legal and *conventional* Java identifier. The statement in 4.2.3 referring to 4.1 "XML Names" must be taken to apply to both classes and properties. I don't think there are any problems here.
Dave
-----Original Message-----
From: Gary Feldman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 07, 2002 10:01 AM
To: [EMAIL PROTECTED]
Subject: RE: [WSDL2Java] No deserializer defined for array type
http://[...]/: QueryProperty
>From: Dave Dunkin [mailto:[EMAIL PROTECTED]]
>WSDL2Java complies to the JAX-RPC specification for mapping XML identifiers
to Java identifiers. >That specifies that class should start with a capital
letter.
If I'm reading the spec correctly, this would appear to be an
inconsistency in it.
The appendix Mapping of XML Names, on pages 138-9, indicates that the
first character should be converted to upper case, but it then states
(erroneously?) that the mapping does not change an XML name that is
already a legal Java class identifier. Or am I misreading this?
Also, in section 4.2.3, it uses curiously inconsistent language to
describe the mapping of the class names and the property names. It
could be taken as saying that the class name mappings (unlike the
property names) must be the same as the XML names, and should not
use the mapping from the Appendix.
I can't help but wonder if these problems should be brought to the
attention of the spec owners before it is finalized. Personally,
I think that the requirement that class names conform to Java naming
conventions should be subordinate to the requirement that the class
names be as consistent as possible with the names in the WSDL file,
and that the mapping from WSDL to Java must not create collisions.
Gary
====================================================================
Ready-to-Run Software, Inc.
The Industry's Leading Provider of
Cross-Platform and Porting Services
*****************************
email: [EMAIL PROTECTED] Gary Feldman
fax : 1-978-692-5401 Ready-to-Run Software, Inc.
voice: 1-978-251-5431 11 School Street
www : http://www.rtr.com North Chelmsford, MA 01863
USA