Does it mean the XML element is mandatory ? Or the XML element must have some non-null value ? I am really confused by the javadoc explanation.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
generates something like this in the XML schema:
which means the element and a value are mandatory. The default is false.
This:
generates something like this in the XML schema:
which means you can pass in a nil value in your XML like this:
Combining the two like this:
gives an XML schema definition similar to this:
which means the element is mandatory but you can pass in a nil value.