ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Li <da...@digitalsesame.com>
Subject [PATCH to Bug 625] Incorrect handling of External Entity...
Date Fri, 16 Feb 2001 07:04:34 GMT
Problem is as following. The patch is attached...

The project file readers does not handle external entity correctly. The
following build.xml is from Jakarta Log4J project. The current Ant 1.3
Beta 2
can not handle this build.xml

The file in question is

src/main/org/apache/tools/ant/ProjectHelper.java


<!-- This file is intended for ANT, a Java based build tool. ANT is
     availale from http://jakarta.apache.org/ant/index.html
  -->

<!DOCTYPE project [
  <!ENTITY depth "../../..">
  <!ENTITY package "">
  <!ENTITY build.inc SYSTEM "build.inc">
]>

<project name="log4j" default="Usage" basedir="." >
  &build.inc;
</project>

---
Mime
View raw message