From 193a7c3900441c67c2f87ff4322bb38a9929fb11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Gr=C3=B6nke?= Date: Sat, 11 Jul 2026 09:39:17 +0000 Subject: [PATCH 1/2] fix(templates): make finding templates and example validate against the schema The placeholder id "..." is no valid xs:ID and the finding template and example lacked the required number attribute, so the documents authors start from failed schema validation from the first second. The template comment now documents the id constraints and the number attribute. --- doc/examples/examplefinding.xml | 2 +- templates/pentestreport/finding.xml | 7 +++++-- templates/pentestreport/non-finding.xml | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/examples/examplefinding.xml b/doc/examples/examplefinding.xml index 134ec11b..bf7f5da4 100644 --- a/doc/examples/examplefinding.xml +++ b/doc/examples/examplefinding.xml @@ -1,5 +1,5 @@ - + Example Title A specialized piece of malware can be crafted to bypass local anti-virus software and to cheat during tests. diff --git a/templates/pentestreport/finding.xml b/templates/pentestreport/finding.xml index 8b2f3f57..507ef5de 100644 --- a/templates/pentestreport/finding.xml +++ b/templates/pentestreport/finding.xml @@ -1,8 +1,11 @@ - +