Bug 565348 - Many of the schema files are broken
Summary: Many of the schema files are broken
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.17   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-20 03:45 EDT by Carsten Hammer CLA
Modified: 2020-07-29 15:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Hammer CLA 2020-07-20 03:45:44 EDT
There are different problems:

1) tags with wrong case according to the used schema http://www.w3.org/2001/XMLSchema like appInfo instead of appinfo
eg. https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/166413/1/bundles/org.eclipse.ui/schema/actionSets.exsd

2) missing schema reference (and tags wrong) eg.
https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/166413/1/bundles/org.eclipse.ui/schema/acceleratorScopes.exsd

3) wrong usage of schema like
<attribute name="default" type="boolean" use="default" value="false">
instead of 
<attribute name="default" type="boolean" use="optional" default="false">
eg.
https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/166413/1/bundles/org.eclipse.ui/schema/editors.exsd#b165

4) wrong namespace like
<element ref="actionSetPartAssociation" minOccurs="0" maxOccurs="unbounded"/>
instead of
<element ref="n1:actionSetPartAssociation" minOccurs="0" maxOccurs="unbounded" xmlns:n1="org.eclipse.ui"/>
eg. 
https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/166413/1/bundles/org.eclipse.ui/schema/actionSetPartAssociations.exsd

Maybe more..
Comment 1 Eclipse Genie CLA 2020-07-29 15:55:24 EDT
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/167024