File 1032-Remove-misleading-documentation.patch of Package erlang
From 97c2691c9bf5e05cb670c7a2ebb93385c88a33ff Mon Sep 17 00:00:00 2001
From: Anders Svensson <anders@erlang.org>
Date: Tue, 22 Jun 2021 22:37:05 +0200
Subject: [PATCH 2/4] Remove misleading documentation
Incoming NETCONF notifications were documented as being more than simple
XML, but type event_time/0 overlaps with simple_xml/0. There is no
additional decode and hasn't been since commit cfff69a3.
---
 lib/common_test/doc/src/ct_netconfc.xml | 8 +-------
 lib/common_test/src/ct_netconfc.erl     | 4 +---
 2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/lib/common_test/doc/src/ct_netconfc.xml b/lib/common_test/doc/src/ct_netconfc.xml
index 9b4d55b810..45f57c96d0 100644
--- a/lib/common_test/doc/src/ct_netconfc.xml
+++ b/lib/common_test/doc/src/ct_netconfc.xml
@@ -4,7 +4,7 @@
 <erlref>
   <header>
     <copyright>
-      <year>2010</year><year>2019</year>
+      <year>2010</year><year>2021</year>
       <holder>Ericsson AB. All Rights Reserved.</holder>
     </copyright>
     <legalnotice>
@@ -234,12 +234,6 @@
         one or more fractional seconds.</p>
       </desc>
     </datatype>
-    <datatype>
-      <name name="event_time"/>
-    </datatype>
-    <datatype>
-      <name name="notification_content"/>
-    </datatype>
     <datatype>
       <name name="notification"/>
       <desc>
diff --git a/lib/common_test/src/ct_netconfc.erl b/lib/common_test/src/ct_netconfc.erl
index 06264f7947..1d72c0cd5d 100644
--- a/lib/common_test/src/ct_netconfc.erl
+++ b/lib/common_test/src/ct_netconfc.erl
@@ -223,9 +223,7 @@
 
 -type host() :: inet:hostname() | inet:ip_address().
 
--type notification() :: {notification, xml_attributes(), notification_content()}.
--type notification_content() :: [event_time()|simple_xml()].
--type event_time() :: {eventTime,xml_attributes(),[xs_datetime()]}.
+-type notification() :: {notification, xml_attributes(), [simple_xml()]}.
 
 -type stream_name() :: string().
 -type streams() :: [{stream_name(),[stream_data()]}].
-- 
2.26.2