I can't seem to find any documentation on it that makes any kind of sense to me. I've noticed that it seems to relate to the xmlns attribute of the schema that is being validated.
It looks like if the ns of the schema grammar tag and the xmlns of the root node of schema to validate don't match, I get a validation error.
What is the ns attribute and how is it different from xmlns?