-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XSD Schemas are empty, 404 error, broken links #2751
Comments
Hi @pubmikeb , sorry, but I need mention, that we have abandoned the support for Eclipse (see https://twitter.com/pmuessig/status/1199687708702126080?s=20). The XSD schemas have been mainly build to support code completion for XMLViews in Eclipse and were never public nor officially supported since they didn't work in a satisfying way. Related issues: #2074, #1971, #1178, #1176, #886, #363, #201, #7 . One more internal reason I'd like to share with you: we are switching from the Maven build tooling to the UI5 Node-based tooling and we have to rewrite a lot of Maven plugins to Node build modules. The XSD was an early try to ensure code completion for XMLViews but they did never work good (as mentioned above). It might be even better to handle the XSD generation in an open-source project based on the API information we generate during our Node build (api.json) which is available per library, e.g. the api.json of For now, the fastest workaround might be to stick with the 1.71 schema files. 1.71 is the latest long term support release. But we will get in touch with @cschuff to discuss how we can continue to support his project ui5-schema. As said, there are other opportunities how to extract the schema related information and ui5-schema could use this to create the XSD. Best regards, |
@petermuessig, thanks for the detailed information regarding Eclipse support plans. Are there any ideas/alternatives for the IDEA/WebStorm users besides SAP WebIDE? |
With the UI5 Tooling we plan to be IDE agnostic - means that having a CLI tool allow you to use it within VSCode, Atom, Eclipse, SAP Web IDE or WebStorm (or any other editor of your choice). For the code completion, we are looking into several directions, e.g. supporting TypeScript for UI5 which is also agnostic to the IDE you are using. Regarding the XSDs I will check with @cschuff whether we can contribute the generation of the XSD to the OSS community and eventually make it part of the ui5-schema project. |
Thanks for such inside, adopting TypeScript sounds promising. |
Somewhen in 2020, it depends on how fast we progress here. I will also try to write a UI5ers buzz soon on that. Stay tuned... :-) |
Great, then this ticket can be considered as obsolete since the XSD is going to be a legacy. |
Ok, I will close the ticket - but I will follow up with @cschuff on the XSD support as OSS. |
@pubmikeb : thanks for your understanding - if I miss to write the outlook on TypeScript till beginning of January you can just ping me... 😄 |
@pubmikeb if you're willing to experiment, please give the following schemas a try: They have been generated from the api.json files provided at https://openui5nightly.hana.ondemand.com. I've tested them successfully in VS Code with XML Support by Red Hat installed. But I would be interested to know if they fit your needs, too. |
thanks for compiling the .xsd's!!!
not related to the schemas: when using multiple namespaces in an XML view, the Plug-In's autocompletion doesn't provide all available controls |
…ription Change-Id: Id25de3c77007575c82cceeeb304a1be21fd1f089 demo-kit-feedback: #2751
@vobu @codeworrior : I am also really interested in a XSD based validation for VSCode. Are there some news on this topic? I checked the provided schemas, but honestly the VS Code Plugin by RedHat seems not to be able to work with the size of the xsd files (slow does not really describe the user experience). Also I would prefer to work on a more "official" version of these XSD files. Are there any updates on this? Thanks a lot, PS: I see i see ( https://marketplace.visualstudio.com/items?itemName=SAPOSS.vscode-ui5-language-assistant ) |
yep, that's as close as it gets. but w/ static 1.71 typings, hopefully updating or adjusting dynamically in the future. probably @IObert know more on this? |
I'm afraid I don't know either :( |
OpenUI5 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 withui5-schemas --sdk sapui5
, both of them fail: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: ui5experts/ui5-schemas#47
The text was updated successfully, but these errors were encountered: