audit-xml-parsing

Community

Harden XML parsing against corruption

AuthorElPoot
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: audit-xml-parsing
Download link: https://github.com/ElPoot/contabilidad/archive/main.zip#audit-xml-parsing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.