Open
Description
I and using rdf-validate-shacl to validate data files, but n3.sj throws away where in the file a Quad is. This means when letting the user know there is validation errors, I can tell them what is wrong, but can't tell them where in the file the error happens.
It would be nice is N3 kept the line number so something like
const offending = dataStore.getQuads(focus, path, null, null);
for (const q of offending) {
console.error(`Value : ${q.object.value}@ ${q.object.lineNumber}`);
}
would be possible. Otherwise validation just send the user off on a frustration filled scavenger hunt.
Metadata
Metadata
Assignees
Labels
No labels