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
|
|
|
Powered by
FUDForum. Page generated in 0.03090 seconds