ENUMSchemaImports

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Server APIs: HTTP REST, COM/.NET, Java > Server API Reference > Enumerations >

ENUMSchemaImports

Defines the behavior of the schema's xs:import elements, each of which has an optional namespace attribute and an optional schemaLocation attribute.

 

eSILoadBySchemalocation uses the value of the schemaLocation attribute to locate the schema, taking account of catalog mappings. If the namespace attribute is present, the namespace is imported (licensed).
eSILoadPreferringSchemalocation: If the schemaLocation attribute is present, it is used, taking account of catalog mappings. If no schemaLocation attribute is present, then the value of the namespace attribute is used via a catalog mapping. This enumeration literal is the default value.
eSILoadByNamespace uses the value of the namespace attribute to locate the schema via a catalog mapping.
eSILoadCombiningBoth: If either the namespace URL or schemaLocation URL has a catalog mapping, then the catalog mapping is used. If both have catalog mappings, then the value of ENUMSchemaMapping decides which mapping is used. If neither the namespace nor schemaLocation URL has a catalog mapping, the schemaLocation URL is used.
eSILicenseNamespaceOnly: The namespace is imported. No schema document is imported.

 

COM and .NET

 

eSILoadBySchemalocation

= 0

eSILoadPreferringSchemalocation

= 1

eSILoadByNamespace

= 2

eSICombiningBoth

= 3

eSILicenseNamespaceOnly

= 4

 

Used by

 

Interface

Property

IXMLValidator

SchemaImports

IXSLT

SchemaImports

 

 

Java

public enum ENUMSchemaImports {

      eSILoadBySchemalocation

      eSILoadPreferringSchemalocation

      eSILoadByNamespace

      eSILoadCombiningBoth

      eSILicenseNamespaceOnly }

 

Used by

 

Class

Method

XMLValidator

setSchemaImports

XSLT

setSchemaImports

 

 


© 2019 Altova GmbH