jaxb
  1. jaxb
  2. JAXB-852

NPE with xjc -episode and mixed=true

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.4u1
    • Fix Version/s: None
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:

      Windows 7 x64

      Description

      Attached there's a zip with a maven project that executes xjc trying to generate separate compilation (episode) of 2 xsd. The result is a NPE during xjc execution.
      The problem is in xjc, not in maven plugin, in fact if you remove mixed="true" from xcfg-1.0.xsd, compilation succeed.
      I know that mixed content handling is not a good idea, but even generate a NPE is not so good!

        Activity

        Hide
        pentavalle added a comment - - edited

        JDK version: 1.6.0_26 or 1.5.0_22

        Show
        pentavalle added a comment - - edited JDK version: 1.6.0_26 or 1.5.0_22
        Hide
        Iaroslav Savytskyi added a comment -

        I've done tests with JAXB 2.2.7 and the problem is in maven plugin.

        Show
        Iaroslav Savytskyi added a comment - I've done tests with JAXB 2.2.7 and the problem is in maven plugin.

          People

          • Assignee:
            Iaroslav Savytskyi
            Reporter:
            pentavalle
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: