W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2000

Re: xsd:sequence&In-Reply-To

From: <Noah_Mendelsohn@lotus.com>
Date: Tue, 8 Aug 2000 20:05:21 -0400
To: Liz Castro <lcastro@cookwood.com>
Cc: www-xml-schema-comments@w3.org
Message-ID: <OFD16DD0E0.4205304C-ON85256936.000064F8@lotus.com>
>> Still, if it's implicit then is there ever 
>> a reason to use it explicitly?

Yes, you can nest sequences within choices, for example.  In that case you 
must make it explicit.

------------------------------------------------------------------------
Noah Mendelsohn                                    Voice: 1-617-693-4036
Lotus Development Corp.                            Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------------







Liz Castro <lcastro@cookwood.com>
Sent by: www-xml-schema-comments-request@w3.org
08/08/00 05:14 PM

 
        To:     www-xml-schema-comments@w3.org
        cc:     (bcc: Noah Mendelsohn/CAM/Lotus)
        Subject:        Re: xsd:sequence&In-Reply-To

Thanks. Still, if it's implicit then is there ever a reason to use it
explicitly?


And do the minOccurs and maxOccurs values in <<xsd:sequence
<fontfamily><param>Courier_New</param>minOccurs='1'
maxOccurs='1'></fontfamily> refer to each member of the group or to the
group as a whole? (I'm guessing it refers to each member.)


And is the only way to _not_ structure the order of the elements in the
instance by using xsd:all? (And is it also true that XSV has a bug with
respect to xsd:all, since it allows more than one element in the group
to appear in the instance despite the fact that the primer says the
permissable values of minOccurs and maxOccurs are 0 and 1?)


And in that same paragraph (fifth para under 2.7), it states "All the
elements in the group may appear once or not at all, and they may
appear in any order."


From my experimenting, it looks like it should read "_Each_ of the
elements in the group" which would make it more clear that it's not a
all or nothing proposition.


thanks very much for your help,

Liz

_______________

Liz Castro

Cookwood Press

mailto:lcastro@cookwood.com

http://www.cookwood.com/


Author of these Visual QuickStart Guides

published by Peachpit Press:


HTML 4 for the World Wide Web, Fourth Edition --Bestseller!!--

Perl and CGI for the World Wide Web

Netscape Communicator 4 for Mac

Netscape Communicator 4 for Windows

(Also Netscape 2 and 3 for both Mac and Windows)


-------------------------------------------------

Bring your problem page to my live HTML clinic on the first

Tuesday of each month at http://www.worldwithoutborders.com
Received on Tuesday, 8 August 2000 20:06:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:53 UTC