
Use of the -typeCasing and -elemCasing Command Line Switches
Global element and type names may be the same in a given schema. While this may be a questionable programming practice from a logical point of view, it is legal and it will cause problems in XBinder generated code because the generated names will clash. This can even be the case within the same namespace; therefore, use of the -useNSPfx option cannot be used to solve this problem.
The -typeCasing and/or -elemCasing options provide a quick and easy way to fix these names in all compiled schemas. By setting one or the other (or both) to different case values (upper or lower), you can ensure that no name collisions of this sort will occur. The typical convention when using these switches is to set element name case to lower and type name case to upper.
| Copyright © Objective Systems 2002-2007 This document may be distributed in any form, electronic or otherwise, provided that it is distributed in its entirety and that the copyright and this notice are included. |
Objective Systems, Inc.55 Dowlin Forge RoadExton, Pennsylvania 19341 http://www.obj-sys.com Phone: (484) 875-9841 Toll-free: (877) 307-6855 (US only) Fax: (484) 875-9830 info@obj-sys.com |