thanks for the suggestion, i'll give it a try. should be a workable solution.

peter


On Fri, 04 Feb 2005 18:12:50 -0600, Keith Visco <[EMAIL PROTECTED]> wrote:
> 
> 
> Hi Peter,
> 
> Have you tried the following:
> 
> import org.exolab.castor.util.Configuration;
> import org.exolab.castor.util.LocalConfiguration;
> 
> Properties props = LocalConfiguration.getInstance().getProperties();
> props.setProperty(Configuration.Property.StrictElements, "true");
> 
> Just be careful when setting global castor properties, especially if
> multiple apps running in the same VM are using Castor. Changing static
> properties on one instance will change the same value for all instances
> running in the same VM.
> 
> --Keith



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to