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 ?
Pho [ July 12, 2004: Message edited by: Pho Tek ]
posted 12 years ago
I would look into writing an XSLT stylesheet which transforms the incoming no-namespace elements into namespace'd elements.