hdalsania opened a new issue, #1672:
URL: https://github.com/apache/daffodil-vscode/issues/1672

   ## Description
   
   temp TDML File generation from Launch config (when you run a debug session) 
generated wrong relative file paths when your schema and data files are located 
in different drive in windows (For example, if you have Cand D drive partitions 
on your windows machine and if your schema and data files are located on D 
drive)
   
   This is a edge case found when schema and data files are located on "D" 
drive on windows but the temp TDML file is generated in "C" drive temp 
directory. 
   
   ## Steps to Reproduce
   
   Prerequisite: You have two drives on your windows machine (or your schema 
files and data files are located on external drive)
   
    - Run a debug session with schema and data file located on external drive 
or any other drive than windows installation drive (i.e. C drive)
   
    - Try to create TDML file after initial debug session. (This step will copy 
TDML file from temp directory to user specified directory). This step 
automatically resolves paths to relative path for schema, data and infoset 
files.
    
    -  Open the TDML file from user specified directory and observe the 
resolved relative path.
   
   ## Expected Behavior
   
   Relative paths should be resolved to relative path in external directory.
   
   ## Actual Behavior
   
   It resolves relative paths incorrectly as shown below
   
   <img width="1095" height="287" alt="Image" 
src="https://github.com/user-attachments/assets/c2b169d1-4d4f-433d-977d-6e395dac6955";
 />
   
   ## Additional Notes and Screenshots (optional) 
   
   ## Environment
   
   - Operating System(s):  Windows
   - Prerequisite: Two drives on your windows machine (i.e. C and D drives) and 
schema and data files are located on different drive than windows install drive.
   
   
   


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