L
Lurker
I've run the Castro code generator on a large and complicated XML
Schema (xsd) containing many nested grouping models (choice within
sequence within sequence within choice, etc.). The resulting code
contains many "intermediate" classes such (assuming a class named
Abst.java) AbstSequence.java, AbstSequenceSequence.java,
AbstSequenceSequenceSequenceChoiceSequence.java, etc., etc.
Is this normal?!? Am I doing something wrong? How do I use these
classes to unmarshal the data in my XML. Can I configure things so
that these classes don't show up at all? I thought of somehow
eliminating the grouping models from my schema altogether, but I don't
know how to do that, or if that is even possible or makes sense.
FYI, in my app I will never be marshalling data into XML. I've got
many thousands of valid, well-formed XML instance files that I only
need to read (i.e., unmarshal).
Any help appreciated.
Schema (xsd) containing many nested grouping models (choice within
sequence within sequence within choice, etc.). The resulting code
contains many "intermediate" classes such (assuming a class named
Abst.java) AbstSequence.java, AbstSequenceSequence.java,
AbstSequenceSequenceSequenceChoiceSequence.java, etc., etc.
Is this normal?!? Am I doing something wrong? How do I use these
classes to unmarshal the data in my XML. Can I configure things so
that these classes don't show up at all? I thought of somehow
eliminating the grouping models from my schema altogether, but I don't
know how to do that, or if that is even possible or makes sense.
FYI, in my app I will never be marshalling data into XML. I've got
many thousands of valid, well-formed XML instance files that I only
need to read (i.e., unmarshal).
Any help appreciated.