Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Why XSDElementDeclaration doesnt have Min/Max Occur?
Why XSDElementDeclaration doesnt have Min/Max Occur? [message #566848] Mon, 31 March 2003 09:12
kaunteya bhattacharya is currently offline kaunteya bhattacharyaFriend
Messages: 24
Registered: July 2009
Junior Member
Hello,
Was wondering why the cardinality support is not there for
XSDElementDeclaration. Please correct me if i am wrong, but i believe the
XSDElementDecl can have a max|min from the XML Schema definition:

XML Representation Summary: element Element Information Item
<element
abstract = boolean : false
block = (#all | List of (extension | restriction | substitution))
default = string
final = (#all | List of (extension | restriction))
fixed = string
form = (qualified | unqualified)
id = ID
maxOccurs = (nonNegativeInteger | unbounded) : 1
minOccurs = nonNegativeInteger : 1
name = NCName
nillable = boolean : false
ref = QName
substitutionGroup = QName
type = QName
{any attributes with non-schema namespace . . .}>
Content: (annotation?, ((simpleType | complexType)?, (unique | key |
keyref)*))
</element>


but i couldnt find the api on Element in xsd doc. What should I do? I am
planning to have XSDElements as schema contents but in my schema, they can
occur more than once.

many thanks

kaunteya
Previous Topic:Repititive elements in Schema: Help!
Next Topic:Why XSDElementDeclaration doesnt have Min/Max Occur?
Goto Forum:
  


Current Time: Sat Apr 20 04:28:53 GMT 2024

Powered by FUDForum. Page generated in 0.03091 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top