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
Mapping raw data to XML is ambiguous. There may be data that can't be mapped, or the user may want it to be mapped differently.
To make it easier to define how the data should be mapped, allow metainformation to be placed inside the schema, in xsd:annotation/xsd:appInfo tags. Define the data that can be specified in a schema, and support reading and interpreting it.
Mapping raw data to XML is ambiguous. There may be data that can't be mapped, or the user may want it to be mapped differently.
To make it easier to define how the data should be mapped, allow metainformation to be placed inside the schema, in
xsd:annotation/xsd:appInfo
tags. Define the data that can be specified in a schema, and support reading and interpreting it.As an example, take this schema fragment:
This should be mapped to the following data (here represented in JSON):
There's no defined way to map this. To solve the problem, the following metainfo would be placed in the
xsd:sequence
element:These instructions would map the array to
item
elements, with the key as attribute and the value as element content:The text was updated successfully, but these errors were encountered: