Hi,

 

I have patched HiveMind 1.0 (I have to use a stable base version) to allow descriptors of the following form:

 

 

<module id="hivemind.test.config" version="1.0.0">

            Description of the Module.

            <configuration-point id="CData" occurs="1..n"

            schema-id="cdataSchema">

                        Description of MyExtensionPoint.

            </configuration-point>

            <schema id="cdataSchema">

                        <!-- should have name attribute -->

                        <element name="cdata">

                                    <rules>

                                                <create-object class="hivemind.test.config.impl.StringHolder"/>

                                                <read-content property="value"/>

                                                <invoke-parent method="addElement"/>

                                    </rules>

                        </element>

            </schema>

            <contribution configuration-id="CData">

            <cdata><![CDATA[<a><b>bcontent</b></a>]]></cdata>

            </contribution>

</module>

 

As I had a requirement for XML configuration values that I wanted to pass through as XML, whereas for other values I wanted to make use of HiveMind’s Java binding functionality. I have also written a testcase which runs against the configuration above (I added a method testCData()to TestConfigurationPoint.java).

 

Is this likely to be of interest for inclusion into HiveMind 1.1 (or the trunk)?

 

If so then what protocol exists for submitting a patch for consideration.

 

Thnaks

 

Norval Hope

Computer Associates

Senior Software Engineer

eTrust Admin Development

Richmond, Melbourne, Australia

Phone: +61 3 84165703

Fax: +61 3 94165810

Mobile: +61 4 1243-8159

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

 

Reply via email to