abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r486685 - /incubator/abdera/java/branches/0.2.1-incubating/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
Date Wed, 13 Dec 2006 15:29:47 GMT
Author: jmsnell
Date: Wed Dec 13 07:29:46 2006
New Revision: 486685

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

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

Modified: incubator/abdera/java/branches/0.2.1-incubating/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/branches/0.2.1-incubating/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java?view=diff&rev=486685&r1=486684&r2=486685
==============================================================================
--- incubator/abdera/java/branches/0.2.1-incubating/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
(original)
+++ incubator/abdera/java/branches/0.2.1-incubating/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
Wed Dec 13 07:29:46 2006
@@ -473,7 +473,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