관리-도구
편집 파일: __init__.cpython-38.pyc
U )�e�3 � @ s� d Z ddlZddlZddlmZ ze W n ek r@ e ZY nX ze W n ek rb e Z Y nX dddddd d ddg Zd ZdZ dZdZde Zde Zej�ej�e�d�Ze�e�ej�edd���Ze�e�ej�edd���Ze�e�ej�eddd���Ze�e�ej�eddd���Ze�e�ej�eddd���Zejddeid�ZdZ z ej!ej�edd�d �Z"d!Z W n ej#k �r� d"d � Z"Y nX d#d� Z$d$d%� Z%G d&d� dej&�Z'dS )'zxThe ``lxml.isoschematron`` package implements ISO Schematron support on top of the pure-xslt 'skeleton' implementation. � N)�etree�extract_xsd�extract_rng�iso_dsdl_include�iso_abstract_expand�iso_svrl_for_xslt1�svrl_validation_errors�schematron_schema_valid�stylesheet_params� Schematronz http://www.w3.org/2001/XMLSchemaz#http://relaxng.org/ns/structure/1.0z$http://purl.oclc.org/dsdl/schematronzhttp://purl.oclc.org/dsdl/svrlz {%s}schema� resourcesZxslzXSD2Schtrn.xslzRNG2Schtrn.xslziso-schematron-xslt1ziso_dsdl_include.xslziso_abstract_expand.xslziso_svrl_for_xslt1.xslz//svrl:failed-assert�svrl�� namespacesF�rngziso-schematron.rng)�fileTc C s t d��d S )Nz9Validating the ISO schematron requires iso-schematron.rng)�NotImplementedError)�arg� r �K/opt/hc_python/lib64/python3.8/site-packages/lxml/isoschematron/__init__.pyr H s c K s` i }| � � D ]N\}}t|t�r,tj�|�}n&|dkr>td��nt|tj�sRt|�}|||<