I'm working on a compiler for a DSL with xtext handling the syntactic structure/UI features of the language and Haskell handling the semantics.
It is the Haskell that will identify the semantic errors however I am getting issues with the xtext reporting numerous errors. The xtext is very broad and will accept nearly allworkable code as long as the structure is correct.
Is there anyway of disabling the errors being generated by xtext as they are unneeded and clog the error reporting making it hard to find the real errors.
What kind of errors? Resolving/linking errors? In that case you could consider binding a custom ILinkingDiagnosticMessageProvider.Extended and override getUnresolvedProxyMessage(). Returning null will cause the error to be ignored.
OTOH, if cross references are not resolved correctly, much of the editing & navigation support will break down, not sure that's what you want.