Skip to content

Commit

Permalink
!fixup De-personalize Diagnostic File URLs in Compiled Schemas
Browse files Browse the repository at this point in the history
- In windows, Paths.get().toFile returns a path with the windows style separator, while the tdml is expecting unix style separators. Using uri.getPath, while it returns unix style separators, causes an error because it returns an absolute path with a leading "/" before the drive letter

DAFFODIL-2195
  • Loading branch information
olabusayoT committed Mar 19, 2024
1 parent 9673fcd commit 16babd6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@
the
error messages to specifically mention this file, not just show that
it was included. -->
<tdml:error>subfolder/multi_C_06_nons.dfdl.xsd</tdml:error>
<tdml:error>multi_C_06_nons.dfdl.xsd</tdml:error>
</tdml:errors>
</tdml:parserTestCase>

Expand Down Expand Up @@ -2212,7 +2212,7 @@
<tdml:document><![CDATA[temp]]></tdml:document>
<tdml:errors>
<tdml:error>nonExistent</tdml:error>
<tdml:error>namespaces/multi_C_13.dfdl.xsd</tdml:error>
<tdml:error>multi_C_13.dfdl.xsd</tdml:error>
</tdml:errors>
</tdml:parserTestCase>

Expand Down

0 comments on commit 16babd6

Please sign in to comment.