abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r486683 - /incubator/abdera/java/branches/0.2.0-incubating/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
Date Wed, 13 Dec 2006 15:25:35 GMT
Author: jmsnell
Date: Wed Dec 13 07:25:34 2006
New Revision: 486683

URL: http://svn.apache.org/viewvc?view=rev&rev=486683
Log:
Rollback. I'll put this fix in a 0.2.1 branch

Modified:
    incubator/abdera/java/branches/0.2.0-incubating/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java

Modified: incubator/abdera/java/branches/0.2.0-incubating/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/branches/0.2.0-incubating/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java?view=diff&rev=486683&r1=486682&r2=486683
==============================================================================
--- incubator/abdera/java/branches/0.2.0-incubating/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
(original)
+++ incubator/abdera/java/branches/0.2.0-incubating/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
Wed Dec 13 07:25:34 2006
@@ -473,7 +473,7 @@
     ParserOptions options = parser.getDefaultParserOptions();
     options.setCharset(getXMLStreamReader().getCharacterEncodingScheme());
     options.setFactory(fomfactory);
-    Document doc = parser.parse(bais, (baseUri != null) ? baseUri.toString() : null, options);
+    Document doc = parser.parse(bais, baseUri.toString(), options);
     return doc.getRoot();
   }
 



Mime
View raw message