stevedlawrence commented on PR #1067:
URL: https://github.com/apache/daffodil/pull/1067#issuecomment-1677707857

   > The best thing would be for Main to call that function too, but if it 
can't, then the Main code needs to be tweaked and ideally some tests added 
(these new tests won't be necessary if Main calls the XMLUtils function).
   
   The new function works slightly differently than how main works. I think the 
main different is that if the schema location is relative it requires a context 
URI to resolve relative to, or else it's an assertion failure. The CLI allows 
relative path locations without a context.
   
   Though, I wonder if maybe when called from the CLI, we could say the 
`optContextURI` is the current working directory? Then relative paths are 
resolved relative to the CWD URI and resolve as expected? I can give that a 
shot.


-- 
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]

Reply via email to