From 9243f759627f873b1108fd86171038a8e7fc6246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Gr=C3=B6nke?= Date: Wed, 10 Jun 2026 10:30:37 +0000 Subject: [PATCH] fix(dtd): correct schema gaps so valid documents validate The XSD schemas were stricter and less complete than the tooling and templates, so valid PenText documents failed XSD validation. Align the schemas with what the XSLT actually supports: - common.xsd: remove the duplicate global 'location' element. - pentestreport.xsd: make finding @prefix optional, make optional, and allow in technicaldescription, section and appendix. - offerte.xsd: add the placeholder elements the stylesheet resolves (p_draftdue, p_duration, p_location, p_participants) and allow participants, location and duration inside activityinfo. Schema-only change; every edit is a relaxation or addition, so documents that validated before still validate. --- dtd/common.xsd | 1 - dtd/offerte.xsd | 7 +++++++ dtd/pentestreport.xsd | 6 +++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dtd/common.xsd b/dtd/common.xsd index 8a8178d..f24510f 100644 --- a/dtd/common.xsd +++ b/dtd/common.xsd @@ -644,7 +644,6 @@ - diff --git a/dtd/offerte.xsd b/dtd/offerte.xsd index dc4cc2b..f4f0a56 100644 --- a/dtd/offerte.xsd +++ b/dtd/offerte.xsd @@ -60,6 +60,9 @@ + + + @@ -276,6 +279,10 @@ + + + + diff --git a/dtd/pentestreport.xsd b/dtd/pentestreport.xsd index 2ea25c2..46a4495 100644 --- a/dtd/pentestreport.xsd +++ b/dtd/pentestreport.xsd @@ -130,6 +130,7 @@ + @@ -164,6 +165,7 @@ + @@ -308,7 +310,7 @@ - + @@ -324,6 +326,7 @@ + @@ -366,6 +369,7 @@ +