[ http://issues.apache.org/jira/browse/GERONIMO-2070?page=all ]
John Sisson closed GERONIMO-2070:
---------------------------------
Resolution: Fixed
> config.xml validation error when attempting to clear references for a GBean
> ---------------------------------------------------------------------------
>
> Key: GERONIMO-2070
> URL: http://issues.apache.org/jira/browse/GERONIMO-2070
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: startup/shutdown
> Versions: 1.1
> Reporter: John Sisson
> Assignee: John Sisson
> Priority: Blocker
> Fix For: 1.1
>
> Currently the j2ee-tomcat assembly's config.xml attempts to clear a GBean
> reference in it's var\config.xml file by doing the following:
> <gbean name="TomcatEngine">
> <reference name="TomcatValveChain" />
> </gbean>
> This results in the following validation error because the referenceType in
> the local-attributes-1.1.xsd schema specifies minOccurs="1" for the child
> pattern element. This does not match the logic in the GBeanOverride class
> that treats zero pattern elements as an indication that references should be
> cleared for the GBean.
> Error: URI=null Line=74: cvc-complex-type.2.4.b: The content of element
> 'reference' is not complete. One of
> '{"http://geronimo.apache.org/xml/ns/attributes-1.1":pattern}' is expected.
> A recent change to the config.xml file in rev 407883 as exposed this problem.
--
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