eed3si9n/scalaxb — Issue #102: xs:include without targetNamespace doesn't work
Author: eed3si9n
Created: 2011-10-25 20:03:02+00:00
State: open

## steps
1. define schema B without `targetNamesapce`.
2. define schema A that calls `xs:include` to include schema B.
3. compile them.

## problem
referenced complex type not found.

## expectation
schema B is automatically interpreted to be in the same namespace as schema A.

## note
see https://github.com/eed3si9n/scalaxb-sample/tree/ergogroup/detsentralefolkeregister

also see [XML Schema](http://www.w3.org/TR/xmlschema-1/#compound-schema):

> The *XML Schema* corresponding to `` contains not only the components corresponding to its definition and declaration [children], but also all the components of all the *XML Schemas* corresponding to any ``d schema documents. Such included schema documents must either (a) have the same `targetNamespace` as the ``ing schema document, or (b) no `targetNamespace` at all, in which case the ``d schema document is converted to the ``ing schema document's `targetNamespace`.