commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bur...@apache.org
Subject svn commit: r149205 - in jakarta/commons/sandbox/feedparser/trunk: project.xml src/java/org/apache/commons/feedparser/FeedParserImpl.java
Date Mon, 31 Jan 2005 02:50:23 GMT
Author: burton
Date: Sun Jan 30 18:50:22 2005
New Revision: 149205

URL: http://svn.apache.org/viewcvs?view=rev&rev=149205
Log:
SAXBuilder migration

Modified:
    jakarta/commons/sandbox/feedparser/trunk/project.xml
    jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParserImpl.java

Modified: jakarta/commons/sandbox/feedparser/trunk/project.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/project.xml?view=diff&r1=149204&r2=149205
==============================================================================
--- jakarta/commons/sandbox/feedparser/trunk/project.xml (original)
+++ jakarta/commons/sandbox/feedparser/trunk/project.xml Sun Jan 30 18:50:22 2005
@@ -62,7 +62,10 @@
         
         <dependency>
             <id>jdom</id>
+
+            <!-- actually we need b9 here -->
             <version>b10</version>
+
         </dependency>
         
         <dependency>

Modified: jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParserImpl.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParserImpl.java?view=diff&r1=149204&r2=149205
==============================================================================
--- jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParserImpl.java
(original)
+++ jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/FeedParserImpl.java
Sun Jan 30 18:50:22 2005
@@ -19,6 +19,7 @@
 import org.apache.commons.feedparser.tools.XMLCleanser;
 import org.apache.commons.feedparser.tools.XMLEncodingParser;
 import org.apache.log4j.Logger;
+import org.jdom.input.SAXBuilder;
 import org.jdom.input.DOMBuilder;
 
 import java.io.ByteArrayInputStream;
@@ -63,7 +64,7 @@
 
             //OK.  Now we have the right InputStream so we should build our DOM
             //and exec.
-            DOMBuilder builder = new DOMBuilder();
+            SAXBuilder builder = new SAXBuilder();
 
             //NOTE: in b10 of JDOM this won't accept an InputStream and requires
             //a org.w3c.dom.Document so we'll have to build one here.  Will this



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message