I think exposing RECORD_UNKNOWN_FEATURE as an option to XMLHelper.load() is a good solution. I would vote against making it the default behavior.
- Ron ----- Original Message ---- From: Frank Budinsky <[EMAIL PROTECTED]> To: [email protected] Sent: Friday, May 25, 2007 10:30:52 AM Subject: Re: Evolution of a specific SDO structure over time Hi Daniel, I guess it would be OK, but the downside of making it a default option (i.e., always do it) is that the SDO loader will then pretty much never fail - you'll be able to load any junk without getting any load errors. The other alternative is to expose the RECORD_UNKNOWN_FEATURE option as one supported by Tuscany SDO, so you can pass it to the XMLHelper.load() method when you want this behavior. Comments? What do others thing about this? Thanks Frank. Daniel Peter <[EMAIL PROTECTED]> wrote on 05/25/2007 10:12:29 AM: > Hi Frank > > It works if the following line is added to the > configureXMLResource method of class DataObjectUtil: > > resource.getDefaultLoadOptions().put(XMLResource. > OPTION_RECORD_UNKNOWN_FEATURE,Boolean.TRUE); > > Could you add this? > > Regards, Daniel. > > > > __________________________________ Kennt man wirklich jeden > über 3 Ecken? Die Antworten gibt's bei Yahoo! Clever. www.yahoo.de/clever > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
