| Server IP : 172.67.201.108 / Your IP : 216.73.217.123 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/xmlschema/ |
Upload File : |
# -*- coding: utf-8 -*-
#
# Copyright (c), 2016-2020, 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 <[email protected]>
#
from . import limits
from .exceptions import XMLSchemaException, XMLResourceError, XMLSchemaNamespaceError
from .etree import etree_tostring
from .resources import normalize_url, normalize_locations, fetch_resource, \
fetch_namespaces, fetch_schema_locations, fetch_schema, XMLResource
from .xpath import ElementPathMixin
from .converters import (
ElementData, XMLSchemaConverter, UnorderedConverter, ParkerConverter,
BadgerFishConverter, AbderaConverter, JsonMLConverter, ColumnarConverter
)
from .documents import validate, is_valid, iter_errors, to_dict, to_json, \
from_json, XmlDocument
from .validators import (
XMLSchemaValidatorError, XMLSchemaParseError, XMLSchemaNotBuiltError,
XMLSchemaModelError, XMLSchemaModelDepthError, XMLSchemaValidationError,
XMLSchemaDecodeError, XMLSchemaEncodeError, XMLSchemaChildrenValidationError,
XMLSchemaIncludeWarning, XMLSchemaImportWarning, XMLSchemaTypeTableWarning,
XsdGlobals, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11,
XsdComponent, XsdType, XsdElement, XsdAttribute
)
__version__ = '1.4.2'
__author__ = "Davide Brunato"
__contact__ = "[email protected]"
__copyright__ = "Copyright 2016-2021, SISSA"
__license__ = "MIT"
__status__ = "Production/Stable"
__all__ = [
'limits', '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', 'AbderaConverter', 'JsonMLConverter',
'ColumnarConverter', 'validate', 'is_valid', 'iter_errors', 'to_dict', 'to_json',
'from_json', 'XmlDocument', 'XMLSchemaValidatorError', 'XMLSchemaParseError',
'XMLSchemaNotBuiltError', 'XMLSchemaModelError', 'XMLSchemaModelDepthError',
'XMLSchemaValidationError', 'XMLSchemaDecodeError', 'XMLSchemaEncodeError',
'XMLSchemaChildrenValidationError', 'XMLSchemaIncludeWarning',
'XMLSchemaImportWarning', 'XMLSchemaTypeTableWarning',
'XsdGlobals', 'XMLSchemaBase', 'XMLSchema', 'XMLSchema10', 'XMLSchema11',
'XsdComponent', 'XsdType', 'XsdElement', 'XsdAttribute',
]