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
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 an xs:complexType. When I comment out two of the three xs:element sections that contain the xs:list, the code can be successfully generated.
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: