"Young, Paul" wrote:
>
> Bob,
>
> I've got a similar problem. When using castor-0.9.3, SourceGenerator would
> create class MyClass1 when input an xml schema with complex type names such
> as my_class1. However, using castor-0.9.3.9 Source Generator creates class
> My_Class1.
This *was* due to a bug. '_' is a valid Java character...it was getting
removed by accident in a previous version. The bug was fixed.
> I've tried modifying the castor.properties file naming parameter
> to "mixed" with no apparent change in output class naming.
This property it for how Castor converts Java names to XML names during
runtime marshalling. It doesn't have anything to do with the
SourceGenerator.
> I had problems
> earlier getting SourceGenerator to recognize my castorbuilder.properties
> earlier, but having found where to put that file so that castor would
> recognize it, I place the updated castor.properties file in the same
> directory.
>
> Have you had any luck in finding where the naming style is set? Also, do
> you know if the naming property set in the castor.properties file effects
> xml to java class naming as well as java class to xml naming as indicated in
> the comments above the naming property? Any help would be appreciated.
See my above comment.
--Keith
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev