From 20da82d7e4f30245c99e33524fd51d2c932cd570 Mon Sep 17 00:00:00 2001 From: skyanth Date: Wed, 10 Apr 2019 13:01:18 +0200 Subject: [PATCH] Assume default value of 1 when no piechart threshold is set --- xml/dtd/pentestreport.xsd | 2 +- xml/xslt/piecharts.xslt | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/xml/dtd/pentestreport.xsd b/xml/dtd/pentestreport.xsd index f6dce87..27314e9 100644 --- a/xml/dtd/pentestreport.xsd +++ b/xml/dtd/pentestreport.xsd @@ -190,7 +190,7 @@ - + diff --git a/xml/xslt/piecharts.xslt b/xml/xslt/piecharts.xslt index 69cf971..07229ee 100644 --- a/xml/xslt/piecharts.xslt +++ b/xml/xslt/piecharts.xslt @@ -12,7 +12,12 @@ - + + + + 1 + +