yin parser CHANGE take into account also the namespace of attribute
diff --git a/src/parser_yin.h b/src/parser_yin.h
index 8a2468d..b39f3f3 100644
--- a/src/parser_yin.h
+++ b/src/parser_yin.h
@@ -25,6 +25,8 @@
extern const char *const yin_attr_list[];
#define yin_attr2str(STMT) yin_attr_list[STMT]
+#define YIN_NS_URI "urn:ietf:params:xml:ns:yang:yin:1"
+
enum YIN_ARGUMENT {
YIN_ARG_UNKNOWN = 0, /**< parsed argument can not be matched with any known yin argument keyword */
YIN_ARG_NAME, /**< argument name */
@@ -57,19 +59,19 @@
* @param[in,out] data Data to read from.
* @param[out] value Where content of element should be stored.
*
- * @return LY_ERR values
+ * @return LY_ERR values.
*/
LY_ERR parse_text_element(struct lyxml_context *xml_ctx, const char **data, const char **value);
/**
- * @brief Parse import element
+ * @brief Parse import element.
*
* @param[in] xml_ctx Xml context.
* @param[in] module_prefix Prefix of the module to check prefix collisions.
* @param[in,out] data Dta to read from.
* @param[in,out] imports Parsed imports to add to.
*
- * @return LY_ERR values
+ * @return LY_ERR values.
*/
LY_ERR yin_parse_import(struct lyxml_context *xml_ctx, const char *module_prefix, const char **data, struct lysp_import **imports);