Detectando Errores XPath en Procesadores XML con Pruebas Diferenciales

Descubre XPress, un innovador sistema de pruebas diferenciales para procesadores XML que identifica errores lógicos en XPath. Nuestro enfoque ha detectado 27 errores únicos en seis procesadores XML, mejorando su robustez y eficiencia.

7 mar 2025 • 2 min read • Q2BSTUDIO Team

Empresa-Software-Apps

Extensible Markup Language XML es un formato de archivo ampliamente utilizado para el almacenamiento y transmisión de datos. Muchos procesadores de XML admiten XPath, un lenguaje de consulta que permite la extracción de elementos de documentos XML. Estos sistemas pueden verse afectados por errores lógicos, los cuales hacen que el procesador devuelva resultados incorrectos. Para abordar estos problemas, se propone un nuevo enfoque materializado en un sistema llamado XPress.

XPress utiliza pruebas diferenciales como su método de validación, comparando los resultados de múltiples sistemas en una misma entrada de prueba y detectando errores a través de discrepancias en sus salidas. Además, genera tanto documentos XML como consultas XPath para realizar estas pruebas. Con el objetivo de producir consultas significativas que arrojen resultados no vacíos, XPress selecciona un nodo específico como referencia en el proceso de generación de expresiones XPath. Esto permite que las consultas generadas siempre incluyan contexto relacionado con ese nodo, como su nombre de etiqueta y atributos, garantizando que las condiciones aplicadas se cumplan antes de expandir la consulta.

Se probó nuestra metodología en seis procesadores XML ampliamente utilizados: BaseX, eXist-DB, Saxon, PostgreSQL, libXML2 y un sistema comercial. A través de estas pruebas, se identificaron 27 errores únicos en estos sistemas, de los cuales 25 fueron validados por los desarrolladores y 20 ya han sido corregidos. Además, se demostró que XPress es eficiente, encontrando 12 errores en BaseX en solo 24 horas, el doble de rápido que la generación aleatoria de pruebas.

En Q2BSTUDIO, empresa de desarrollo y servicios tecnológicos, entendemos la importancia de la calidad y seguridad de los sistemas de procesamiento de datos. Adoptamos metodologías avanzadas de prueba y desarrollo para garantizar que nuestras soluciones sean robustas y confiables. Con enfoques innovadores como el presentado en XPress, seguimos fortaleciendo nuestras capacidades para ofrecer a nuestros clientes sistemas optimizados y libres de errores. La eficiencia y efectividad de estos métodos nos permiten mejorar continuamente la calidad de nuestros proyectos en el ámbito del procesamiento de datos y más allá.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.

Live Chat