Thanks for the response. I added the assert and it's working.
Basically I added the following assert
<xs:assert test="exists(element1)" />



--
View this message in context: 
http://apache-xml-project.6118.n7.nabble.com/Adding-XSD-1-1-assertions-to-a-complex-type-tp41267p41274.html
Sent from the Xerces - J - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-users-h...@xerces.apache.org

Reply via email to