Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355898 - Element 'enablement' is not legal as a child of element 'moduleFactory'
Summary: Element 'enablement' is not legal as a child of element 'moduleFactory'
Status: RESOLVED FIXED
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: wst.server (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.2.5   Edit
Assignee: Elson Yuen CLA
QA Contact: Elson Yuen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-25 18:04 EDT by Adrian Padilla CLA
Modified: 2017-10-11 16:37 EDT (History)
0 users

See Also:


Attachments
v1.0 (801 bytes, patch)
2011-10-05 16:45 EDT, Elson Yuen CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Padilla CLA 2011-08-25 18:04:47 EDT
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>
Comment 1 Elson Yuen CLA 2011-10-05 16:45:25 EDT
Created attachment 204636 [details]
v1.0
Comment 2 Elson Yuen CLA 2011-10-05 16:45:57 EDT
Adrian, thanks for the suggestion. Patch created based on your suggestion.
Comment 3 Elson Yuen CLA 2011-10-05 16:52:51 EDT
Changes released to 32M, 33M and HEAD.
Comment 4 Eclipse Genie CLA 2017-10-11 16:37:16 EDT
New Gerrit change created: https://git.eclipse.org/r/109072