XSD Schemas are empty, 404 error, broken links
See original GitHub issueOpenUI5 version: 1.73
I’m trying to download the XSD-schemas of the OpenUI5 with the UI5 Schemas NPM module but get a permanent error.
I tried to get schemas with ui5-schemas --sdk openui5
and with ui5-schemas --sdk sapui5
, both of them fail:
C:\Users\User\IdeaProjects\PROJ>ui5-schemas --sdk sapui5 ui5-schemas info Attempting to download latest version of ‘sapui5’. Determining latest version… ui5-schemas info https://sapui5.hana.ondemand.com/resources/sap-ui-version.json ui5-schemas info Detected version of sdk ‘sapui5’ is ‘1.72.1’ ui5-schemas info Preparing ‘sapui5’ schemas in version ‘1.72.1’… ui5-schemas info Yay, all schema files were successfully downloaded! ui5-schemas info [enhance] Making schemas even cooler… ui5-schemas info [link] Discovered an .idea project! Registering schemas… ui5-schemas error TypeError: Cannot read property ‘filter’ of undefined at C:\Users\User\IdeaProjects\PROJ\node_modules\ui5-schemas\lib\link.js:63:44 at Parser.<anonymous> (C:\Users\User\IdeaProjects\PROJ\node_modules\xml2js\lib\parser.js:303:18) at Parser.emit (events.js:302:20) at SAXParser.onclosetag (C:\Users\User\IdeaProjects\PROJ\node_modules\xml2js\lib\parser.js:261:26) at emit (C:\Users\User\IdeaProjects\PROJ\node_modules\sax\lib\sax.js:624:35) at emitNode (C:\Users\User\IdeaProjects\PROJ\node_modules\sax\lib\sax.js:629:5) at closeTag (C:\Users\User\IdeaProjects\PROJ\node_modules\sax\lib\sax.js:889:7) at SAXParser.write (C:\Users\User\IdeaProjects\PROJ\node_modules\sax\lib\sax.js:1436:13) at Parser.exports.Parser.Parser.parseString (C:\Users\User\IdeaProjects\PROJ\node_modules\xml2js\lib\parser.js:322:31) at Parser.parseString (C:\Users\User\IdeaProjects\PROJ\node_modules\xml2js\lib\parser.js:5:59) at registerLibs (C:\Users\User\IdeaProjects\PROJ\node_modules\ui5-schemas\lib\link.js:33:12) at C:\Users\User\IdeaProjects\PROJ\node_modules\ui5-schemas\lib\link.js:98:11 ui5-schemas info [enhance] Enhancing done!
Besides that, some of the downloaded schemas files are empty — it’s just 1 KB files with HTML regarding 404 error.
Could you please fix the schemas or provide a direct link to all XSD Schemas for the specific version of UI5.
Related issue: https://github.com/ui5experts/ui5-schemas/issues/47
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (8 by maintainers)
@pubmikeb : thanks for your understanding - if I miss to write the outlook on TypeScript till beginning of January you can just ping me… 😄
I’m afraid I don’t know either 😦 Maybe you can open an issue in the project’s GitHub repo and ask for the roadmap.