geronimo-config-1.1.xsd needs to be changed - import element is not valid as a
child of the configId element in a plan
----------------------------------------------------------------------------------------------------------------------
Key: GERONIMO-1846
URL: http://issues.apache.org/jira/browse/GERONIMO-1846
Project: Geronimo
Type: Bug
Security: public (Regular issues)
Components: deployment, kernel
Versions: 1.1
Reporter: John Sisson
Fix For: 1.1
In the geronimo-config-1.1.xsd schema the "configId" has a type of
"sys:artifactType". The last element in "sys:artifactType" is the "import"
element, but the "import" element is not used when specifying a configId, it is
only used when specifying dependencies.
The "import" element should be moved out of the type "sys:artifact" type. Do
we need to introduce a dependencyArtifactType type that has the import element?
Here is what the schema currently looks like:
<xs:complexType name="environmentType">
<xs:sequence>
<xs:element name="configId" type="sys:artifactType" minOccurs="0"/ >
<xs:element name="dependencies" type="sys:dependenciesType"
minOccurs="0"/>
<xs:element name="hidden-classes" type="sys:classFilterType"
minOccurs="0"/>
<xs:element name="non-overridable-classes"
type="sys:classFilterType" minOccurs="0"/>
<xs:element name="inverse-classloading" type="sys:emptyType"
minOccurs="0"/>
<xs:element name="suppress-default-environment"
type="sys:emptyType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="artifactType">
<xs:sequence>
<!-- TODO not sure if groupId can in fact be optional -->
<xs:element name="groupId" type="xs:string" minOccurs="0"/>
<xs:element name="artifactId" type="xs:string"/>
<xs:element name="version" type="xs:string" minOccurs="0"/>
<xs:element name="type" type="xs:string" minOccurs="0"/>
<xs:element name="import" type="sys:importType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="dependenciesType">
<xs:sequence>
<xs:element name="dependency" type="sys:artifactType" minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira