MCPcopy Create free account

hub / github.com/sissaschool/xmlschema / functions

Functions2,466 in github.com/sissaschool/xmlschema

↓ 2 callersMethod_create_caches
(self)
xmlschema/caching.py:58
↓ 2 callersMethod_factory_or_class
Returns the builder class or method used to build the global map.
xmlschema/validators/builders.py:371
↓ 2 callersMethod_parse_attributes
(self)
xmlschema/validators/elements.py:200
↓ 2 callersMethod_parse_base_type
(self, elem: ElementType, complex_content: bool = False)
xmlschema/validators/complex_types.py:266
↓ 2 callersMethod_parse_bindings
(self)
xmlschema/extras/wsdl.py:605
↓ 2 callersMethod_parse_constraints
(self)
xmlschema/validators/elements.py:311
↓ 2 callersMethod_parse_content_model
(self, content_model: ElementType)
xmlschema/validators/groups.py:575
↓ 2 callersMethod_parse_derivation_elem
(self, elem: ElementType)
xmlschema/validators/complex_types.py:246
↓ 2 callersMethod_parse_imports
(self)
xmlschema/extras/wsdl.py:621
↓ 2 callersMethod_parse_messages
(self)
xmlschema/extras/wsdl.py:589
↓ 2 callersMethod_parse_not_constraints
(self)
xmlschema/validators/wildcards.py:101
↓ 2 callersMethod_parse_port_types
(self)
xmlschema/extras/wsdl.py:597
↓ 2 callersMethod_parse_services
(self)
xmlschema/extras/wsdl.py:613
↓ 2 callersMethod_parse_substitution_group
(self, substitution_group: str)
xmlschema/validators/elements.py:359
↓ 2 callersMethod_parse_type
(self)
xmlschema/validators/elements.py:278
↓ 2 callersMethod_set_base_type
(self, base_type: BaseXsdType)
xmlschema/validators/simple_types.py:570
↓ 2 callersMethod_start
(self)
xmlschema/validators/models.py:218
↓ 2 callersMethodaccess_control
(self, url: Optional[str])
xmlschema/resources/xml_resource.py:318
↓ 2 callersFunctionadd_leading_slash
(path)
tests/test_resources.py:65
↓ 2 callersMethodadvance_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 callersMethodbuild
(self)
xmlschema/validators/elements.py:168
↓ 2 callersMethodbuild_builtins
(self, schema: SchemaType)
xmlschema/validators/builders.py:550
↓ 2 callersMethodcheck_decode_to_objects
(self, root, with_bindings=False)
xmlschema/testing/_builders.py:510
↓ 2 callersMethodcheck_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 callersMethodcheck_xsd_file
(self)
xmlschema/testing/_builders.py:93
↓ 2 callersMethodchildren_validation_error
( self, validation: str, validator: 'XsdValidator', elem: ElementType, index: int, par
xmlschema/validators/validation.py:264
↓ 2 callersMethodclear
(self)
xmlschema/validators/validation.py:198
↓ 2 callersMethodconverter
(self)
xmlschema/validators/schemas.py:623
↓ 2 callersMethodcreate_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 callersFunctionerror_type_validator
(value: object)
xmlschema/validators/helpers.py:260
↓ 2 callersMethodetree_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 callersMethodextension
(self, xsd_type, *names)
xmlschema/extras/codegen.py:550
↓ 2 callersFunctionfilter_windows_path
(path)
tests/test_resources.py:69
↓ 2 callersFunctionfilter_windows_path
(path)
tests/test_locations.py:89
↓ 2 callersMethodfindall
(self, path: str, namespaces: Optional[NsmapType] = None)
xmlschema/resources/xml_resource.py:731
↓ 2 callersMethodfindall
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 callersMethodfrom_builders
(cls, builders: XsdBuilders)
xmlschema/validators/builders.py:661
↓ 2 callersMethodget_alternative_type
(self, elem: Union[ElementType, ElementData], inherited: Optional[dict[str, Any]]
xmlschema/validators/elements.py:499
↓ 2 callersMethodget_attributes
(self, xsd_type: BaseXsdType)
xmlschema/validators/elements.py:503
↓ 2 callersMethodget_cache
Returns a new :class:`SchemaCache` instance for schema settings.
xmlschema/settings.py:318
↓ 2 callersMethodget_context
(self)
xmlschema/xpath/proxy.py:55
↓ 2 callersMethodget_counter
(self, elem: ElementType)
xmlschema/validators/identities.py:336
↓ 2 callersFunctionget_dummy_schema
(tag: str, cls: type[XMLSchemaBase])
xmlschema/documents.py:109
↓ 2 callersMethodget_global
Returns the global XSD component that contains the component instance.
xmlschema/validators/xsdbase.py:584
↓ 2 callersFunctionget_lazy_json_encoder
(errors: list[XMLSchemaValidationError])
xmlschema/documents.py:129
↓ 2 callersMethodget_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 callersFunctionget_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 callersFunctionget_resource_schema
(resource: XMLResource, schema: Optional[Union[XMLSchemaBase, SourceArgType]] = None,
xmlschema/documents.py:68
↓ 2 callersMethodget_settings
Returns settings from defaults, applying provided overrides.
xmlschema/settings.py:112
↓ 2 callersFunctionget_test_conf
(elem)
tests/run_w3c_tests.py:250
↓ 2 callersMethodget_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 callersMethodget_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 callersMethodget_xmlns_from_data
Returns the XML declarations from decoded element data.
xmlschema/converters/base.py:322
↓ 2 callersMethodgroups
`xsd:group` global definitions
xmlschema/validators/schemas.py:530
↓ 2 callersMethodhas_simple_content
(self)
xmlschema/validators/simple_types.py:400
↓ 2 callersMethodimport_namespace
(self, schema: SchemaType, namespace: str, location: Optiona
xmlschema/loaders.py:182
↓ 2 callersMethodimport_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 callersMethodinsert
(self, i: int, elem: ElementType)
xmlschema/validators/facets.py:797
↓ 2 callersMethodis_atomic
(self)
xmlschema/validators/simple_types.py:955
↓ 2 callersMethodis_decimal
(self)
xmlschema/validators/xsdbase.py:871
↓ 2 callersMethodis_derived
(self, other: BaseXsdType, derivation: str | None = None)
xmlschema/validators/simple_types.py:413
↓ 2 callersMethodis_dummy_component
(cls, component)
xmlschema/testing/_observers.py:65
↓ 2 callersMethodis_element_restriction
(self, other: ModelParticleType)
xmlschema/validators/groups.py:708
↓ 2 callersMethodis_emptiable
(self)
xmlschema/validators/simple_types.py:397
↓ 2 callersMethodis_extension
(self)
xmlschema/validators/xsdbase.py:837
↓ 2 callersFunctionis_file_object
(obj: object)
xmlschema/utils/streams.py:18
↓ 2 callersMethodis_instance
(self, obj: Any, type_qname: str)
xmlschema/xpath/proxy.py:64
↓ 2 callersMethodis_loaded
Returns `True` if the XML text of the data source is loaded.
xmlschema/resources/xml_resource.py:273
↓ 2 callersMethodis_meta
Returns `True` if it's a schema of a class meta-schema.
xmlschema/validators/schemas.py:651
↓ 2 callersMethodis_multiple
Tests the particle can have multiple occurrences.
xmlschema/validators/particles.py:97
↓ 2 callersMethodis_notation
(self)
xmlschema/validators/xsdbase.py:868
↓ 2 callersMethodis_override
Returns `True` if the instance is an override of a global component.
xmlschema/validators/xsdbase.py:329
↓ 2 callersMethodis_prohibited
(self)
xmlschema/validators/attributes.py:227
↓ 2 callersMethodis_remote
Returns `True` if the resource is related with remote XML data.
xmlschema/resources/xml_resource.py:260
↓ 2 callersMethodis_required
(self)
xmlschema/validators/attributes.py:224
↓ 2 callersMethodis_simple
Returns `True` if the instance is a simpleType, `False` otherwise.
xmlschema/validators/xsdbase.py:764
↓ 2 callersMethodis_simple
()
xmlschema/validators/simple_types.py:355
↓ 2 callersFunctionis_windows_path
Checks if the path argument is a Windows platform path.
tests/test_resources.py:60
↓ 2 callersFunctionis_windows_path
Checks if the path argument is a Windows platform path.
tests/test_locations.py:80
↓ 2 callersMethodis_xmlns
Returns `True` if the name is a xmlns declaration.
xmlschema/converters/base.py:302
↓ 2 callersMethoditer_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 callersMethoditer_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 callersMethoditer_components
(self, xsd_classes: ComponentClassType = None)
xmlschema/validators/simple_types.py:979
↓ 2 callersMethoditer_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 callersMethoditer_errors
(self, identities: dict[XsdIdentity, IdentityCounter])
xmlschema/validators/identities.py:403
↓ 2 callersMethoditer_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 callersMethoditer_globals
Creates an iterator for the built XSD global components.
xmlschema/validators/xsd_globals.py:398
↓ 2 callersMethoditer_required
(self)
xmlschema/validators/attributes.py:632
↓ 2 callersFunctioniter_schema_declarations
(root: ElementType)
xmlschema/utils/etree.py:161
↓ 2 callersMethoditer_schemas
Creates an iterator for the registered schemas.
xmlschema/validators/xsd_globals.py:406
↓ 2 callersMethoditer_substitutes
(self)
xmlschema/validators/elements.py:1333
↓ 2 callersMethoditer_value_constraints
(self, use_defaults: bool = True)
xmlschema/validators/attributes.py:638
↓ 2 callersMethodload_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 callersMethodmap_qname
(self, qname)
xmlschema/extras/wsdl.py:101
↓ 2 callersMethodmatch_element
(self, tag: str)
xmlschema/validators/models.py:259
↓ 2 callersMethodmatching_templates
(self, name)
xmlschema/extras/codegen.py:206
↓ 2 callersMethodobserved_builder
(cls, builder)
xmlschema/testing/_observers.py:30
↓ 2 callersFunctionparse_target_namespace
XSD 1.1 targetNamespace attribute in schema, elements and attributes declarations.
xmlschema/validators/helpers.py:127
↓ 2 callersMethodraw_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 callersMethodregister
Registers an XMLSchema instance.
xmlschema/validators/xsd_globals.py:454
← previousnext →401–500 of 2,466, ranked by callers