You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to discuss with RiseClipse to see if it's possible to return a XPath Expression to Element causing the validation error like we try to build for the XSD Validation.
Before we start this discussion we first want to see if we get it working for the XSD Validation, see #111 and com-pas/compas-open-scd#187.
After that works we can see if the following is possible. (See #108)
I see possibilities in the class 'SCLXMLHandler', here the line number is also added to the EObject. Maybe something can also be done here to store the Element information, see 'org.eclipse.emf.ecore.xmi.impl.XMLHandler' which is extended indirectly by 'SCLXMLHandler'.
But it won't be easy, because there is no Document. We only have the method 'startElement' probably with information about the element being processed.
If we want to support the RiseClipse Team more, the hard thing for now is to have a working development environment.
You probably need to start using Eclipse and see how to compile everything.
The text was updated successfully, but these errors were encountered:
We need to discuss with RiseClipse to see if it's possible to return a XPath Expression to Element causing the validation error like we try to build for the XSD Validation.
Before we start this discussion we first want to see if we get it working for the XSD Validation, see #111 and com-pas/compas-open-scd#187.
After that works we can see if the following is possible. (See #108)
I see possibilities in the class 'SCLXMLHandler', here the line number is also added to the EObject. Maybe something can also be done here to store the Element information, see 'org.eclipse.emf.ecore.xmi.impl.XMLHandler' which is extended indirectly by 'SCLXMLHandler'.
But it won't be easy, because there is no Document. We only have the method 'startElement' probably with information about the element being processed.
If we want to support the RiseClipse Team more, the hard thing for now is to have a working development environment.
You probably need to start using Eclipse and see how to compile everything.
The text was updated successfully, but these errors were encountered: