arosien commented on issue #845:
URL:
https://github.com/apache/daffodil-vscode/issues/845#issuecomment-1883765046
> That could work but how do prevent users from entering a full file path.
Basically if we ignore that we could get something odd looking like the user
specifies the path `${workspaceFolder}/infoset.xml` but then the actual file is
`${workspaceFolder}/infoset.xml/infoset.xml`. Is that something we shouldn't be
concerned about or what would be a way to work around that?
Yeah that situation could happen. I think no matter what there needs to be a
warning relayed to the user that they may be doing something weird, and perhaps
not allowing the session to run under such a condition.
My main concern with the current PR, or an alternative, is that the error
condition, and perhaps an applied fix, isn't relayed to the user. I'm ok with
auto-fixing + warning, or error + stopping.
--
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]