@bentley/native-schema-locater
v0.2.184
Published
Contains an XML schema file locater which uses the native addon to deserialize EC 3.1 schemas
Downloads
657
Readme
native-schema-locater
Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.
This package contains a SchemaXmlFileLocater class which is a specialized schema XML file locater that determines if the EC schema is older than or equal to an EC31 schema. If so, the schema is deserialized using the native addon which supports these older schemas. If not, the typescript API available in the ecschema-metadata package is used for schema deserialization. In addition, the SchemaDeserializer class allows the deserialization of a given schema XML file, using the SchemaXmlFileLocater to resolve schema references.
Installation
npm install @bentley/native-schema-locater