You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2001/04/02 10:23:36 UTC

Re: [DISC] XML issues

Peter Donald <do...@apache.org> wrote:

>>* a built-in mechanism to include build-file fragments - something
>>  that doesn't use SYSTEM entities at all and therefore is XSchema
>>  friendly, allows for property expansions ...
> 
> -1
> Not needed as far as I can see given templating/scoping.


Let's say templating doesn't make it into the core, how would scoping
solve the "I want to include an XML snippet but not use a DOCTYPE
decl"?

Importing from other projects might be an option.

Stefan

Re: [DISC] XML issues

Posted by Stefan Bodewig <bo...@apache.org>.
Peter Donald <do...@apache.org> wrote:

> isn't import/include just a specialised static templating rule

Probably yes, but a very simple special case.

Stefan

Re: [DISC] XML issues

Posted by Peter Donald <do...@apache.org>.
At 06:36  2/4/01 +1000, Peter Donald wrote:
>At 10:23  2/4/01 +0200, Stefan Bodewig wrote:
>>Peter Donald <do...@apache.org> wrote:
>>
>>>>* a built-in mechanism to include build-file fragments - something
>>>>  that doesn't use SYSTEM entities at all and therefore is XSchema
>>>>  friendly, allows for property expansions ...
>>> 
>>> -1
>>> Not needed as far as I can see given templating/scoping.
>>
>>
>>Let's say templating doesn't make it into the core, how would scoping
>>solve the "I want to include an XML snippet but not use a DOCTYPE
>>decl"?
>>
>>Importing from other projects might be an option.
>
>Yep - if templating does not make it in (but I am sure at least xslt
>templating will) then I would +1 an include/import (aswell as those
>antapply/javapply tasks).

Let me rephrase that - if sufficently versatile templating doesn't make
static templating a viable option then I don't mind java/ant-apply.
(Because isn't import/include just a specialised static templating rule).
Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Re: [DISC] XML issues

Posted by Peter Donald <do...@apache.org>.
At 10:23  2/4/01 +0200, Stefan Bodewig wrote:
>Peter Donald <do...@apache.org> wrote:
>
>>>* a built-in mechanism to include build-file fragments - something
>>>  that doesn't use SYSTEM entities at all and therefore is XSchema
>>>  friendly, allows for property expansions ...
>> 
>> -1
>> Not needed as far as I can see given templating/scoping.
>
>
>Let's say templating doesn't make it into the core, how would scoping
>solve the "I want to include an XML snippet but not use a DOCTYPE
>decl"?
>
>Importing from other projects might be an option.

Yep - if templating does not make it in (but I am sure at least xslt
templating will) then I would +1 an include/import (aswell as those
antapply/javapply tasks).

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*