| Summary: | Element 'enablement' is not legal as a child of element 'moduleFactory' | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP ServerTools | Reporter: | Adrian Padilla <adrianpade14> | ||||
| Component: | wst.server | Assignee: | Elson Yuen <eyuen7> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Elson Yuen <eyuen7> | ||||
| Severity: | minor | ||||||
| Priority: | P3 | ||||||
| Version: | 3.2 | ||||||
| Target Milestone: | 3.2.5 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| See Also: | https://git.eclipse.org/r/109072 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 204636 [details]
v1.0
Adrian, thanks for the suggestion. Patch created based on your suggestion. Changes released to 32M, 33M and HEAD. New Gerrit change created: https://git.eclipse.org/r/109072 |
It appears that the schema for the org.eclipse.wst.server.core.moduleFactories extension point needs to be updated to add the enablement element as an allowed child of the moduleFactory element. Here is a proposal: This is a modification to the moduleFactory element defined in the ModuleFactories.exsd in the org.eclipse.wst.server.core plugin <element name="moduleFactory"> <annotation> <appInfo> <meta.element labelAttribute="id"/> </appInfo> </annotation> <complexType> <sequence> <element ref="moduleType" minOccurs="0" maxOccurs="unbounded"/> <element ref="enablement" minOccurs="0" maxOccurs="1"/><!--New line--> </sequence>