← Prev in month
← Prev in thread
Issue: are <optional>, <oneOrMore>, <zeroOrMore> verbose?
Currently, to declare optional attributes, we write <optional> <attribute ..> </attribute> <optional> To declare a collection of many optional attributes, we write <define name="commonAttributes"> <optional> <attribute ..> </attribute> <optional> <optional> <attribute ..> </attribute> <optional> ... <optional> <attribute ..> </attribute> <optional> </define> Isn't this verbose? Quite a few people in the XML Schema WG think that elements for */+/? are too verbose and have chosen "maxOccurs"" and minOccurs". RELAX Core has chosen "occurs". Cheers, Makoto
← Prev in month
← Prev in thread