This patch fixes issue #92 (closed) and #40 (closed). make && make check && make Schemastests
all success.
I also tested it with a lot of testCase, and these testCase contain almost all schema-any types. And I add some necessary testCases in this patch.
Edited by Zhongyuan Zhou