Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » XML Validation in Custom Project
XML Validation in Custom Project [message #199456] Wed, 05 September 2007 16:28
Eclipse User
Originally posted by: joseph.gay.ipov.net

I am using the WTP xml editor in an RCP application. Everything is
working fine except that we will need to use a custom project type and
the schema validation does not work correctly. As an example, if I check
the box that says "Warn if no grammar is specified", I don't get any
warnings even when there is no grammar. I also don't get any errors for
files that do specify a grammar even when there are errors. Just as a
test, I included the JDT and created a Java project inside the RCP app,
and it validates fine, so the issue is with hooking our project to the
validator. I have created a project nature for our project, and it adds
the "org.eclipse.wst.validation.validationbuilder" to the description in
the configuration. I have confirmed that this code is executing. I also
added our project nature to the "org.eclipse.wst.validation.validator"
extension using the plugin.xml from "org.eclipse.wst.xml.core" as an
example. What else should I look into to get this working?

Thanks,
Joe
Previous Topic:HTTP headers in Web service
Next Topic:Need Facet plug-in to override default Web Module settings
Goto Forum:
  


Current Time: Thu Oct 23 02:36:55 GMT 2014

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

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