-
Enhancement
-
Resolution: Fixed
-
P4
-
1.1
-
b01
-
x86
-
linux
-
Verified
Name: krC82822 Date: 07/16/2001
java version "1.3.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01)
Java HotSpot(TM) Client VM (build 1.3.0_01, mixed mode)
When running ant with a build-file containing a DOCTYPE declaration
containing a file-reference that does not start with "file:", a
java.lang.InternalError occurs.
e.g., using:
<!DOCTYPE project SYSTEM "/home/mine/afile.dtd">
leads to:
java.lang.InternalError
at com.sun.xml.parser.Parser.parseSystemId(Parser.java:2421)
at com.sun.xml.parser.Parser.maybeExternalID(Parser.java:2390)
at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1100)
at com.sun.xml.parser.Parser.parseInternal(Parser.java:481)
at com.sun.xml.parser.Parser.parse(Parser.java:284)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85)
at org.apache.tools.ant.Main.runBuild(Main.java:403)
at org.apache.tools.ant.Main.main(Main.java:149)
using:
<!DOCTYPE project SYSTEM "file:/home/mine/afile.dtd">
works fine.
(Review ID: 118604)
======================================================================