Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Inaccurate Extension Point Schemas

Starting next week's integration build, the plugin.xml validation will
become stronger as PDE starts to report errors when minOccurs/maxOccurs
violations occur in an extension's markup.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=157993

In addition to stronger validation, PDE uses the element multiplicity data
in extension point schemas to improve the accuracy of creating extensions
in the plug-in manifest editor.

This is great, but...

During the process, we have found that some extension point schemas in the
SDK have bugs in their specifications.
That is, the .exsd file says one thing, but the client extension and the
code that processes extensions does another thing.

As a result, clients of these extension points will have their markup
flagged by PDE as non-compliant with the schema, even though their
extension markup is perfectly fine.

Below is a list of extension point .exsd files which were deemed inaccurate
by our testing on SDK plug-ins:

org.eclipse.core.resources.modelProviders
org.eclipse.debug.core.launchConfigurationTypes
org.eclipse.help.base.activitySupport
org.eclipse.help.base.browser
org.eclipse.jdt.debug.javaLogicalStructures
org.eclipse.jdt.ui.javaCompletionProposalSorters
org.eclipse.jdt.ui.quickFixProcessors
org.eclipse.team.ui.synchronizeParticipants
org.eclipse.ui.actionSets
org.eclipse.ui.browser.browsers
org.eclipse.ui.cheatsheets.cheatSheetContent
org.eclipse.ui.editors.annotationTypes
org.eclipse.ui.editors.markerAnnotationSpecification
org.eclipse.ui.ide.markerSupport
org.eclipse.ui.intro.configExtension
org.eclipse.ui.navigator.navigatorContent
org.eclipse.ui.navigator.viewer
org.eclipse.ui.popupMenus
org.eclipse.ui.themes

Note that this list may not be a complete list, since it is possible that
some extension points do not have clients in the SDK.

Our extension point schema correspondent Mike Pawlowski will be opening bug
reports against affected components and (heroically) providing patches for
all these schemas.
Please plan to apply these patches by next Tuesday's I-build.

If you have any questions/concerns, please cc Mike (mpawlow@xxxxxxxxxx) and
he will work with you to resolve any issues you may have

Thank you,
The PDE Family.



Back to the top