Return-Path: Delivered-To: apmail-ws-tuscany-user-archive@locus.apache.org Received: (qmail 62070 invoked from network); 28 Mar 2007 07:16:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Mar 2007 07:16:09 -0000 Received: (qmail 45268 invoked by uid 500); 28 Mar 2007 07:16:16 -0000 Delivered-To: apmail-ws-tuscany-user-archive@ws.apache.org Received: (qmail 45249 invoked by uid 500); 28 Mar 2007 07:16:16 -0000 Mailing-List: contact tuscany-user-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tuscany-user@ws.apache.org Delivered-To: mailing list tuscany-user@ws.apache.org Received: (qmail 45240 invoked by uid 99); 28 Mar 2007 07:16:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2007 00:16:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [195.215.108.135] (HELO mail.topnordic.com) (195.215.108.135) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2007 00:16:06 -0700 Received: from BALEXCH01.tn.lan ([10.1.21.52]) by trend1.tn.lan with InterScan Message Security Suite; Wed, 28 Mar 2007 09:15:41 +0200 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Loading XML Date: Wed, 28 Mar 2007 09:15:40 +0200 Message-ID: <5F80C76B5ED9284CA8856BAD3BD764E24A1A6F@BALEXCH01.tn.lan> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Loading XML Thread-Index: Acdw0kSV4qzKLzEpRpyRWiYgBTqWxAANmxlw References: <5F80C76B5ED9284CA8856BAD3BD764E24A1A4D@BALEXCH01.tn.lan> From: "Christian Landbo Frederiksen" To: X-Virus-Checked: Checked by ClamAV on apache.org 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.=20 So much for memory! Thanks anyway. -----Original Message----- From: Yang ZHONG [mailto:leiwang.yangzhong@gmail.com]=20 Sent: 28. marts 2007 02:44 To: tuscany-user@ws.apache.org Subject: Re: Loading XML I interpret the requirement such as 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 < Christian.Landbo.Frederiksen@ementor.dk> 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: tuscany-user-unsubscribe@ws.apache.org > For additional commands, e-mail: tuscany-user-help@ws.apache.org > > --=20 Yang ZHONG --------------------------------------------------------------------- To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org For additional commands, e-mail: tuscany-user-help@ws.apache.org