Since nobody has answered definitively, I'll hazard a wild speculation that not mangling might produce the name 'default' as one of the classes, fields, methods or identifiers, which would be illegal since default is a reserved word in java. An example of what might be generated:
class SomeOtherClass { private Default default; ... public Default getDefault() { return default; } public void setDefault(Default default) { this.default = default; } ... }; Jeff ----- Original Message ----- From: "Christopher Blunck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 26, 2004 6:23 AM Subject: Name mangling for 'Default' > howdy all (mostly developers)- > > i'm curious as to why axis mangles the schema type "Default". i have a complex > type named Default and instead of wsdl2java creating a class for it named > "Default" axis creates the class as _default. i looked into the java > emitter and found the mangle line of code. > > what's the reasoning / explanation for this?