arelle.XmlValidate

See COPYRIGHT.md for copyright information.

Module Contents

Classes

Functions

Data

API

arelle.XmlValidate._: arelle.typing.TypeGetText

None

arelle.XmlValidate.UNVALIDATED

None

arelle.XmlValidate.UNKNOWN

None

arelle.XmlValidate.INVALID

None

arelle.XmlValidate.NONE

None

arelle.XmlValidate.VALID

None

arelle.XmlValidate.VALID_ID

None

arelle.XmlValidate.VALID_NO_CONTENT

None

arelle.XmlValidate.validateElementSequence: Callable[..., Any] | None

None

arelle.XmlValidate.modelGroupCompositorTitle: Callable[[Any], str] | None

None

arelle.XmlValidate.ModelInlineValueObject: Type[Any] | None

None

arelle.XmlValidate.ixMsgCode: Callable[..., str] | None

None

arelle.XmlValidate.normalizeWhitespacePattern

‘re_compile(…)’

arelle.XmlValidate.collapseWhitespacePattern

‘re_compile(…)’

arelle.XmlValidate.entirelyWhitespacePattern

‘re_compile(…)’

arelle.XmlValidate.languagePattern

‘re_compile(…)’

arelle.XmlValidate.NCNamePattern

‘re_compile(…)’

arelle.XmlValidate.QNamePattern

‘re_compile(…)’

arelle.XmlValidate.namePattern

‘re_compile(…)’

arelle.XmlValidate.NMTOKENPattern

‘re_compile(…)’

arelle.XmlValidate.decimalPattern

‘re_compile(…)’

arelle.XmlValidate.integerPattern

‘re_compile(…)’

arelle.XmlValidate.floatPattern

‘re_compile(…)’

arelle.XmlValidate.lexicalPatterns

None

arelle.XmlValidate.xmlSchemaPatterns

None

arelle.XmlValidate.iNameChar

‘[_A-Za-zÀ-ÖØ-öø-ÿĀ-˿Ͱ-ͽͿ-\u1fff\u200c-\u200d⁰-\u218fⰀ-\u2fef、-\ud7ff豈-﷏ﷰ-�]’

arelle.XmlValidate.cNameChar

‘[_-.:·A-Za-z0-9À-ÖØ-öø-ÿĀ-˿Ͱ-ͽͿ-\u1fff\u200c-\u200d⁰-\u218fⰀ-\u2fef、-\ud7ff豈-﷏ﷰ-�̀-ͯ‿-⁀]’

arelle.XmlValidate.cMinusCNameChar

‘[_-.·A-Za-z0-9À-ÖØ-öø-ÿĀ-˿Ͱ-ͽͿ-\u1fff\u200c-\u200d⁰-\u218fⰀ-\u2fef、-\ud7ff豈-﷏ﷰ-�̀-ͯ‿-⁀]’

arelle.XmlValidate.baseXsdTypePatterns

None

arelle.XmlValidate.predefinedAttributeTypes

None

arelle.XmlValidate.xAttributesSharedEmptyDict: dict[str, arelle.ModelObject.ModelAttribute]

None

arelle.XmlValidate.validate(modelXbrl: arelle.ModelXbrl.ModelXbrl | None, elt: arelle.ModelObject.ModelObject, recurse: bool = True, attrQname: arelle.ModelValue.QName | None = None, ixFacts: bool = False, setTargetModelXbrl: bool = False, elementDeclarationType: arelle.ModelDtsObject.ModelType | None = None) None
arelle.XmlValidate.validateValue(modelXbrl: arelle.ModelXbrl.ModelXbrl | None, elt: arelle.ModelObject.ModelObject, attrTag: str | None, baseXsdType: str | None, value: str, isNillable: bool = False, isNil: bool = False, facets: dict[str, Any] | None = None) None
arelle.XmlValidate.validateFacet(typeElt: arelle.ModelDtsObject.ModelType, facetElt: arelle.ModelObject.ModelObject) arelle.ModelValue.TypeXValue | None
arelle.XmlValidate.validateAnyWildcard(qnElt: arelle.ModelValue.QName, qnAttr: arelle.ModelValue.QName, attributeWildcards: list[arelle.ModelDtsObject.ModelAny]) bool
class arelle.XmlValidate.lxmlSchemaResolver(cntlr: arelle.Cntlr.Cntlr, modelXbrl: arelle.ModelXbrl.ModelXbrl | None = None)

Bases: lxml.etree.Resolver

Initialization

resolve(url: str | None, id: str, context: Any) Any
arelle.XmlValidate.lxmlResolvingParser(cntlr: arelle.Cntlr.Cntlr, modelXbrl: arelle.ModelXbrl.ModelXbrl | None = None) lxml.etree.XMLParser
arelle.XmlValidate.lxmlSchemaValidate(modelDocument: arelle.ModelDocument.ModelDocument, extraSchema: str | None = None) None
class arelle.XmlValidate.XsdPattern
compile(p: str) arelle.XmlValidate.XsdPattern
match(string: str) regex.Match[str] | None
property pattern: str
__repr__() str