Re: validating a XML file using XSD 1.1 with Xerces-J

2013-04-22 Thread Roberto Marabini
Dear Mukulg, I followed your suggestion and it worked ;-) Thanks Roberto On Mon, Apr 22, 2013 at 2:39 PM, Mukul Gandhi wrote: > your XSD document specifies the concerned element declarations as follows, > > > > > which means that these elements are optional. > > Within your XML

Re: validating a XML file using XSD 1.1 with Xerces-J

2013-04-22 Thread Mukul Gandhi
your XSD document specifies the concerned element declarations as follows, which means that these elements are optional. Within your XML instance document, only the first element has the above element instances. Your assertion, succeeds on the which has the elements defocusU and defocusV bu

validating a XML file using XSD 1.1 with Xerces-J

2013-04-21 Thread Roberto Marabini
Hi, I am trying to write a XSD 1.1 schema that uses XSD 1.1 assertions. I am able to repeat the examples described in the URL: http://mukulgandhi.blogspot.com.es/2009/11/xsd-11-some-xsd-11-samples-running-with.html so I guess my xerces-j installation is OK. When I tried to include an asse