forked from apache/daffodil
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
De-personalize Diagnostic File URLs in Compiled Schemas
- pass on java.io.File to URISchemaSource as well as URI; update usages - update diagnostics to remove systemid but keep cause, line number and column number - remove maxParentDirectoriesForDiagnostics tunable and diagnosticsStripLocationInfo tdml attribute as it's no longer used and has been replaced with diagnosticFile - return URISchemaSource from resolveSchemaLocation and fileResourceURIConverter - update URISchemaSource constructor to accept 2 arguments instead of tuple - add XercesSchemaFileLocation class which uses xercesError and schemaFileLocation to create more complete schemaFileLocation - if we're using a fakeSchemaDocXML, overwrite the diagnosticFile returned from resolveSchemaLocation to use the xmlSchemaDocument.diagnosticFile - use Paths.resolveSibling for diagnosticFilepath resolution against context diagnosticFile - set diagnosticFile to empty string for DaffodilXMLLoader with comment explaining why - create uriToDiagnosticFile function with heuristic for jar/file/null scheme with separate handling - pass in fake context in cwd to resolveSchemaLocation call from main - clarification comments - update tests to remove paths with unix path separators - update/add tests DAFFODIL-2195
- Loading branch information
1 parent
9b12912
commit d024f17
Showing
37 changed files
with
386 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.