|
This, this issue can be closed. I will use the .xsdconfig file. Thanks.
User is fine with the workaround. Closing
I feel that this bug should fixed properly. I know of several people who failed deliberately using XMLBeans just because, by chance, their namespace statement contains numbers, and probably it's not their fault.
So documenting this issue in the farthest corners of Jira doesn't seem to be sufficient. Please reopen. How did they "fail"? As far as I know, the package name is still valid Java so it should not fail.
Changing the generated package names is covered in the XMLBeans FAQ under "General Questions -> Can I change the default package names for the java classes generated from my schema?" Where would you rather see it documented? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
Maybe in the future we can add an XmlOption saying "use XmlBeansV1 default naming or JAXB2 default naming or JAX-RPC or what have you", but the default style has to be XmlBeansV1.
If you really care about the name that gets generated, you should probably use an .xsdconfig file to specifically map the names.