I need to be able to set a simple element type as an integer but allow it to also be empty. This example sends an error if its empty and a blank field is not an integer. H
What you have to do is assign restrictions on the same element plus make a union on them such as the following example:
By using this restriction, you tell the xml validation to allow any integer value and allowing the element if it is empty.