Re: "echo"-task, ignorable whitespace and CDATA-elements

2003-08-05 Thread Steve Loughran
Morten Mortensen wrote: ...Sure, I understand your points. And I also admit - the XML-spec does *not* say that; it does say white-space should be passed to the app! I just had a harder look. dont worry about it, XML is a complex little spec. And then there is XSD... But the same section (http://www

RE: "echo"-task, ignorable whitespace and CDATA-elements

2003-08-04 Thread Morten Mortensen
ainly not I, who invented the "break" term. But of course, that is a long time ago. Opinions change. Regards, Morten Sabroe Mortensen -----Original Message- From: Steve Loughran To: Ant Developers List Sent: 04-08-03 19:01 Subject: Re: "echo"-task, ignorable whitespace and

Re: "echo"-task, ignorable whitespace and CDATA-elements

2003-08-04 Thread Steve Loughran
Morten Mortensen wrote: Hi Stefan & all, Sure - "bad". :) The text for the "fail"-task and so on - they have the same... functionality as "echo"? Any task that accepts text content, that it has a setText() method, has the right to be given the content text with all whitespace, as permitted by the

Re: "echo"-task, ignorable whitespace and CDATA-elements

2003-08-04 Thread Steve Loughran
Morten Mortensen wrote: It will break things? That, of course, is between "bad" and "annoing". But technically, I am right? There are other people out there - e.g. me - who are trying to automate things - reformatting XML, in particular Ant-files, and who refer to the XML specification to see, what

RE: "echo"-task, ignorable whitespace and CDATA-elements

2003-08-04 Thread Morten Mortensen
why not consider to do something about it as part of Ant 2? At least, please keep this in mind when discussing development. Regards, Morten Sabroe Mortensen -Original Message- From: Stefan Bodewig To: [EMAIL PROTECTED] Sent: 04-08-03 10:30 Subject: Re: "echo"-task, ignor

Re: "echo"-task, ignorable whitespace and CDATA-elements

2003-08-04 Thread Stefan Bodewig
On Sat, 2 Aug 2003, Morten Mortensen <[EMAIL PROTECTED]> wrote: > It will break things? That, of course, is between "bad" and > "annoing". Largely on the side of "bad" IMHO. > But technically, I am right? Sure. Stefan - To un

RE: "echo"-task, ignorable whitespace and CDATA-elements

2003-08-02 Thread Morten Mortensen
j, Danmark mailto:[EMAIL PROTECTED] http://www.tietoenator.com -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: 31. juli 2003 08:54 To: [EMAIL PROTECTED] Subject: Re: "echo"-task, ignorable whitespace and CDATA-elements On Wed, 30 Jul 2003, Mort

Re: "echo"-task, ignorable whitespace and CDATA-elements

2003-07-31 Thread Stefan Bodewig
On Wed, 30 Jul 2003, Morten Mortensen <[EMAIL PROTECTED]> wrote: > It would be nice, if the "echo" task worked a bit different - > actually *ignored* leading and trailing whitespace in the body of > the text. It may be possible to make that an option, but not the default IMHO. I know a few build

"echo"-task, ignorable whitespace and CDATA-elements

2003-07-30 Thread Morten Mortensen
Hi all, It would be nice, if the "echo" task worked a bit different - actually *ignored* leading and trailing whitespace in the body of the text. The reason is, that XML-pretty-formatters - which does not change the semantics of the XML formatted relative to the specification - may alter the act