-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple "xs:list" in "xs:complexType" Causing Error #30
Labels
bug
Something isn't working
Comments
Same problem, this works:
But if I uncomment "element2" I get the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I am attempting to generate code based on some XSD files that utilize the "include" and "import" syntax. The problem is that I get the following error:
process error on schema/process/services/service/LibraryConfiguration.xsd: 14:7: expected 'IDENT', found '['
I did some investigating and discovered it happens when there are multiple
xs:list
types at the same level under anxs:complexType
. When I comment out two of the threexs:element
sections that contain thexs:list
, the code can be successfully generated.Example files used: process.zip
Steps to reproduce the issue:
xgen -i schema/process/ -p generatedxml -o output/ -l Go
process error on schema/process/services/service/LibraryConfiguration.xsd: 14:7: expected 'IDENT', found '['
Steps to fix the example files:
xs:element
sections).xgen -i schema/process/ -p generatedxml -o output/ -l Go
Output of
go version
:xgen version or commit ID:
Environment details (OS, physical, etc.):
Output of
go env
:The text was updated successfully, but these errors were encountered: