Search found 2 matches
Search found 2 matches • Page 1 of 1
- Tue May 04, 2010 7:42 pm
- Forum: XML Schemas
- Topic: XSD validation with minOccurs="1"
- Replies: 2
- Views: 6367
I have a problem validating an XML document against its XSD. Specifically, I have set minOccurs="1" for an element in the XSD. The element does not exist in the XML file. The XML file validates against the XSD without errors! How can this happen? Example code: XSD: <xs:schema attributeFormDefault="u...