data tree CHANGE remove restriction for root XML node in lyd_parse()
Since the data parser supports options, it is not needed to have any
requirements to the XML root element passed to the lyd_parse()
diff --git a/src/libyang.h b/src/libyang.h
index 94acc82..cf9f77e 100644
--- a/src/libyang.h
+++ b/src/libyang.h
@@ -342,8 +342,9 @@
/**
* @brief Parse (and validate according to appropriate schema from the given context) data.
*
- * In case of LY_XML format, the data string is expected to contain XML data under the single
- * \<config\> or \<data\> element in the "urn:ietf:params:xml:ns:netconf:base:1.0" namespace.
+ * In case of LY_XML format, the data string is expected to contain XML data under a single
+ * XML element. The element is not parsed, but it is expected to keep XML data well formed in all
+ * cases. There are no restrictions for the element name or its namespace.
*
* LY_JSON format is not yet supported.
*