parser xml CHANGE major refactorization

Completely new XML parser and also some
schema parser refactoring.
diff --git a/tools/lint/main_ni.c b/tools/lint/main_ni.c
index bd52fc7..97b5e4e 100644
--- a/tools/lint/main_ni.c
+++ b/tools/lint/main_ni.c
@@ -513,13 +513,13 @@
         case 't':
             if (!strcmp(optarg, "auto")) {
                 autodetection = 1;
-            } else if (!strcmp(optarg, "config")) {
+            /*} else if (!strcmp(optarg, "config")) {
                 options_parser |= LYD_OPT_CONFIG;
             } else if (!strcmp(optarg, "get")) {
                 options_parser |= LYD_OPT_GET;
             } else if (!strcmp(optarg, "getconfig")) {
                 options_parser |= LYD_OPT_GETCONFIG;
-            /*} else if (!strcmp(optarg, "edit")) {
+            } else if (!strcmp(optarg, "edit")) {
                 options_parser |= LYD_OPT_EDIT;*/
             } else if (!strcmp(optarg, "data")) {
                 /* no options */