abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r486488 - /incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
Date Wed, 13 Dec 2006 04:31:29 GMT
Author: jmsnell
Date: Tue Dec 12 20:31:29 2006
New Revision: 486488

URL: http://svn.apache.org/viewvc?view=rev&rev=486488
Log:
Fix for http://issues.apache.org/jira/browse/ABDERA-27

Doh! We also need to fix the branch and recut the 0.2.0 jars

Modified:
    incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java?view=diff&rev=486488&r1=486487&r2=486488
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
(original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
Tue Dec 12 20:31:29 2006
@@ -474,7 +474,7 @@
     ParserOptions options = parser.getDefaultParserOptions();
     options.setCharset(getXMLStreamReader().getCharacterEncodingScheme());
     options.setFactory(fomfactory);
-    Document doc = parser.parse(bais, baseUri.toString(), options);
+    Document doc = parser.parse(bais, (baseUri != null) ? baseUri.toString() : null, options);
     return doc.getRoot();
   }
 



Mime
View raw message