In my schema file, I declare an element of the sort:
Now when I receive an input that looks like this:
it would not validate this and return it as invalid because I did not specify the namespace. Our clients are expected to send in their files via a socket and it will come in without the xmlns declaration. I'm thinking of modifying the input stream to add the namespace declaration. Is there any other alternatives ?