parser xml CHANGE major refactorization

Completely new XML parser and also some
schema parser refactoring.
diff --git a/src/common.c b/src/common.c
index 0abfcd6..2372cee 100644
--- a/src/common.c
+++ b/src/common.c
@@ -183,9 +183,9 @@
 }
 
 LY_ERR
-ly_getutf8(const char **input, unsigned int *utf8_char, size_t *bytes_read)
+ly_getutf8(const char **input, uint32_t *utf8_char, size_t *bytes_read)
 {
-    unsigned int c, len;
+    uint32_t c, len;
     int aux;
     int i;