Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-26 Thread Phil Weighill Smith
On Thu, 2005-05-26 at 10:06 +0100, Steve Loughran wrote: > > Hmm. Currently the task is only writing the first > > child as the root element of the output XML document, > > and including the XML declaration. AFAIK a > > non-well-formed fragment should forego the > > declaration. If so, we can do

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-26 Thread Steve Loughran
Matt Benson wrote: --- Matt Benson <[EMAIL PROTECTED]> wrote: --- Phil Weighill Smith <[EMAIL PROTECTED]> wrote: More along the lines of will it work with something like: ha, no, but it should, and will... Hmm. Currently the task is only writing th

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-25 Thread Jesse Glick
Matt Benson wrote: [...] AFAIK a non-well-formed fragment should forego the declaration. I believe you can actually put an XML declaration in a doc with multiple top-level fragments, if you are using it as a parsed external entity. (Only useful to declare the encoding.) But I guess that few p

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-25 Thread Matt Benson
--- Matt Benson <[EMAIL PROTECTED]> wrote: > --- Steve Loughran <[EMAIL PROTECTED]> wrote: > > > > Nice. I like it! If we ever get round to finishing > > the httpPost task in > > the sandbox, we have a Rest client system :) > > > > So what, exactly, do these need? Other than spaces around ope

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-25 Thread Matt Benson
--- Steve Loughran <[EMAIL PROTECTED]> wrote: > > Nice. I like it! If we ever get round to finishing > the httpPost task in > the sandbox, we have a Rest client system :) > So what, exactly, do these need? -Matt > - > To unsub

RE: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-25 Thread Phil Weighill-Smith
Ant script. Phil :n) -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Wed 25/05/2005 18:40 To: Ant Developers List Cc: Subject: Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html --- M

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-25 Thread Matt Benson
--- Matt Benson <[EMAIL PROTECTED]> wrote: > --- Phil Weighill Smith > <[EMAIL PROTECTED]> wrote: > > More along the lines of will it work with > something > > like: > > > > > > > > > > > > > > > > > > > > ha, no, but it should, and will... Hmm. Currentl

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-25 Thread Matt Benson
--- Phil Weighill Smith <[EMAIL PROTECTED]> wrote: > More along the lines of will it work with something > like: > > > > > > > > > ha, no, but it should, and will... Thanks, Matt > > On Wed, 2005-05-25 at 05:04 -0700, Matt Benson > wrote: > > --- Phil We

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-25 Thread Phil Weighill Smith
More along the lines of will it work with something like: On Wed, 2005-05-25 at 05:04 -0700, Matt Benson wrote: > --- Phil Weighill Smith > <[EMAIL PROTECTED]> wrote: > > Does it support document fragments? > > > Do you mean programmatically? No. > > -Mat

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-25 Thread Matt Benson
--- Phil Weighill Smith <[EMAIL PROTECTED]> wrote: > Does it support document fragments? > Do you mean programmatically? No. -Matt > Phil :n. > > On Wed, 2005-05-25 at 11:38 +0100, Steve Loughran > wrote: > > Matt Benson wrote: > > > --- Alexey Solofnenko <[EMAIL PROTECTED]> wrote: > > > > >

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-25 Thread Phil Weighill Smith
Does it support document fragments? Phil :n. On Wed, 2005-05-25 at 11:38 +0100, Steve Loughran wrote: > Matt Benson wrote: > > --- Alexey Solofnenko <[EMAIL PROTECTED]> wrote: > > > >>Why not to add this functionality into normal > >>? > > > > > > I suppose if you wanted to use entities, > >

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-25 Thread Steve Loughran
Matt Benson wrote: --- Alexey Solofnenko <[EMAIL PROTECTED]> wrote: Why not to add this functionality into normal ? I suppose if you wanted to use entities, already can do this (clumsily). This task (OUCH actually doesn't compile b/c I forgot a file) was exceedingly easy and enforces well-f

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-24 Thread Alexey Solofnenko
I am just thinking that less tasks is better. If we can add functionality into existing tasks there will less documentation and code to maintain. - Alexey. On 5/24/05, Matt Benson <[EMAIL PROTECTED]> wrote: > > --- "Alexey N. Solofnenko" <[EMAIL PROTECTED]> > wrote: > > Do you mean, that the

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-24 Thread Matt Benson
--- "Alexey N. Solofnenko" <[EMAIL PROTECTED]> wrote: > Do you mean, that the current task cannot be > made to accept > XMLFragment? It could, but for easiest coding, the XMLFragment would then be represented by a discrete nested element: Alternatively,

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-24 Thread Alexey N. Solofnenko
Do you mean, that the current task cannot be made to accept XMLFragment? - Alexey. Matt Benson wrote: --- Alexey Solofnenko <[EMAIL PROTECTED]> wrote: Why not to add this functionality into normal ? I suppose if you wanted to use entities, already can do this (clumsily). This tas

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-24 Thread Matt Benson
--- Alexey Solofnenko <[EMAIL PROTECTED]> wrote: > Why not to add this functionality into normal > ? I suppose if you wanted to use entities, already can do this (clumsily). This task (OUCH actually doesn't compile b/c I forgot a file) was exceedingly easy and enforces well-formedness of the nes

Re: cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-24 Thread Alexey Solofnenko
Why not to add this functionality into normal ? - Alexey. On 24 May 2005 20:49:55 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > mbenson 2005/05/24 13:49:55 > > Modified: docs/manual coretasklist.html > . WHATSNEW > src/main/org/apache/tools/ant/taskdefs defaults.properties > Added: s

cvs commit: ant/docs/manual/CoreTasks echoxml.html

2005-05-24 Thread mbenson
mbenson 2005/05/24 13:49:55 Modified:docs/manual coretasklist.html .WHATSNEW src/main/org/apache/tools/ant/taskdefs defaults.properties Added: src/main/org/apache/tools/ant/taskdefs EchoXML.java src/testcases/org/apache/tools/a