olabusayoT commented on code in PR #1065:
URL: https://github.com/apache/daffodil/pull/1065#discussion_r1496287288
##########
daffodil-core/src/main/scala/org/apache/daffodil/core/dsom/SchemaSet.scala:
##########
@@ -139,6 +139,8 @@ final class SchemaSet private (
*/
override lazy val uriString: String = schemaSource.uriForLoading.toString
+ override lazy val diagnosticFilepath: String =
schemaSource.diagnosticFilepath
Review Comment:
According to the comment above uriString, the schemaSource is the "first
schema document". So my guess is we're using the root document in the schema
set.
I decided to add the diagnosticFilepath everywhere where we set a URIString,
specifically for the test "Testnamespaces.test_long_chain_05", where we have
nested imports, I noticed diagnosticFilepath was returning as the base file,
not the associated imported file. I'm not sure if this particular placement
fixed the issue, but I wanted to play it safe!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]