Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » XsdValidation
XsdValidation [message #42223] Tue, 27 April 2004 20:03 Go to next message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
Ed,
In the process of doing some other work, we doing a lot of modifications
to an XsdResourceImpl. We seem to be running into performance problems
where everytime a value is changed or new items are added or removed, the
entire schema tries to validate. Is there any way to turn off the auto
validation and then turn it on when the entire effort is complete so as to
only perform the validation once at the end of the major operation?

thanks,

lp
Re: XsdValidation [message #42252 is a reply to message #42223] Tue, 27 April 2004 20:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Lance,

There's XSDSchema.setIncrementalUpdate. You can turn it back on when you're
done your edits...

Lance Phillips wrote:

> Ed,
> In the process of doing some other work, we doing a lot of modifications
> to an XsdResourceImpl. We seem to be running into performance problems
> where everytime a value is changed or new items are added or removed, the
> entire schema tries to validate. Is there any way to turn off the auto
> validation and then turn it on when the entire effort is complete so as to
> only perform the validation once at the end of the major operation?
>
> thanks,
>
> lp
Re: XsdValidation [message #42261 is a reply to message #42252] Tue, 27 April 2004 20:35 Go to previous messageGo to next message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
I had just found it! What kind of things would trigger that value getting
set back to true on it's own? My test seemed to FLY right along after I set
this to false. But somewhere in the middle it started bogging down. Not
sure if it is XSD related or not yet.

What are the implications of leaving it to false and only setting it to true
when you save and then setting it right back to false after saving?

thanks,

lp

"Ed Merks" <merks@ca.ibm.com> wrote in message
news:408EBF41.4ACB9E0F@ca.ibm.com...
> Lance,
>
> There's XSDSchema.setIncrementalUpdate. You can turn it back on when
you're
> done your edits...
>
> Lance Phillips wrote:
>
> > Ed,
> > In the process of doing some other work, we doing a lot of
modifications
> > to an XsdResourceImpl. We seem to be running into performance problems
> > where everytime a value is changed or new items are added or removed,
the
> > entire schema tries to validate. Is there any way to turn off the auto
> > validation and then turn it on when the entire effort is complete so as
to
> > only perform the validation once at the end of the major operation?
> >
> > thanks,
> >
> > lp
>
Re: XsdValidation [message #42292 is a reply to message #42261] Tue, 27 April 2004 20:52 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Lance,

Nothing should set it back to true on its own. When it's false, QNames aren't
resolved and no type analysis is done. Each schema instance has a separate
setting for this, so maybe you have a multiple schema scenario? Setting it to
true doesn't change the syntactic structure so doing that before save isn't
necessary.


Lance Phillips wrote:

> I had just found it! What kind of things would trigger that value getting
> set back to true on it's own? My test seemed to FLY right along after I set
> this to false. But somewhere in the middle it started bogging down. Not
> sure if it is XSD related or not yet.
>
> What are the implications of leaving it to false and only setting it to true
> when you save and then setting it right back to false after saving?
>
> thanks,
>
> lp
>
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:408EBF41.4ACB9E0F@ca.ibm.com...
> > Lance,
> >
> > There's XSDSchema.setIncrementalUpdate. You can turn it back on when
> you're
> > done your edits...
> >
> > Lance Phillips wrote:
> >
> > > Ed,
> > > In the process of doing some other work, we doing a lot of
> modifications
> > > to an XsdResourceImpl. We seem to be running into performance problems
> > > where everytime a value is changed or new items are added or removed,
> the
> > > entire schema tries to validate. Is there any way to turn off the auto
> > > validation and then turn it on when the entire effort is complete so as
> to
> > > only perform the validation once at the end of the major operation?
> > >
> > > thanks,
> > >
> > > lp
> >
Re: XsdValidation [message #586035 is a reply to message #42223] Tue, 27 April 2004 20:14 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Lance,

There's XSDSchema.setIncrementalUpdate. You can turn it back on when you're
done your edits...

Lance Phillips wrote:

> Ed,
> In the process of doing some other work, we doing a lot of modifications
> to an XsdResourceImpl. We seem to be running into performance problems
> where everytime a value is changed or new items are added or removed, the
> entire schema tries to validate. Is there any way to turn off the auto
> validation and then turn it on when the entire effort is complete so as to
> only perform the validation once at the end of the major operation?
>
> thanks,
>
> lp


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: XsdValidation [message #586052 is a reply to message #42252] Tue, 27 April 2004 20:35 Go to previous message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
I had just found it! What kind of things would trigger that value getting
set back to true on it's own? My test seemed to FLY right along after I set
this to false. But somewhere in the middle it started bogging down. Not
sure if it is XSD related or not yet.

What are the implications of leaving it to false and only setting it to true
when you save and then setting it right back to false after saving?

thanks,

lp

"Ed Merks" <merks@ca.ibm.com> wrote in message
news:408EBF41.4ACB9E0F@ca.ibm.com...
> Lance,
>
> There's XSDSchema.setIncrementalUpdate. You can turn it back on when
you're
> done your edits...
>
> Lance Phillips wrote:
>
> > Ed,
> > In the process of doing some other work, we doing a lot of
modifications
> > to an XsdResourceImpl. We seem to be running into performance problems
> > where everytime a value is changed or new items are added or removed,
the
> > entire schema tries to validate. Is there any way to turn off the auto
> > validation and then turn it on when the entire effort is complete so as
to
> > only perform the validation once at the end of the major operation?
> >
> > thanks,
> >
> > lp
>
Re: XsdValidation [message #586065 is a reply to message #42261] Tue, 27 April 2004 20:52 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Lance,

Nothing should set it back to true on its own. When it's false, QNames aren't
resolved and no type analysis is done. Each schema instance has a separate
setting for this, so maybe you have a multiple schema scenario? Setting it to
true doesn't change the syntactic structure so doing that before save isn't
necessary.


Lance Phillips wrote:

> I had just found it! What kind of things would trigger that value getting
> set back to true on it's own? My test seemed to FLY right along after I set
> this to false. But somewhere in the middle it started bogging down. Not
> sure if it is XSD related or not yet.
>
> What are the implications of leaving it to false and only setting it to true
> when you save and then setting it right back to false after saving?
>
> thanks,
>
> lp
>
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:408EBF41.4ACB9E0F@ca.ibm.com...
> > Lance,
> >
> > There's XSDSchema.setIncrementalUpdate. You can turn it back on when
> you're
> > done your edits...
> >
> > Lance Phillips wrote:
> >
> > > Ed,
> > > In the process of doing some other work, we doing a lot of
> modifications
> > > to an XsdResourceImpl. We seem to be running into performance problems
> > > where everytime a value is changed or new items are added or removed,
> the
> > > entire schema tries to validate. Is there any way to turn off the auto
> > > validation and then turn it on when the entire effort is complete so as
> to
> > > only perform the validation once at the end of the major operation?
> > >
> > > thanks,
> > >
> > > lp
> >


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:XsdValidation
Next Topic:Problems copying an XSDSchema
Goto Forum:
  


Current Time: Fri Apr 26 15:45:50 GMT 2024

Powered by FUDForum. Page generated in 0.04234 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top