Home | Top | ← | → | Overview | Module | Class | Index | Help |
|
About |
---|
|
||||
Implementation of xs:keyref.
:ivar refer: reference to a *xs:key* declaration that must be in the same element or in a descendant element.
Instance Methods | |||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Class Variables | |
refer = None
|
|
refer_path = '.'
|
|
Inherited from |
Method Details |
|
|
|
A list with all the building errors of the XSD validator and its components.
|
Property that is ``True`` if schema validator has been fully parsed and built, ``False`` otherwise.
|
Property that references to schema's default namespaces.
|
Get fields for a schema or instance context element. :param context: Context Element or XsdElement :param decoders: Context schema fields decoders. :return: A tuple with field values. An empty field is replaced by `None`.
|
The ``'id'`` attribute of the component tag, ``None`` if missing.
|
Is `True` if the instance is a global component, `False` if it's local.
|
Returns `True` if the component name is matching the name provided as argument, `False` otherwise. :param name: a local or fully-qualified name. :param default_namespace: used if it's not None and not empty for completing the name argument in case it's a local name.
|
Creates an iterator for XSD ancestor components, schema excluded. Stops when the component is global or if the ancestor is not an instance of the specified class/classes. :param xsd_classes: provide a class or a tuple of classes to iterates over only a specific classes of components.
|
Creates an iterator for XSD subcomponents. :param xsd_classes: provide a class or a tuple of classes to iterates over only a specific classes of components.
|
Iterate field values, excluding empty values (tuples with all `None` values). :param elem: Instance XML element. :return: N-Tuple with value fields.
|
|
Property that references to schema's global maps.
|
Property that references to schema's namespace mapping.
|
Helper method for registering parse errors. Does nothing if validation mode is 'skip'. Il validation mode is 'lax' collects the error, otherwise raise the error. :param error: can be a parse error or an error message. :param elem: the Element instance related to the error, for default uses the 'elem' attribute of the validator, if it's present.
|
|
|
The reference element of the schema for the component instance.
|
Property that references to schema source.
|
Property that references to schema's targetNamespace.
|
Property that returns the *validation status* of the XSD validator. It can be 'full', 'partial' or 'none'. | https://www.w3.org/TR/xmlschema-1/#e-validation_attempted | https://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/#e-validation_attempted
|
Property that returns the XSD validator's validity. It can be âvalidâ, âinvalidâ or ânotKnownâ. | https://www.w3.org/TR/xmlschema-1/#e-validity | https://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/#e-validity
|
Home | Top | ← | → | Overview | Module | Class | Index | Help |
|
About |
---|
Copyright(C) 2019 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can Uestuensoez | https://arnocan.wordpress.com |
Generated by Epydoc 4.0.4 / Python-3.8 / fedora27 on Fri Dec 13 15:25:29 2019 | http://epydoc.sourceforge.net |