brailleapps / dotify.formatter.impl

Provides an implementation of the formatter interfaces in dotify.api
GNU Lesser General Public License v2.1
0 stars 6 forks source link

Provide accurate locations for OBFL input #52

Closed joeha480 closed 6 years ago

joeha480 commented 6 years ago

When the input is OBFL, the locations of errors does not match the source. This is because the processing is done in two steps. If the output of the first step was XMLEvents from the source (for added events, a suitable location has to be extracted from the original events), then errors in the second step could be accurately reported. This can be achieved by implementing a subset of XMLEventReader in the first step.