Hi Frank Exposing the RECORD_UNKNOWN_FEATURE option is sure a good idea. But I'm not sure if this is sufficient from the Java deserialization point of view.
During Java deserialization the method readDataObject in the class HelperProviderImpl.ResolvableImpl calls the XMLHelper.load() method (currently without passing any options). There would be a mechanism needed, that allows to specify options which would then be later picked up by readDataObject during Java deserialization. What do you think? Thanks, Daniel. ----- Ursprüngliche Mail ---- Von: Frank Budinsky <[EMAIL PROTECTED]> An: [email protected] Gesendet: Freitag, den 25. Mai 2007, 16:30:52 Uhr Betreff: 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] __________________________________ Yahoo! Clever: Stellen Sie Fragen und finden Sie Antworten. Teilen Sie Ihr Wissen. www.yahoo.de/clever
