jaxb-ri icon indicating copy to clipboard operation
jaxb-ri copied to clipboard

unable to honor this schemaBinding customization (MINIMAL and DIFFERENT behavior of command-line xjc from Ant task xjc)

Open Tomas-Kraus opened this issue 11 years ago • 4 comments

Note: this is related to https://java.net/jira/browse/JAXB-965 but IS not identical. See below.

It is different in two respects: (1) it showcases the same kind of bug but in an absolutely minimal setting (with only three, extra-short, xsd files) (2) it demonstrates that in this particular setting, the Ant xjc task fails but the command-line invocation of xjc succeeds which is unsettling but may provide a hint as to the location of this bug.

Here we have three minimal xsd files where invoking the Ant xjc tasks with episodic compilation fails with "unable to honor this schemaBinding" whereas invoking the xjc tool from the command line succeeds. You can view the failure with:

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

whereas the invocation of the invoke-xjc-2.2.7 succeeds.

Relevant SO post link: http://stackoverflow.com/questions/17274109/jaxb-compiler-was-unable-to-honor-this-schemabinding-customization

Environment

JDK 1.7.0_21 * JAXB 2.2.7 * Ubuntu 12.04.2

Affected Versions

[2.2.7]

Tomas-Kraus avatar Jun 24 '13 19:06 Tomas-Kraus

  • Issue Imported From: https://github.com/javaee/jaxb-v2/issues/966
  • Original Issue Raised By:@glassfishrobot
  • Original Issue Assigned To: @glassfishrobot

Tomas-Kraus avatar Sep 21 '18 16:09 Tomas-Kraus

@glassfishrobot Commented Reported by m_perdikeas

Tomas-Kraus avatar Jun 24 '13 19:06 Tomas-Kraus

@glassfishrobot Commented Was assigned to yaroska

Tomas-Kraus avatar Jun 24 '13 19:06 Tomas-Kraus

@glassfishrobot Commented This issue was imported from java.net JIRA JAXB-966

Tomas-Kraus avatar Apr 24 '17 12:04 Tomas-Kraus