JeremyYao commented on PR #1382:
URL: https://github.com/apache/daffodil-vscode/pull/1382#issuecomment-3309543889

   > @JeremyYao @CoverRyan @michael-hoke @naga-panchumarty - The errors you had 
been seeing previously were due to a pathing object conversion issue for the 
Svelte static files, specifically the _index.html_.
   > 
   > When injecting the nonce values into the HTML source, the 
`SvelteWebviewInitializer` was passing the _index.html_ Uri path as `.fsPath` 
property from the `vscode.Uri` type. Changing this to remove this conversion 
resolves the issue on Windows.
   > 
   > I believe it's because that `.fsPath` and `.path` properties prepend those 
string value with a `\`. So the head of the path properties were `\c:\` and I 
think Windows sees that initial slash and automatically makes the path 
canonical, converting it to `C:\c:\...`.
   
   Good find! I retested this PR on W10 and found the data editor was able to 
be opened via command palette. 


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