Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Redefine question [Thread Next] Re: Questions on Value ValidationsTo: "Michael Kay" <mhk@---.--.-->, <xmlschema-dev@--.---> Date: 4/8/2004 9:54:00 AM Michael,
Thank you for your reply.
I have attached my schema file and the xml file I am testing with.
What I am trying to do is set some limits on the values of the =
simpleType elements. I have only started with scalability but I want to =
use the same type for other elements as well. I am looking for a good =
way to do that.
Thank you.
Ayman
----- Original Message -----
From: Michael Kay
To: 'Ayman El-Geneidy' ; xmlschema-dev@w...
Sent: Thursday, April 08, 2004 4:40 AM
Subject: RE: Questions on Value Validations
From this description, it's not clear what you're doing wrong. There =
are masses of rules that you may be coming up against, but it's not =
possible to see what's going wrong without seeing your code.
Michael Kay
-------------------------------------------------------------------------=
---
From: xmlschema-dev-request@w... =
[mailto:xmlschema-dev-request@w...] On Behalf Of Ayman El-Geneidy
Sent: 08 April 2004 04:54
To: xmlschema-dev@w...
Subject: Questions on Value Validations
I am trying to set a range for a schema element and would appreciate =
if I can get some advice on the best way to do it.
What I am trying is to set a restriction on a simple type element, =
then referencing that elment in a complex type, and finally reference =
that complex type in a different complex type (root element).
Are there any restrictions when using <xsd:restriction> on =
referencing the resulting element in a different element?
If the boundary conditions are repeated for other elements, what is =
the cleanest way to achieve that?
Please excuse my trivial questions as I am fairly new to the =
subject.
Thanks for any help.
Ayman
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
