Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Questions on Value Validations

From: "Ayman El-Geneidy" <aelgeneidy@---------.--->
To: "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
       


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent