Paul Hammant wrote:

> Stephen,
>
>> No, but it reads Phoenix specific tags and generates Phoenix specific 
>> meta.
>>
>>> We can have one XML generater that generates all for all yes?
>>
>>
>> Maybe - but not in the way its implemented - the code base is 
>> implicitly Phoenix based in that the code knows how to translate a 
>> "phoenix:xxx" to corresponding Phoenix meta statement in a file. 
>> That's actually what I found attractive - the implementation is clean 
>> because is is NOT doing a generic generation process.
>>
>>> We could have switches in the Ant taskdef to control the generated XML?
>>
>>
>> Sure - but how would seperate the different meta models without a 
>> corresponding parrallel tag translation engine for excalibur/meta?  
>> Just for reference - what you have written appears to me to be a good 
>> example of a tag translation engine for Phoenix.
>
>
> Because it picks op on the word "phoenix"?  The xinfo file it 
> generates does not have the word "phoenix" in it
>
> We're _not_ using one codebase then?  


Correct - the phonix code base for component assembly reads in an xinfo 
based on a phoneix specific DTD and the Merlin system reads in an xinfo 
based on the excalibur/meta type DTD.  The DTDs describe similar things 
but the structures are different.  In the excalibur/meta DTD you have 
the addition of context, extensions and stage depedencies which do not 
exist in the Phoenix meta.  In addition, all of the second level 
elements can contain attribute defintions (which don't exist in the 
Phoenix DTD).

Basically, excalibur/meta is a superset of the Phoenix meta.  Merlin can 
describe a Phoneix block using the excalibur/meta but the reverse is not 
true.  Take a look at the page 
http://jakarta.apache.org/avalon/excalibur/meta/type.html for an example 
of a excalibur/meta type description.

Cheers, Steve.

>
> Regards,
>
> - Paul
>
>
>
>
> -- 
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
>
>
>

-- 

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:[EMAIL PROTECTED]
http://www.osm.net




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

Reply via email to