Improved namespaces, attributes and values parsing.

More specifically, this commit adds support for:
- namespace, node and attribute names with numbers and underscores;
- attribute values with numbers, underscores and spaces