Is it legal to use no targetNamespace attribute or an empty one in an Xml schema?
If so then what does it mean, are we ‘adding’ something to the ’empty namespace’ (which always exists) or creating an ‘anonymous namespace’ which is not related to other schemas?
How would an instance xml document look like, do elements need to be explicitly bounded to some namespace?
See XML Schema Part 0: Primer for a very concise description of how undeclared targetNamespaces work.
As for an empty targetNamespace, that’s not valid. From the spec: