Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » XML Validation in Custom Project
XML Validation in Custom Project [message #199456] Wed, 05 September 2007 16:28
Eclipse UserFriend
Originally posted by:

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?

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

Current Time: Sun Apr 11 18:58:16 GMT 2021

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

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

Back to the top