Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sissaschool/xmlschema
/ functions
Functions
2,466 in github.com/sissaschool/xmlschema
⨍
Functions
2,466
◇
Types & classes
351
↳
Endpoints
20
↓ 2 callers
Method
_create_caches
(self)
xmlschema/caching.py:58
↓ 2 callers
Method
_factory_or_class
Returns the builder class or method used to build the global map.
xmlschema/validators/builders.py:371
↓ 2 callers
Method
_parse_attributes
(self)
xmlschema/validators/elements.py:200
↓ 2 callers
Method
_parse_base_type
(self, elem: ElementType, complex_content: bool = False)
xmlschema/validators/complex_types.py:266
↓ 2 callers
Method
_parse_bindings
(self)
xmlschema/extras/wsdl.py:605
↓ 2 callers
Method
_parse_constraints
(self)
xmlschema/validators/elements.py:311
↓ 2 callers
Method
_parse_content_model
(self, content_model: ElementType)
xmlschema/validators/groups.py:575
↓ 2 callers
Method
_parse_derivation_elem
(self, elem: ElementType)
xmlschema/validators/complex_types.py:246
↓ 2 callers
Method
_parse_imports
(self)
xmlschema/extras/wsdl.py:621
↓ 2 callers
Method
_parse_messages
(self)
xmlschema/extras/wsdl.py:589
↓ 2 callers
Method
_parse_not_constraints
(self)
xmlschema/validators/wildcards.py:101
↓ 2 callers
Method
_parse_port_types
(self)
xmlschema/extras/wsdl.py:597
↓ 2 callers
Method
_parse_services
(self)
xmlschema/extras/wsdl.py:613
↓ 2 callers
Method
_parse_substitution_group
(self, substitution_group: str)
xmlschema/validators/elements.py:359
↓ 2 callers
Method
_parse_type
(self)
xmlschema/validators/elements.py:278
↓ 2 callers
Method
_set_base_type
(self, base_type: BaseXsdType)
xmlschema/validators/simple_types.py:570
↓ 2 callers
Method
_start
(self)
xmlschema/validators/models.py:218
↓ 2 callers
Method
access_control
(self, url: Optional[str])
xmlschema/resources/xml_resource.py:318
↓ 2 callers
Function
add_leading_slash
(path)
tests/test_resources.py:65
↓ 2 callers
Method
advance_safe
Advance the model with the provided sequence of steps if the advance doesn't produce errors or the ending of the model. Returns `True
xmlschema/validators/models.py:720
↓ 2 callers
Method
build
(self)
xmlschema/validators/elements.py:168
↓ 2 callers
Method
build_builtins
(self, schema: SchemaType)
xmlschema/validators/builders.py:550
↓ 2 callers
Method
check_decode_to_objects
(self, root, with_bindings=False)
xmlschema/testing/_builders.py:510
↓ 2 callers
Method
check_errors
Checks schema or validation errors, checking information completeness of the instances and those number against expected. :p
xmlschema/testing/_test_case_classes.py:173
↓ 2 callers
Method
check_xsd_file
(self)
xmlschema/testing/_builders.py:93
↓ 2 callers
Method
children_validation_error
( self, validation: str, validator: 'XsdValidator', elem: ElementType, index: int, par
xmlschema/validators/validation.py:264
↓ 2 callers
Method
clear
(self)
xmlschema/validators/validation.py:198
↓ 2 callers
Method
converter
(self)
xmlschema/validators/schemas.py:623
↓ 2 callers
Method
create_meta_schema
Creates a new meta-schema instance. :param source: location of the XSD meta-schema file/resource. :param base_schemas: a dic
xmlschema/validators/schemas.py:761
↓ 2 callers
Function
error_type_validator
(value: object)
xmlschema/validators/helpers.py:260
↓ 2 callers
Method
etree_element
Builds an ElementTree's Element using arguments and the element class and the indent spacing stored in the converter instance.
xmlschema/converters/base.py:266
↓ 2 callers
Method
extension
(self, xsd_type, *names)
xmlschema/extras/codegen.py:550
↓ 2 callers
Function
filter_windows_path
(path)
tests/test_resources.py:69
↓ 2 callers
Function
filter_windows_path
(path)
tests/test_locations.py:89
↓ 2 callers
Method
findall
(self, path: str, namespaces: Optional[NsmapType] = None)
xmlschema/resources/xml_resource.py:731
↓ 2 callers
Method
findall
Finds all XSD subelements matching the path. :param path: an XPath expression that considers the XSD component as the root element.
xmlschema/xpath/mixin.py:110
↓ 2 callers
Method
from_builders
(cls, builders: XsdBuilders)
xmlschema/validators/builders.py:661
↓ 2 callers
Method
get_alternative_type
(self, elem: Union[ElementType, ElementData], inherited: Optional[dict[str, Any]]
xmlschema/validators/elements.py:499
↓ 2 callers
Method
get_attributes
(self, xsd_type: BaseXsdType)
xmlschema/validators/elements.py:503
↓ 2 callers
Method
get_cache
Returns a new :class:`SchemaCache` instance for schema settings.
xmlschema/settings.py:318
↓ 2 callers
Method
get_context
(self)
xmlschema/xpath/proxy.py:55
↓ 2 callers
Method
get_counter
(self, elem: ElementType)
xmlschema/validators/identities.py:336
↓ 2 callers
Function
get_dummy_schema
(tag: str, cls: type[XMLSchemaBase])
xmlschema/documents.py:109
↓ 2 callers
Method
get_global
Returns the global XSD component that contains the component instance.
xmlschema/validators/xsdbase.py:584
↓ 2 callers
Function
get_lazy_json_encoder
(errors: list[XMLSchemaValidationError])
xmlschema/documents.py:129
↓ 2 callers
Method
get_location_path
Return a relative location path for the referred XSD schema, replacing the original location in the schema source, if necessary.
xmlschema/exports.py:72
↓ 2 callers
Function
get_namespace_ext
Returns the namespace URI associated with a QName. If a namespace map is provided tries to resolve a prefixed QName and then to extract the n
xmlschema/utils/qnames.py:38
↓ 2 callers
Function
get_resource_schema
(resource: XMLResource, schema: Optional[Union[XMLSchemaBase, SourceArgType]] = None,
xmlschema/documents.py:68
↓ 2 callers
Method
get_settings
Returns settings from defaults, applying provided overrides.
xmlschema/settings.py:112
↓ 2 callers
Function
get_test_conf
(elem)
tests/run_w3c_tests.py:250
↓ 2 callers
Method
get_text
Gets the source text of the XML document. If the source text is not available creates an encoded string representation of the XML tre
xmlschema/resources/xml_resource.py:347
↓ 2 callers
Method
get_url
Get the resource URL from a location. :param location: The location to get the resource URL from. \ Can be a URI or file Pat
xmlschema/resources/xml_resource.py:283
↓ 2 callers
Method
get_xmlns_from_data
Returns the XML declarations from decoded element data.
xmlschema/converters/base.py:322
↓ 2 callers
Method
groups
`xsd:group` global definitions
xmlschema/validators/schemas.py:530
↓ 2 callers
Method
has_simple_content
(self)
xmlschema/validators/simple_types.py:400
↓ 2 callers
Method
import_namespace
(self, schema: SchemaType, namespace: str, location: Optiona
xmlschema/loaders.py:182
↓ 2 callers
Method
import_schema
Imports a schema from a specific URL. :param target_schema: the importer schema. :param namespace: is the URI of the externa
xmlschema/loaders.py:223
↓ 2 callers
Method
insert
(self, i: int, elem: ElementType)
xmlschema/validators/facets.py:797
↓ 2 callers
Method
is_atomic
(self)
xmlschema/validators/simple_types.py:955
↓ 2 callers
Method
is_decimal
(self)
xmlschema/validators/xsdbase.py:871
↓ 2 callers
Method
is_derived
(self, other: BaseXsdType, derivation: str | None = None)
xmlschema/validators/simple_types.py:413
↓ 2 callers
Method
is_dummy_component
(cls, component)
xmlschema/testing/_observers.py:65
↓ 2 callers
Method
is_element_restriction
(self, other: ModelParticleType)
xmlschema/validators/groups.py:708
↓ 2 callers
Method
is_emptiable
(self)
xmlschema/validators/simple_types.py:397
↓ 2 callers
Method
is_extension
(self)
xmlschema/validators/xsdbase.py:837
↓ 2 callers
Function
is_file_object
(obj: object)
xmlschema/utils/streams.py:18
↓ 2 callers
Method
is_instance
(self, obj: Any, type_qname: str)
xmlschema/xpath/proxy.py:64
↓ 2 callers
Method
is_loaded
Returns `True` if the XML text of the data source is loaded.
xmlschema/resources/xml_resource.py:273
↓ 2 callers
Method
is_meta
Returns `True` if it's a schema of a class meta-schema.
xmlschema/validators/schemas.py:651
↓ 2 callers
Method
is_multiple
Tests the particle can have multiple occurrences.
xmlschema/validators/particles.py:97
↓ 2 callers
Method
is_notation
(self)
xmlschema/validators/xsdbase.py:868
↓ 2 callers
Method
is_override
Returns `True` if the instance is an override of a global component.
xmlschema/validators/xsdbase.py:329
↓ 2 callers
Method
is_prohibited
(self)
xmlschema/validators/attributes.py:227
↓ 2 callers
Method
is_remote
Returns `True` if the resource is related with remote XML data.
xmlschema/resources/xml_resource.py:260
↓ 2 callers
Method
is_required
(self)
xmlschema/validators/attributes.py:224
↓ 2 callers
Method
is_simple
Returns `True` if the instance is a simpleType, `False` otherwise.
xmlschema/validators/xsdbase.py:764
↓ 2 callers
Method
is_simple
()
xmlschema/validators/simple_types.py:355
↓ 2 callers
Function
is_windows_path
Checks if the path argument is a Windows platform path.
tests/test_resources.py:60
↓ 2 callers
Function
is_windows_path
Checks if the path argument is a Windows platform path.
tests/test_locations.py:80
↓ 2 callers
Method
is_xmlns
Returns `True` if the name is a xmlns declaration.
xmlschema/converters/base.py:302
↓ 2 callers
Method
iter_ancestors
Creates an iterator for XSD ancestor components, schema excluded. Stops when the component is global or if the ancestor is not an
xmlschema/validators/xsdbase.py:621
↓ 2 callers
Method
iter_components
Creates an iterator for traversing all XSD components of the validator. :param xsd_classes: returns only a specific class/classes of
xmlschema/validators/xsdbase.py:152
↓ 2 callers
Method
iter_components
(self, xsd_classes: ComponentClassType = None)
xmlschema/validators/simple_types.py:979
↓ 2 callers
Method
iter_encode
Creates an iterator for encoding a data structure to an ElementTree's Element. :param obj: the data that has to be encoded to XML da
xmlschema/validators/schemas.py:1660
↓ 2 callers
Method
iter_errors
(self, identities: dict[XsdIdentity, IdentityCounter])
xmlschema/validators/identities.py:403
↓ 2 callers
Method
iter_errors
Creates an iterator for the errors generated by the validation of an XML data against the XSD schema/component instance. Accepts the
xmlschema/validators/validation.py:528
↓ 2 callers
Method
iter_globals
Creates an iterator for the built XSD global components.
xmlschema/validators/xsd_globals.py:398
↓ 2 callers
Method
iter_required
(self)
xmlschema/validators/attributes.py:632
↓ 2 callers
Function
iter_schema_declarations
(root: ElementType)
xmlschema/utils/etree.py:161
↓ 2 callers
Method
iter_schemas
Creates an iterator for the registered schemas.
xmlschema/validators/xsd_globals.py:406
↓ 2 callers
Method
iter_substitutes
(self)
xmlschema/validators/elements.py:1333
↓ 2 callers
Method
iter_value_constraints
(self, use_defaults: bool = True)
xmlschema/validators/attributes.py:638
↓ 2 callers
Method
load_declared_schemas
Processes xs:include, xs:redefine, xs:override and xs:import statements, loading the schemas and/or the namespaced referred into decl
xmlschema/loaders.py:84
↓ 2 callers
Method
map_qname
(self, qname)
xmlschema/extras/wsdl.py:101
↓ 2 callers
Method
match_element
(self, tag: str)
xmlschema/validators/models.py:259
↓ 2 callers
Method
matching_templates
(self, name)
xmlschema/extras/codegen.py:206
↓ 2 callers
Method
observed_builder
(cls, builder)
xmlschema/testing/_observers.py:30
↓ 2 callers
Function
parse_target_namespace
XSD 1.1 targetNamespace attribute in schema, elements and attributes declarations.
xmlschema/validators/helpers.py:127
↓ 2 callers
Method
raw_encode
Internal encode method. Takes the same arguments as *encode*, but keyword arguments are replaced with a decode context. Returns a tre
xmlschema/validators/validation.py:663
↓ 2 callers
Method
register
Registers an XMLSchema instance.
xmlschema/validators/xsd_globals.py:454
← previous
next →
401–500 of 2,466, ranked by callers