schema non deterministic again

c_capatana

Usenet Archive
Joined
Nov 4, 2003
Messages
4
Reaction score
0
I come back because my example was not OK.
i want this:

<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="fieldx" type="skt:fieldxtype" minOccurs="0"/> <xs:element name="aa" type="skt:aatype" minOccurs="0"/> </xs:sequence> <xs:element name="bb" type="skt:bbtype" minOccurs="0"/> <xs:element name="cc" type="skt:cctype" minOccurs="0"/> <xs:element name="fieldx" type="skt:fieldxtype" minOccurs="0"/>

Problem is schema non deterministic! Can you help me?
Thanks.
 

Patrick TJ McPhee

Usenet Archive
Joined
Apr 2, 2000
Messages
269
Reaction score
0
% I come back because my example was not OK.
% i want this:

No, you don't. What is the data that you're trying to represent? Try describing it in words, or writing out examples of different xml documents that should be accepted.

What you've written isn't valid top-level schema syntax, and it's impossible to guess what should go around it. One can say that something involved with that sequence probably needs to have minOccurs set to 1, but it's impossible to give specific advice without knowing what the goal is.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,042
Messages
3,104,224
Members
248,132
Latest member
henrywalsh

Latest Threads

Top