You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by ru...@apache.org on 2002/02/25 21:45:35 UTC
cvs commit: jakarta-alexandria/proposal/gump/java Jenny.java
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>