Re: xsd:sequence&In-Reply-To

>> 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