I created INVOICE.js in mappings folder using below command
java -jar \lib\jsonix-schema-compiler-full-2.3.9.jar -d mappings -p INVOICE https://docs.oasis-open.org/ubl/os-UBL-2.1/xsd/maindoc/UBL-Invoice-2.1.xsd
Then tried to marshalling the object to XML and getting below error
Error: Element [xsd:schema] is not known in this context, could not determine its type.
Hello,
I created INVOICE.js in mappings folder using below command
java -jar \lib\jsonix-schema-compiler-full-2.3.9.jar -d mappings -p INVOICE https://docs.oasis-open.org/ubl/os-UBL-2.1/xsd/maindoc/UBL-Invoice-2.1.xsd
Then tried to marshalling the object to XML and getting below error
Error: Element [xsd:schema] is not known in this context, could not determine its type.
Here is the snippet
Any help will be highly appreciated. Thanks
PS: code jsonixInvoice for reference