Stefan Bodewig
b7b59490a8
Add NS support to DOMElementWriter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@357117 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
998099d11f
fix extraneous whitespace, should fix svn-antlib tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@348913 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
4af209f564
echoXML does property expansion, does not print the XML header when appending. There is some defect here wherein some tailing spaces get into every printed node, so <e>value</e> goes to <e>value </e>
; I havent tracked it down yet.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@312750 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
b746aeaa37
go ahead and close elements with no children
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278355 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a7900921c3
Small refactoring to allow a less memory consuming "streaming mode"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277962 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
7498cc00cb
checkstyle - mostly javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277443 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6cc4c84df3
better diagnostics from XmlLogger.java
PR: 28993
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276464 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c885f56836
remove authors from files
PR: 27177
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276208 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
66555ca10d
Remove trailing spaces in all java files
in order to make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ca1513552f
Switch to Apache Software License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
3a35c7d914
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274858 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
117ecb1742
Minor doc changes and optimizations
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274535 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1aca5cf036
Avoid reusing StringBuffers to work around JDK 1.4.1 memory leak.
I'm sure that my changes in most cases are of the paranoid type,
ResourceUtils and FixCRLF look as if they really had a chance of
running into trouble.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274397 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
3bb2c149ab
Speed up <junitreport> by buffering output.
Vastly reduce memory requirements of DOMElementWriter on JDK 1.4.1 by
using the workaround for JDK 1.4.1's StringBuffer#toString memory leak
(JDC BugParade Bug 4724129).
PR: 18504
Submitted by: Andrus Adamchik <mensk at users dot sourceforge dot net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274393 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
24436a1c92
Remove email address from sources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274203 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc8a07905
Remove Jakarta Project from license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
4dd9da76b4
&x should better be &#x
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273804 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
7b8097afa8
Don't allow ]]> within CDATA sections.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273801 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
8f413c1208
Remove unused imports, remove glob imports, sort imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273169 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
6154080061
More coding standard fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272433 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c17d143ac3
swallow characters that are illegal in XML documents.
PR: 6351
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272312 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0ec06feed1
I took the time to write a simple shell script to audit Copyright
lines, and now it is paying of ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271314 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
532d0a479e
- Add an helper method to write directly a document
as UTF8 from a stream.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271231 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3fddc0bcfd
License police on documentation files:
(1) Make sure all years in which a file has been modified are
listed.
(2) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
Also: the initial checkin into this CVS module was in 2000, not 1999.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270657 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a623bba85d
Properly encode control characters. See XML 1.0 2.2
<http://www.w3.org/TR/1998/REC-xml-19980210#charsets >.
Submitted by: Jim White <jim@pagesmiths.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270252 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d12e6411cc
Code clean up:
- removed useless/duplicate imports
- added explicit imports rather than *
- changed specifiers order to be conform to JLS.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269827 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e7bcfc18b7
specify encoding for XmlLogger, handle TEXT Elements properly in
DOMElementWriter.
Submitted by: Stephane Bailliez <sbailliez@imediation.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268982 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d1895cd5aa
New task <junitreport> and some improvements of DOMElementWriter
Submitted by: Stephane Bailliez <sbailliez@imediation.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268562 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9b36df2db1
Missed a hardcoded indent character.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268331 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d886d50323
Moved the common code from XmlLogger and XMLJUnitResultLogger into a
new class.
Wrap nested text into <![CDATA[ ]]> and replace special characters in
attribute values correctly.
PR: 413
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268330 13f79535-47bb-0310-9956-ffa450edef68
25 years ago