Can a Global Element have a minOccurs and maxOccurs?

Is this valid?

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
xmlns:test="http://test.com/test"
targetNamespace="http://test.com/test" >

  <element name="test" type="string" minOccurs="2"
maxOccurs="4"/>

</schema

Some people tell me yes and others say no.  I tested
it against IBM's XML Schema validator and it says yes.

I also looked in the SPEC and it says that only the
Particle holds the min and max Occurs and if this is
the case then this is not valid because Global
Elements do not have Particles.

Thanks
Dave Spriet


=====
---------------------------------------------------------
I have not changed my email address so please Reply-To spriet@infostring.com

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

Received on Sunday, 28 October 2001 20:49:14 UTC