And you are right! My bad. I Just wrote a test case and could not recreate it. Then I found a validate call tugged away in my code.
So much for memory! Thanks anyway. -----Original Message----- From: Yang ZHONG [mailto:[EMAIL PROTECTED] Sent: 28. marts 2007 02:44 To: [email protected] Subject: Re: Loading XML I interpret the requirement such as <element name="required" minOccurs="1" <!--or greater than 1--> and the XML doesn't have "required" element or its substitution. I'm not aware XMLHelper#load normally validates minOccurs. Do you have a Test Case? On 3/27/07, Christian Landbo Frederiksen < [EMAIL PROTECTED]> wrote: > > Hi Guys > > Sorry for the many mails, but I am back trying to fit Tuscany SDO into > my project. I hope my many questions does not drown the mailing list > resulting in no replies at all :) > > Is it possible to adjust the loading of XML to be less rigid? > > helperContext.getXMLHelper().load > > I would love it to so flexible that it could load the xml although > required elements were not filled. I would then fill the required > elements manually using the DataObject with data from elsewhere. > > Is this by any chance what the Options map parameter of the above > mentioned method is for? > > /Chr > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Yang ZHONG --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
