- From: Anitha Chandran <anithacd@hotmail.com>
- Date: Mon, 12 May 2003 15:23:42 +0000
- To: xmlschema-dev@w3.org
Hi, I am doing an xml schema validation using xerces 2.4.0. I have a complex type "USAddress" which has other child elements inside . Now, this is optional. So sometimes, I get just the tag <USAddress/>.. without any child elemets inside. which is valid, as per the requirements. I have specified that USAdress is optional ( minOccurs = 0" in my schema- i use xmlspy to create and edit schemas. Irrespective of this, on encountering this tag, i get the following error. [Error] POCRConvert1.xml:138:19: cvc-complex-type.2.4.b: The content of element 'UsAddress' is not complete. One of '{"":StreetNumPrefix, "":StreetNumber, "":St reetNumberSuffix, "":StreetDirectional, "":StreetName}' is expected. Can anyone let me know how ti solve this? Thanks, Anitha. _________________________________________________________________ IIFA Awards. Vote now. http://server1.msn.co.in/msnspecials/iifa2003/index.asp Celebrate Indian cinema.
Received on Monday, 12 May 2003 11:47:37 UTC