Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF XSD Developers: Public Service Announcement about Validation
EMF XSD Developers: Public Service Announcement about Validation [message #421943] Mon, 18 August 2008 23:03 Go to next message
Jason Henriksen is currently offline Jason HenriksenFriend
Messages: 231
Registered: July 2009
Senior Member
So I had a validation problem today that seemed very annoying. I'm
posting the solution here because it would have been nice if I could
have googled for this and found something. Hopefully this is helpful to
someone.

My project uses many XSDs that all reference each other.
(Our project uses 350 seperate XSD files to define the model so the
interdependencies are important)

As Eclipse/RAD is setup by default, you can get a huge number of
validation errors with the message "Referenced File Contains Errors"
however the file being referenced doesn't show any validation errors at
all! This was hugely frustrating.

Turns out that if you go to "Windows | Preferences | Validation" there
are two buttons with "..." on them beside WSDL and XSD validation.
Click them and select the option starting with "Eclipse". Now when you
validate you'll get MUCH more helpful error messages.

Ed: Any chance that default could be changed?

Thanks,

Jason Henriksen
Re: EMF XSD Developers: Public Service Announcement about Validation [message #421944 is a reply to message #421943] Mon, 18 August 2008 23:51 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33216
Registered: July 2009
Senior Member
Jason,

Comments below.

jason henriksen wrote:
> So I had a validation problem today that seemed very annoying. I'm
> posting the solution here because it would have been nice if I could
> have googled for this and found something. Hopefully this is helpful
> to someone.
>
> My project uses many XSDs that all reference each other.
> (Our project uses 350 seperate XSD files to define the model so the
> interdependencies are important)
That's a large number.
>
> As Eclipse/RAD is setup by default, you can get a huge number of
> validation errors with the message "Referenced File Contains Errors"
> however the file being referenced doesn't show any validation errors
> at all! This was hugely frustrating.
Eclipse is open source. RAD is a product. If the issue is the same in
both it's likely to be a WTP issue. If not, who knows.
>
> Turns out that if you go to "Windows | Preferences | Validation" there
> are two buttons with "..." on them beside WSDL and XSD validation.
> Click them and select the option starting with "Eclipse". Now when
> you validate you'll get MUCH more helpful error messages.
It seems to me that there's support for Xerces-based schema validation
and XSD-based validation. What does the helpful message say?
>
> Ed: Any chance that default could be changed?
The Eclipse default or the RAD one? It sounds like a WTP question or a
RAD one much more than an EMF one... I don't know anything about these
options...
>
> Thanks,
>
> Jason Henriksen


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[EMF.Edit] Custom InitializeCopyCommand
Next Topic:How to set a value for EFeatureMapEntry datatype?
Goto Forum:
  


Current Time: Sat Sep 21 00:01:34 GMT 2024

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

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

Back to the top