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
Here under Compiler restrictions they claim that if you won't set the -p attribute the next choice is to look the xsd file, but I guess it's not happening. Can you tell me how I can accomplish that task ?
I'm actually not real sure anymore. It has been so long since I worked with xsd's. I've also never used the jxb:globalBindings like you use here.
I know I never personally used generatePackage because I always specified the package in every xsd and it worked for me before.
You could try setting the generatePackage whatever you have in the jxb:package. That might work. If you are looking to set them in xmlns you can check out the really simple xsd's in the examples folder of this repo.
It seems I cannot leave the
generatePackage
empty because my sources will land in thegenerated
package.According to the docs:
https://jaxb.java.net/2.2.4/docs/xjc.html
Here under Compiler restrictions they claim that if you won't set the
-p
attribute the next choice is to look the xsd file, but I guess it's not happening. Can you tell me how I can accomplish that task ?Example file
The text was updated successfully, but these errors were encountered: