What problem does it solve?
This Skill helps you verify that the project’s XML parsing remains reliable when XML files are corrupted, encoded incorrectly, or contain malformed content that triggers ParseError, preventing broken ingestion flows.
Core Features & Use Cases
- Encoding robustness audit: Checks whether the XML manager applies a safe decoding order (UTF-8, Latin-1 fallback, BOM handling) and whether real-world cases like FAPEMO (declared UTF-8 but encoded in Latin-1) are handled correctly.
- ParseError recovery & observability: Reviews how ParseError/XMLSyntaxError is caught, what contextual information is preserved (file/line/column), and whether errors are recorded in a user-debuggable way.
- Integration-focused review: Validates how
parse_errors collected in factura_index.py affect downstream behavior (omit/retry/report) so failures become discoverable rather than silent.
Quick Start
Ask the auditor to review the current code in gestor_contable/core/xml_manager.py and gestor_contable/core/factura_index.py and produce an evidence-based report on encoding fallbacks and ParseError handling, including a verdict of SIN PROBLEMAS vs REQUIERE ATENCION.