[prev in list] [next in list] [prev in thread] [next in thread]
List: alexandria-dev
Subject: cvs commit: jakarta-alexandria/proposal/gump/java Jenny.java
From: rubys () apache ! org
Date: 2002-02-25 20:45:35
[Download RAW message or body]
rubys 02/02/25 12:45:35
Modified: proposal/gump/java Jenny.java
Log:
Resolve the source by name... this enables referenced sources to be urls.
Revision Changes Path
1.11 +1 -1 jakarta-alexandria/proposal/gump/java/Jenny.java
Index: Jenny.java
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/java/Jenny.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Jenny.java 14 Jan 2002 14:05:38 -0000 1.10
+++ Jenny.java 25 Feb 2002 20:45:35 -0000 1.11
@@ -35,7 +35,7 @@
private Document parse(String source) throws Exception {
try {
DocumentBuilder dBuilder = dFactory.newDocumentBuilder();
- return dBuilder.parse(new java.io.File(source));
+ return dBuilder.parse(source);
} catch (SAXParseException e) {
System.err.print("Error parsing file " + source);
System.err.println(" line " + e.getLineNumber() + ": ");
--
To unsubscribe, e-mail: <mailto:alexandria-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:alexandria-dev-help@jakarta.apache.org>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic