[xsd-users] Namespaces

Daniel Berglund daniel.berglund at scilifelab.se
Mon Jun 18 09:52:44 EDT 2012


The probelem is that I had to add a namespace (test_space) to the xml for
it to work and I want to avoid modifying it.

/Daniel

On Mon, Jun 18, 2012 at 3:51 PM, Boris Kolpackov <boris at codesynthesis.com>wrote:

> Hi Daniel,
>
> Daniel Berglund <daniel.berglund at scilifelab.se> writes:
>
> > If I add a namespace xmlns="test_space" to the xml and
> > targetnamespace="test_space" it works. So many question is if there
> > is a declaration for namespace missing in the xml file or am I simply
> > missing to write something in the xsd file?
>
> Its hard to tell from the cut-out parts that you have shown, but
> it seem that you found a combination that works. Generally, if
> your XML uses a namespace, then there should be a corresponding
> targetNamespace in the schema, and vice-versa.
>
> Boris
>


More information about the xsd-users mailing list