XML Schema minOccurs / maxOccurs default values

I’m wondering how the XML Schema specification handles these cases: <xsd:element minOccurs=”1″ name=”asdf”/> No maxOccurs given -> Is this the cardinality [1..1]? <xsd:element minOccurs=”5″ maxOccurs=”2″ name=”asdf”/> I suppose this is simply invalid? <xsd:element maxOccurs=”2″ name=”asdf”/> Is this the cardinality [0..2] or [1..2]? Is there an “official” definition on how the XML Schema spec handles these … Read more

XML attribute vs XML element

At work we are being asked to create XML files to pass data to another offline application that will then create a second XML file to pass back in order to update some of our data. During the process we have been discussing with the team of the other application about the structure of the … Read more

XML Schema (XSD) validation tool? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 6 years ago. Improve this question At the office we are currently writing an application that will generate XML files against a schema that we … Read more