[ 
http://issues.apache.org/jira/browse/HIVEMIND-70?page=comments#action_12320267 
] 

Davor Hrg commented on HIVEMIND-70:
-----------------------------------

Just to say, the recursive <element> and schema reuse is something I need 
badly. I'm just a beginner with Hivemind, like it a lot, hope this gets 
resolved soon. I know howard is busy enough with tapestry....

> Schema extension capability
> ---------------------------
>
>          Key: HIVEMIND-70
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-70
>      Project: HiveMind
>         Type: Improvement
>   Components: framework
>     Reporter: Jean-Francois Poilpret

>
> It would be interesting, in hivemind module description files, to be able to 
> define a schema (or parameter-schema) in terms of another existing schema.
> For instance, something like: 
> <schema id="A"> 
>         <element name="a1"> 
>                 ... 
>         </element> 
>         <element name="a2"> 
>                 ... 
>         </element> 
> </schema> 
> <schema id="B"> 
>         <sub-schema id="A"/> 
>         <element name="b1"> 
>                 ... 
>         </element> 
> </schema> 
> Then the second schema should be logically identical as the following 
> declaration: 
> <schema id="B"> 
>         <element name="a1"> 
>                 ... 
>         </element> 
>         <element name="a2"> 
>                 ... 
>         </element> 
>         <element name="b1"> 
>                 ... 
>         </element> 
> </schema> 
> Such a mechanism would enable reuse of pre-defined Hivemind schemas (in 
> particular I think about the schema used by BuilderFactory: I think many 
> people here already got the need to create a new Factory service that would 
> "extend" the current BuilderFactory. It is possible currently, but the major 
> problem with this is that we need to copy/paste the schema defined for 
> BuilderFactory into our own configuration file. In addition, any changes to 
> the BuilderFactory schema in a newer version of Hivemind obliges the 
> developer to update his own schema, by copy/pasting once again (for every new 
> version of Hivemind)).

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to