Validation of msg with mixed empty and non-empty namespace elements. XML Schema 1.1.

3 views
Skip to first unread message

elgrego76

unread,
Jan 29, 2008, 4:20:10 AM1/29/08
to XML Schema
Hi there

I have a solution which used to work (XML Schema 1.0), now it is
broken (XML Schema 1.1) and I need help.
It doesn't permit imports without namespace attribute anymore. To
spare you the details of the current solution I simplified my request.
I need a validation schema for the following msg layout:

<f:foo xmlns:f="urn:test:foo" >
<bar>1</bar>
</f:foo>

or

<f:foo xmlns:f="urn:test:foo" >
<fighters>1</fighters>
</f:foo>

Limitation: the choice fighters and foo (having empty namespace) come
from seperate exisiting schemas (business standard schemas with no
targetNamespace element) and should be included or imported somehow.

I've tried for a couple of hours now already with no success. But the
msgs look so plain simple.
How can that be so hard to find?

All help is appreciated.

Thanks,
Grego
Reply all
Reply to author
Forward
0 new messages