parser xml CHANGE major refactorization

Completely new XML parser and also some
schema parser refactoring.
diff --git a/src/tree_schema_free.c b/src/tree_schema_free.c
index 171e5e4..4bb2bf5 100644
--- a/src/tree_schema_free.c
+++ b/src/tree_schema_free.c
@@ -953,7 +953,7 @@
 }
 
 void
-lys_parser_ctx_free(struct lys_parser_ctx *ctx)
+yang_parser_ctx_free(struct lys_yang_parser_ctx *ctx)
 {
     if (ctx) {
         free(ctx);
@@ -961,10 +961,10 @@
 }
 
 void
-yin_parser_ctx_free(struct yin_parser_ctx *ctx)
+yin_parser_ctx_free(struct lys_yin_parser_ctx *ctx)
 {
     if (ctx) {
-        lyxml_context_clear(&ctx->xml_ctx);
+        lyxml_ctx_free(ctx->xmlctx);
         free(ctx);
     }
 }