-
Notifications
You must be signed in to change notification settings - Fork 99
Closed
ballerina-platform/xsd-tools
#38Labels
Description
Area
None
Description
Currently, when there is a built-in type xs:NMTOKENS in the xsd file, the generated records does not properly handle it.
Compiling source
aldocano/xsd_to_type:0.1.0
ERROR [modules/ota_hotel_avail_notif_rq/OTA_HotelCommonTypes.bal:(1254:5,1254:13)] unknown type 'NMTOKENS'
ERROR [modules/ota_hotel_avail_notif_rq/OTA_HotelCommonTypes.bal:(1442:5,1442:13)] unknown type 'NMTOKENS'
ERROR [modules/ota_hotel_avail_notif_rq/OTA_HotelCommonTypes.bal:(2890:5,2890:13)] unknown type 'NMTOKENS'
error: compilation contains errorsSteps to Reproduce
Use an xsd file containing <xs:NMTOKENS> built-in type and execute the bal xsd command to generate records.
Version
1.2.0
Environment Details (with versions)
No response
Reactions are currently unavailable