parse

open fun parse(text: String, url: String): CsdlDocument

Parse the text of an Open Data Protocol (OData) service metadata (CSDL) document. Supports OData versions 1.0 to 4.0.

Return

Parsed CSDL document.

Parameters

text

Text of the service metadata document.

url

URL of the service metadata document. Used for resolving relative URLs if any CSDL Reference is encountered during parsing. May also be included in exception messages.