Sorry to waste BW, but in fairness to Castor, I only timed the first
unmarshall.  If I have time tonight, I'll dig out my code (I still have the
test), run the test 4 or 5 times, and report the results.

I was going to do that last night, since I noticed that my first run of my
code takes 1.1s, but after that it takes 100 ms, but I know Castor won't
work for me.  The default generation is way too complex for the XML I have
(1500 classes), since the generator doesn't know the shortcuts in the XML.
The main problem is my schema has a lot of:

<element>
   <complex type>
      <sequence name="Choice">
        <element etc>
          .
          .
          .
      </sequence>

Castor creates element->Choice()->etc(), where in my code, I just attach all
the Choice items to element (element->etc().)  I'm not sure the extra level
of indirection is useful for anyone


Jim Brain, [EMAIL PROTECTED]
"Researching tomorrow's decisions today."
(319) 369-2070 (work)
SYSTEMS ARCHITECT, INDIVIDUAL ITS, LIFE INVESTORS INSURANCE COMPANY OF
AMERICA



_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to