jaxb
  1. jaxb
  2. JAXB-965

compiler was unable to honor this schemaBinding customization (in episodic compilation)

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: 2.2.7
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      JDK 1.7.0_21 Ubuntu 12.04.2 JAXB 2.2.7

      Description

      When generating Java source files from a bunch of schemas importing one another (and therefore using episodic compilation to avoid having the same classes generated twice), and using some rather complex XSD files (which however I cannot edit since they are industry standard), I get "compiler was unable to honor this schemaBinding customization" failures in random locations. I've created a github repo that captures the case. You can view the "bug" by doing:

      git clone https://github.com/mperdikeas/unable_to_honor.git && cd unable_to_honor && ant

      Not only will you see the "compiler was unable to honor this schemaBinding" messages, but moreover on successive invocations of "ant clean && ant" you will see the exact line complained about being different (but always the last line in the binding file which to me suggest some parsing bug). I posted on SO on that one as well here:

      http://stackoverflow.com/questions/17265960/jaxb-xjc-episodic-compilation-failing-in-random-way-compiler-was-unable-to-ho

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated: