Community
Participate
Working Groups
As a first check for validating ReqIF files, RMF should support the validation against the official ReqIF XML schema. The schema files have passed the IP review and we are allowed to ship them with RMF. See * CQ-6432 (https://dev.eclipse.org/ipzilla/show_bug.cgi?id=6432) for the OMG files * CQ6708 (https://dev.eclipse.org/ipzilla/show_bug.cgi?id=6708) for the W3C files
With git revision Checking out Revision 83fc77c56109aa1e3d88ac2a7faf9fabd9516eb5 the schema files are added to the RMF repository and xsd validation has been enabled: * xsd validation that makes use of the schema validator directly is now available in the test cases * xsd validation can additioally be triggered while loading reqif files via the ReqIFResource The validation during load via the ReqIF resource is switched off by default and can only be activated programmatically. Next step: add preferences in the UI that allows switching on and off schema validation during load operations.
Eclipse Sphinx already contains a powerful mechanism for integration of schema validation including non-blocking creation of error markers and UI for configuration. Thus I vote for integrating the sphinx features instead of reimplementing the code. activities in Sphinx have started which allow consuming that feature without introducing too many dependencies.