W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2004

Re: Questions on Value Validations

From: Ayman El-Geneidy <aelgeneidy@insightbb.com>
Date: Thu, 8 Apr 2004 13:54:08 -0400
Message-ID: <000e01c41d92$7e2d3860$6601a8c0@VAIO>
To: "Michael Kay" <mhk@mhk.me.uk>, <xmlschema-dev@w3.org>

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.


  ----- Original Message ----- 
  From: Michael Kay 
  To: 'Ayman El-Geneidy' ; xmlschema-dev@w3.org 
  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@w3.org [mailto:xmlschema-dev-request@w3.org] On Behalf Of Ayman El-Geneidy
    Sent: 08 April 2004 04:54
    To: xmlschema-dev@w3.org
    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.


Received on Thursday, 8 April 2004 13:54:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:04 UTC