From 724c685cba423758bece827d6d286815933ba912 Mon Sep 17 00:00:00 2001
From: Christian Breunig <christian@breunig.cc>
Date: Sun, 10 Mar 2024 17:56:08 +0100
Subject: xml: T5738: revert invalid change from lower character limit - 0
 length must be allowed

This reverts a change from commit a72ededa0 ("xml: T5738: lower maximum
description to 255 characters") which incresaed the lower limit from 0 to 1.

We actually require 0 length value for description nodes as introduced in
commit 6eea12512e ("xml: T1579: allow zero length for description").
---
 interface-definitions/include/generic-description.xml.i | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interface-definitions/include/generic-description.xml.i b/interface-definitions/include/generic-description.xml.i
index ffe037a01..0b3701534 100644
--- a/interface-definitions/include/generic-description.xml.i
+++ b/interface-definitions/include/generic-description.xml.i
@@ -7,7 +7,7 @@
       <description>Description</description>
     </valueHelp>
     <constraint>
-      <regex>[[:ascii:]]{1,255}</regex>
+      <regex>[[:ascii:]]{0,255}</regex>
     </constraint>
     <constraintErrorMessage>Description too long (limit 255 characters)</constraintErrorMessage>
   </properties>
-- 
cgit v1.2.3