W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2001

Are facets permitted on for types with nested <simpleType> - Structure 3.14 should say

From: Bob Schloss <rschloss@us.ibm.com>
Date: Wed, 17 Oct 2001 13:46:57 -0400
To: ht@cogsci.ed.ac.uk (Henry S. Thompson), www-xml-schema-comments@w3.org
Message-ID: <OF261A990D.1D20E542-ON85256AE8.006128E4@pok.ibm.com>

I confused two questions I wanted to ask.  (Not a good idea to write e-mail
while on a teleconference)....

Question 1: Is it syntatically legal to specify some of the constraining
facets in a nested simpleType definition (under <restriction>) and other
constraining facets outside that nested simpleType definition but as child
elements of <restriction>?  What is the algorithm for deciding which
constraining facet element information items would be permitted in that
second section?  (This is the question implied by Peter's original question
to me).

Question 2: Can a simpleType of anySimpleType be implied in a user schema?
If so, can any facet element information items be used to constrain it?

Thanks,
Bob


ht@cogsci.ed.ac.uk (Henry S. Thompson) on 10/17/2001 12:43:38 PM

To:   Bob Schloss/Watson/IBM@IBMUS
cc:   www-xml-schema-comments@w3.org
Subject:  Re: Are facets permitted on for anySimpleType - Structure 3.14
      should say; Primer  Appendix B should say; Datatypes 4.3 might say



I can't see how this subject derives from the question.  How does
anySimpleType get in here?  If there's no 'base', there must be a
nested <simpleType> . . .

ht
--
  Henry S. Thompson, HCRC Language Technology Group, University of
Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
         Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
               URL: http://www.ltg.ed.ac.uk/~ht/
Received on Wednesday, 17 October 2001 13:48:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:57 GMT