xml2json
: accept V2 annotationslabel
andquickinfo
on properties, entity types, and parameters, and turn them intoCore.Description
,quickinfo
wins if both are present on a property
xml2json
: ignore V2 annotationdisplay-format="Date"
and preserve original type
xml2json
: support<![CDATA[...]]>
in "free-text" elements, for example<edm:String>
xml2json
: detect name collisions of schemas, schema children, type children, and entity container children
xml2json
: optionmessages
to collect all error messages in non-strict mode
xml2json
: OData V2EntitySet
element may containDocumentation
element
xml2json
: Annotation targets for overloads with collection-typed parameters are now correctly normalized
xml2json
: OData V2: acceptDocumentation
element nested inFunctionImport
andParameter
elements
xml2json
: accept more SAP Annotations for OData Version 2.0
xml2json
: accept some SAP Annotations for OData Version 2.0 and turn them into Capabilities
xml2json
: expects an options object as second parameter, replacing the current second and third parameters which have become properties of the options object:lineNumbers
(Boolean, defaultfalse
): add XML source line numbers to JSON outputannotations
(Boolean, defaultfalse
): include XML annotation attributes in JSON outputstrict
(Boolean, defaultfalse
): strict validation of XML source (some validations cannot be turned off)
xml2json
: strip illegal whitespace from annotation targets in XML sourcexml2json
: correctly process annotation targets for action/function overloads with collection-valued parameters
edm.xsd
: correct patterns for TSimpleIdentifier, TQualifiedName, and TTypeName
xml2json
: detect unexpected text content in source XMLxml2json
: improved checks forReturnType
element
- Allow V4 annotations as foreign markup in V2
Property
andTerm
withType="Collection(...)"
must specifyNullable
in 4.01.ReturnType Type="Collection(Edm.EntityType)"
must not specifyNullable
.
- Unit tests for
csdl.schema.json
csdl.schema.json
: patterns for SimpleIdentifier and QualifiedName
xml2json
now minimally validates the input XML- unexpected elements
- incorrect nesting of elements
- incorrect occurrence of child elements
- missing required attributes
- unexpected local attributes
xml2json
now imports annotation attributes from OData V2 and OData V3 CSDL XML documents if its new third (and optional) parameter is set totrue
, default isfalse