473,386 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

schema non deterministic again

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.
Jul 20 '05 #1
1 1309
In article <f6**************************@posting.google.com >,
c_********@hotmail.com <c_********@hotmail.com> wrote:
% 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.

--

Patrick TJ McPhee
East York Canada
pt**@interlog.com
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: c_capatana | last post by:
Hello! I have a problem with a schema. I don't know what i can do in a simple way. I have a message in a file text. I describe its structure using xml schema. <xs:complexType...
0
by: Gijs | last post by:
I wish to allow any of the following five sequences to specify the date of an historical event. <EventDate>1677-06-21</EventDate> or <EventDate modifier="approximately">1677-06-01</EventDate>...
2
by: tgtt | last post by:
the schema is: http://www.web3d.org/specifications/x3d-3.0.xsd when use SOM to load as: .... SchemaCache = new ActiveXObject("Msxml2.XMLSchemaCache.4.0"); SchemaCache.add("","x3d-3.0.xsd");...
6
by: Abhinav | last post by:
Hi, I have an xml which contains the following <a> <!-- aa Is what I am interested in --> <aa> </aa> <bb></bb>
12
by: Razvan | last post by:
Hi ! Where can I find the definition of the most used DTD/Schema expressions ? Something like: <!-- exclusive or: AAA or BBB but not both -->
0
by: Sahatra Kumara | last post by:
I have the schema that was written by other people. This schema seems to be wrong. Altova XML SPY 2005 and .Net have found out the block of schema definition that contains error, namely...
16
by: Bob Stearns | last post by:
The syntax diagram of DROP SCHEMA requires RESTRICT. Is there an easy way to drop an old, unnecessary, but populated schema?
16
by: Brad Wood | last post by:
I'm using a 2.0 XmlReaderSettings object with setting.ValidationType set to ValdationType.Schema to validate a document against a schema. Following is a schema fragment (names altered):...
9
by: mstilli | last post by:
Hi, I am trying to use schema for server side validation using xerces to catch the validation errors. validating this XML: <Content4> <textarea13></textarea13>...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.