Code
Error 1824: Element 'month': '' is not a valid value of the atomic type 'monthType'. in /tmp/phpmGaRxB on line 261 in column: 0
^Error from validating XML file against schema
In my xml document I have a - dateOfBirth(month,day,year) - this is an optional field, since these tags still exist even without values in them they will not pass validation. My schema requires them to be xsd:integer as well as have a inclusive range of a acceptable values.
I am not sure how to add a sort of exception to this, any help would be appreciated. Even if the help was pointing me where to find it on w3 or a similar post on stack overflow that could help.
If your post helped me fix this error, I am more than willing to give a fg donation! Thanks for time, if my wording is poor and needs clarification don't be afraid to ask me to provide more details.
This post was edited by Noobtard on Apr 25 2014 05:40pm