Added full support for XSD primitive datatypes