Hi all,
I encountered a problem(maybe a bug) using code generator.
The following cmdline:
java org.exolab.castor.builder.SourceGenerator -i Workflow.xsd -package org.test

results a set of classes generated for Workflow.xsd which is a schema I provided.
it works perfect,almost. Except for some odd character missing. As following:
 
public java.lang.Object newInstance( java.lang.Oject parent ) {
                                                ^here 'b' missing
    ......
 
typeValidator.setWhiteSpce("preserve");
                        ^here 'a' missing
    ......
 
 
My OS is WinXP.
 
 
The 2nd thing is:
Some one please tell me how to control the text format of marshalled .xml file?
 
I use:
    marshaller.marshal(process);    //class Process is generated by Castor SourceGenerator.
All texts are written into 2 lines in the output.
 
How can I control line break and indent?
Thanks.
 
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to