Fixed XPath-related schema tests.
XML attribute "type" in RawValue. Fixed a couple of tests in schema, some remain broken.