abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r486489 - /incubator/abdera/java/branches/0.2.0-incubating/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java
Date Wed, 13 Dec 2006 04:34:09 GMT
Author: jmsnell
Date: Tue Dec 12 20:34:08 2006
New Revision: 486489

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

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=486489&r1=486488&r2=486489
==============================================================================
--- 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
Tue Dec 12 20:34:08 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