You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Joern Nettingsmeier <ne...@folkwang-hochschule.de> on 2007/02/26 12:11:27 UTC

publication.xconf parsing..

Andreas Hartmann wrote:
> Joern Nettingsmeier schrieb:
>> Andreas Hartmann wrote:
>>> Jörn Nettingsmeier schrieb:
>>>> b) is it ok to parse publication.xconf in more than one java class, or
>>>> had we better handle everything in PublicationConfiguration ?
>>> Basically everything should be done in PublicationConfiguration.
>> ok.
>>
>>> An exception would be composition, then it would make sense to pass
>>> a configuration snippet to a different component (e.g. the path mapper).
>> can you explain what "composition" means?
> 
> http://en.wikipedia.org/wiki/Object_composition

ok. i thought you were talking about some new lenya concept i had missed.

another thing: do you think it would make sense to validate a 
publication.xconf before parsing it? i'm always for it, because it 
forces us to keep the rng up-to-date and all implementations in sync... 
wdot?



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: publication.xconf parsing..

Posted by Joern Nettingsmeier <ne...@folkwang-hochschule.de>.
Andreas Hartmann wrote:
> Joern Nettingsmeier schrieb:
>> Andreas Hartmann wrote:
>>> Joern Nettingsmeier schrieb:
>>>> Andreas Hartmann wrote:
>>>>> Jörn Nettingsmeier schrieb:
>>>>>> b) is it ok to parse publication.xconf in more than one java class, or
>>>>>> had we better handle everything in PublicationConfiguration ?
>>>>> Basically everything should be done in PublicationConfiguration.
>>>> ok.
>>>>
>>>>> An exception would be composition, then it would make sense to pass
>>>>> a configuration snippet to a different component (e.g. the path
>>>>> mapper).
>>>> can you explain what "composition" means?
>>> http://en.wikipedia.org/wiki/Object_composition
>> ok. i thought you were talking about some new lenya concept i had missed.
>>
>> another thing: do you think it would make sense to validate a
>> publication.xconf before parsing it? i'm always for it,
> 
> +1, that should be quite easy using the ValidationUtil.

ok, i'll try to hack it in.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: publication.xconf parsing..

Posted by Andreas Hartmann <an...@apache.org>.
Joern Nettingsmeier schrieb:
> Andreas Hartmann wrote:
>> Joern Nettingsmeier schrieb:
>>> Andreas Hartmann wrote:
>>>> Jörn Nettingsmeier schrieb:
>>>>> b) is it ok to parse publication.xconf in more than one java class, or
>>>>> had we better handle everything in PublicationConfiguration ?
>>>> Basically everything should be done in PublicationConfiguration.
>>> ok.
>>>
>>>> An exception would be composition, then it would make sense to pass
>>>> a configuration snippet to a different component (e.g. the path
>>>> mapper).
>>> can you explain what "composition" means?
>>
>> http://en.wikipedia.org/wiki/Object_composition
> 
> ok. i thought you were talking about some new lenya concept i had missed.
> 
> another thing: do you think it would make sense to validate a
> publication.xconf before parsing it? i'm always for it,

+1, that should be quite easy using the ValidationUtil.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org