Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Validating wst.sse.ui.StructuredTextEditor on load?
Validating wst.sse.ui.StructuredTextEditor on load? [message #555527] Thu, 26 August 2010 23:04 Go to next message
Eclipse UserFriend
Hi all,

We're using the wst structured text editor in the BPEL Designer project to initially load the BPEL resource. The SSE is used as the "source" page in a multipage editor which is cool because it provide fault tolerant parsing.

The problem is that it's too fault tolerant. Even when the SSE is loaded with crappy XML it will do its darndest to generate a valid DOM.

Is there any way to cause the SSE to log parse errors and then fetch those errors after it has finished loading? Do I need do XML validation separately (OMG, duplicate parsing???)

Thanks!
Bob
Re: Validating wst.sse.ui.StructuredTextEditor on load? [message #555718 is a reply to message #555527] Fri, 27 August 2010 15:28 Go to previous messageGo to next message
Eclipse UserFriend
Is the standard "batch" XML Validator being run on your bpel files? Do you have more validators registered specifically for your content type?
Re: Validating wst.sse.ui.StructuredTextEditor on load? [message #556009 is a reply to message #555718] Mon, 30 August 2010 10:25 Go to previous messageGo to next message
Eclipse UserFriend
Yes, the plugin has registered a BPEL validator. But this is only invoked during a build and is pretty expensive to run. What is the "standard batch xml validator"? Can this be attached to the SSE during loading?
Re: Validating wst.sse.ui.StructuredTextEditor on load? [message #556283 is a reply to message #556009] Tue, 31 August 2010 11:23 Go to previous messageGo to next message
Eclipse UserFriend
In org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProc essor#getValidatorStrategy() you'll find that while we automatically run validators registered using the org.eclipse.wst.sse.ui.extensions.sourcevalidation extension point. If the BPEL content type extends the XML content type, it should already be running XML validation.
Re: Validating wst.sse.ui.StructuredTextEditor on load? [message #556740 is a reply to message #556283] Thu, 02 September 2010 09:37 Go to previous message
Eclipse UserFriend
Thanks Nitin, that helped Smile
Previous Topic:Testing WTP 3.2.2?
Next Topic:migrating from MyEclipse
Goto Forum:
  


Current Time: Tue Jul 22 21:13:45 EDT 2025

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

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

Back to the top