add assertion on root type
fix type (xmlChar => char)
missing proto
fix some compilation errors
missing header
missing header
remove inline