← Về thư mục
skills/xlsx/scripts/office/validators/base.py
- _load_schema · function · L17-L22 — def _load_schema(schema_path: str)
- BaseSchemaValidator · class · L24-L871 — class BaseSchemaValidator
- init · method · L106-L119 — def init(self, unpacked_dir, original_file=None, verbose=False)
- validate · method · L121-L122 — def validate(self)
- repair · method · L124-L125 — def repair(self) -> int
- repair_whitespace_preservation · method · L127-L160 — def repair_whitespace_preservation(self) -> int
- validate_xml · method · L162-L187 — def validate_xml(self)
- validate_namespaces · method · L189-L216 — def validate_namespaces(self)
- validate_unique_ids · method · L218-L308 — def validate_unique_ids(self)
- validate_file_references · method · L310-L406 — def validate_file_references(self)
- validate_all_relationship_ids · method · L408-L492 — def validate_all_relationship_ids(self)
- _get_expected_relationship_type · method · L494-L515 — def _get_expected_relationship_type(self, element_name)
- validate_content_types · method · L517-L621 — def validate_content_types(self)
- validate_file_against_xsd · method · L623-L659 — def validate_file_against_xsd(self, xml_file, verbose=False)
- validate_against_xsd · method · L661-L708 — def validate_against_xsd(self)
- _get_schema_path · method · L710-L726 — def _get_schema_path(self, xml_file)
- _clean_ignorable_namespaces · method · L728-L746 — def _clean_ignorable_namespaces(self, xml_doc)
- _remove_ignorable_elements · method · L748-L765 — def _remove_ignorable_elements(self, root)
- _preprocess_for_mc_ignorable · method · L767-L773 — def _preprocess_for_mc_ignorable(self, xml_doc)
- _preprocess_for_schema · method · L775-L776 — def _preprocess_for_schema(self, xml_doc, relative_path)
- _validate_single_file_xsd · method · L778-L810 — def _validate_single_file_xsd(self, xml_file, base_path, schema_path=None)
- _get_original_file_errors · method · L812-L840 — def _get_original_file_errors(self, xml_file, schema_path=None)
- _remove_template_tags_from_text_nodes · method · L842-L871 — def _remove_template_tags_from_text_nodes(self, xml_doc)
- process_text_content · function · L849-L859 — def process_text_content(text, content_type)