What you experience is a expected. From the specification under "Names":
A simple name only is specified (a name that contains no dots). In this case the namespace is taken from the most tightly enclosing named schema [...]
In general it is better to give all your named types a namespace, as one cannot reference a named type without a namespace from a type that does have a namespace.