Cannot use binding file on Windows · Issue #834 · javaee/jaxb-v2 (original) (raw)
This repository was archived by the owner on Feb 5, 2019. It is now read-only.
This repository was archived by the owner on Feb 5, 2019. It is now read-only.
Description
I cannot use any binding file on Windows.
To reproduce:
- Save attached test.xsd and test.xjb.
- Go to directory containing the files.
- Run xjc -b test.xjb test.xsd
On Windows, I get an error:
parsing a schema...
[ERROR] "file:/C:/jaxbtest/test.xsd" is not a part of this compilation. Is this a mistake for "file:C:%5Cjaxbtest%5Ctest.xsd"?
line 5 of file:C:%5Cjaxbtest%5Ctest.xjb
Failed to parse a schema.
On Linux, I get the expected behaviour:
parsing a schema...
compiling a schema...
com/example/test/ObjectFactory.java
com/example/test/Root.java
com/example/test/package-info.java
This issue is new in 2.2.4, it was not present in 2.2.3.
Environment
Windows
Affected Versions
[2.2.4]