1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
#
# Copyright (c), 2016-2022, SISSA (International School for Advanced Studies).
# All rights reserved.
# This file is distributed under the terms of the MIT License.
# See the file 'LICENSE' in the root directory of the present
# distribution, or http://opensource.org/licenses/MIT.
#
# @author Davide Brunato <brunato@sissa.it>
#
from . import limits
from . import translation
from .exceptions import XMLSchemaException, XMLResourceError, XMLSchemaNamespaceError
from .resources import fetch_resource, fetch_namespaces, fetch_schema_locations, \
fetch_schema, XMLResource
from .xpath import ElementPathMixin, ElementSelector, ElementPathSelector
from .converters import ElementData, XMLSchemaConverter, \
UnorderedConverter, ParkerConverter, BadgerFishConverter, \
AbderaConverter, JsonMLConverter, ColumnarConverter, GDataConverter
from .dataobjects import DataElement, DataElementConverter, DataBindingConverter
from .documents import validate, is_valid, iter_errors, iter_decode, \
to_dict, to_json, to_etree, from_json, XmlDocument
from .exports import download_schemas
from .loaders import SchemaLoader, LocationSchemaLoader, SafeSchemaLoader
from .utils.etree import etree_tostring
from .utils.urls import normalize_url, normalize_locations
from .validators import (
XMLSchemaValidatorError, XMLSchemaParseError, XMLSchemaNotBuiltError,
XMLSchemaModelError, XMLSchemaModelDepthError, XMLSchemaValidationError,
XMLSchemaDecodeError, XMLSchemaEncodeError, XMLSchemaChildrenValidationError,
XMLSchemaStopValidation, XMLSchemaIncludeWarning, XMLSchemaImportWarning,
XMLSchemaTypeTableWarning, XMLSchemaAssertPathWarning, XsdGlobals, XMLSchemaBase,
XMLSchema, XMLSchema10, XMLSchema11, XsdComponent, XsdType, XsdElement, XsdAttribute
)
__version__ = '4.1.0'
__author__ = "Davide Brunato"
__contact__ = "brunato@sissa.it"
__copyright__ = "Copyright 2016-2025, SISSA"
__license__ = "MIT"
__status__ = "Production/Stable"
__all__ = [
'limits', 'translation', 'XMLSchemaException', 'XMLResourceError',
'XMLSchemaNamespaceError', 'etree_tostring', 'normalize_url',
'normalize_locations', 'fetch_resource', 'fetch_namespaces',
'fetch_schema_locations', 'fetch_schema',
'XMLResource', 'ElementPathMixin', 'ElementData', 'XMLSchemaConverter',
'UnorderedConverter', 'ParkerConverter', 'BadgerFishConverter', 'GDataConverter',
'AbderaConverter', 'JsonMLConverter', 'ColumnarConverter', 'DataElement',
'DataElementConverter', 'DataBindingConverter', 'validate', 'is_valid',
'iter_errors', 'iter_decode', 'to_dict', 'to_json', 'to_etree', 'from_json',
'XmlDocument', 'download_schemas', 'ElementSelector', 'ElementPathSelector',
'SchemaLoader', 'LocationSchemaLoader', 'SafeSchemaLoader',
'XMLSchemaValidatorError', 'XMLSchemaParseError', 'XMLSchemaNotBuiltError',
'XMLSchemaModelError', 'XMLSchemaModelDepthError', 'XMLSchemaValidationError',
'XMLSchemaDecodeError', 'XMLSchemaEncodeError', 'XMLSchemaChildrenValidationError',
'XMLSchemaStopValidation', 'XMLSchemaIncludeWarning', 'XMLSchemaImportWarning',
'XMLSchemaTypeTableWarning', 'XMLSchemaAssertPathWarning',
'XsdGlobals', 'XMLSchemaBase', 'XMLSchema', 'XMLSchema10', 'XMLSchema11',
'XsdComponent', 'XsdType', 'XsdElement', 'XsdAttribute',
]
|