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
If I validate a JSON file with no id or name for a license I got an error.
The schema is clear for me (see "Schema JSON.jpg" oneOf required.)
If I validate a XML file with no id or name for a license I got the message that the file is okay.
It's clear for me (see "XSD,jpg" choice minOccurs="0")
If I change the minOccurs for id and name to "1" then the validation generates an error that the id or name is missing for a license.
It is the same for other "Choice"s in the XSD. In my point of view you will not get the same validation for JSON and XML files. Especially if you convert a valid XML file to JSON you will get an invalid file because some required entries are missing.
If I validate a JSON file with no id or name for a license I got an error.
The schema is clear for me (see "Schema JSON.jpg" oneOf required.)
If I validate a XML file with no id or name for a license I got the message that the file is okay.
It's clear for me (see "XSD,jpg" choice minOccurs="0")
If I change the minOccurs for id and name to "1" then the validation generates an error that the id or name is missing for a license.
It is the same for other "Choice"s in the XSD. In my point of view you will not get the same validation for JSON and XML files. Especially if you convert a valid XML file to JSON you will get an invalid file because some required entries are missing.
XSD.zip
The text was updated successfully, but these errors were encountered: