Uploaded image for project: 'JaxMe'
  1. JaxMe
  2. JAXME-94

startElement method larger than 64KB when using a large amount of complexType's

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 0.5, 0.6
    • 0.5, 0.6
    • JaxMe Core
    • None
    • All

    Description

      Using an XSD that has a complexType with ~50 child complexTypes in a sequence, the generate Java code has a method startElement that is too large for javac.

      Jose Luis Huertas Fernández has created a patch to fix this error. I will be attaching it to this issue. There are two patches. One for 5.2 and the other for 6.0.

      Attachments

        1. veryLongSequences-patch-0.5.2.diff
          66 kB
          Robert Eric Reeves
        2. veryLongSequences-patch-0.6-SNAPSHOT.diff
          86 kB
          Robert Eric Reeves
        3. test.xsd
          20 kB
          Robert Eric Reeves
        4. veryLongSequences-refactor-patch-0.5.2.diff
          30 kB
          Jose Luis Huertas
        5. Jaxme94-SolutionB-0.5.2.diff
          85 kB
          Jose Luis Huertas
        6. Jaxme94-SolutionB-0.5.3-SNAPSHOT.diff
          85 kB
          Jose Luis Huertas
        7. Jaxme94-SolutionB-0.6-SNAPSHOT.diff
          87 kB
          Jose Luis Huertas

        Activity

          People

            jochen@apache.org Jochen Wiedmann
            phurnace Robert Eric Reeves
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: