Stumbling upon this tool called CXSD, I was intrigued.
The documentation describes cxsd as a streaming XSD parser and XML parser generator designed for Node.js and TypeScript (optional but highly recommended). It seemed like the perfect solution for my needs, so I decided to follow the instructions provided and began executing commands.
However, I encountered an issue while trying to run the following command: npm run cxsd file:///C:/XSDtoTypeScript/Flexinova.RBF.LI.V1.xsd
An error message appeared: Unhandled rejection Error: Invalid URI "file:///C:/XSDtoTypeScript/Flexinova.RBF.LI.V1.xsd"
Strangely, when attempting to open the URI in a browser, it worked perfectly fine. I'm puzzled as to why the URI is considered invalid in this context. Any insights or suggestions would be greatly appreciated!