@honua/sdk-js
    Preparing search index...

    Function parseOdataMetadata

    • Parse the subset of CSDL we need to power capability negotiation and key resolution: entity sets, entity-type keys, property names + types, Edm.Geography / Edm.Geometry typing, and Capabilities.* annotations. The XML is read via small regular expressions because we intentionally do not pull a DOM dep — the surface we read is well-defined by OData CSDL §6 and the Honua Server spec page.

      Parameters

      • xml: string

      Returns HonuaOdataMetadata