You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] file:/C:/.../src/main/xsd/global-bindings.xjb [26,46]
com.sun.istack.SAXParseException2; systemId: file:/C:/.../src/main/xsd/global-bindings.xjb;
lineNumber: 26; columnNumber: 46; "MyRequest.xsd" is not a part of this compilation.
Is this a mistake for "file:/C:/.../src/main/xsd/MyRequest.xsd"?
It looks like a bug, because if I use schemaLocation with the absolute path name it works.
if i use in my pom, to point to a single xsd file, schemaLocation also works.
I tried with jaxb-maven-plugin versions 2.2 and 2.5.
The text was updated successfully, but these errors were encountered:
I have multiple xsd files in src/main/xsd.
I am trying to chaange the classe name of one of those xsd elements.
<jaxb:bindings schemaLocation="MyRequest.xsd">
<jaxb:bindings node="//xs:element[@name='MY_REQUEST']">
<jaxb:class name="CustomRequest" />
</jaxb:bindings>
</jaxb:bindings>
I am getting the following error:
[ERROR] file:/C:/.../src/main/xsd/global-bindings.xjb [26,46]
com.sun.istack.SAXParseException2; systemId: file:/C:/.../src/main/xsd/global-bindings.xjb;
lineNumber: 26; columnNumber: 46; "MyRequest.xsd" is not a part of this compilation.
Is this a mistake for "file:/C:/.../src/main/xsd/MyRequest.xsd"?
It looks like a bug, because if I use schemaLocation with the absolute path name it works.
if i use in my pom, to point to a single xsd file, schemaLocation also works.
I tried with jaxb-maven-plugin versions 2.2 and 2.5.
The text was updated successfully, but these errors were encountered: