When an RDF document is parsed, the TokenRegistry keeps track of tokens, to associate RDF resources/graph nodes with their originating locations (line, column), which is used for error reporting. However, this registration does not associate the token with its source file. When the same token appears in multiple loaded files, this can lead to inconsistent data, e.g., wrong locations associated with tokens.
When an RDF document is parsed, the TokenRegistry keeps track of tokens, to associate RDF resources/graph nodes with their originating locations (line, column), which is used for error reporting. However, this registration does not associate the token with its source file. When the same token appears in multiple loaded files, this can lead to inconsistent data, e.g., wrong locations associated with tokens.