schema BUGFIX correct yang-version value for 1.0
Instead of "1.0", the correct value is just "1".
diff --git a/src/parser_yang.c b/src/parser_yang.c
index e82557d..529db42 100644
--- a/src/parser_yang.c
+++ b/src/parser_yang.c
@@ -921,7 +921,7 @@
/* get value */
LY_CHECK_RET(get_argument(ctx, in, Y_STR_ARG, NULL, &word, &buf, &word_len));
- if ((word_len == 3) && !strncmp(word, "1.0", word_len)) {
+ if ((word_len == 1) && !strncmp(word, "1", word_len)) {
*version = LYS_VERSION_1_0;
} else if ((word_len == 3) && !strncmp(word, "1.1", word_len)) {
*version = LYS_VERSION_1_1;