commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbe...@apache.org
Subject svn commit: r956925 - /commons/sandbox/gsoc/2010/scxml-js/branches/browser-tests.1.ie/src/javascript/scxml/cgf/util/xml.js
Date Tue, 22 Jun 2010 15:45:24 GMT
Author: jbeard
Date: Tue Jun 22 15:45:24 2010
New Revision: 956925

URL: http://svn.apache.org/viewvc?rev=956925&view=rev
Log:
Fixed but in xml utils, where DOMParser API was not being used correctly.

Modified:
    commons/sandbox/gsoc/2010/scxml-js/branches/browser-tests.1.ie/src/javascript/scxml/cgf/util/xml.js

Modified: commons/sandbox/gsoc/2010/scxml-js/branches/browser-tests.1.ie/src/javascript/scxml/cgf/util/xml.js
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/branches/browser-tests.1.ie/src/javascript/scxml/cgf/util/xml.js?rev=956925&r1=956924&r2=956925&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/branches/browser-tests.1.ie/src/javascript/scxml/cgf/util/xml.js
(original)
+++ commons/sandbox/gsoc/2010/scxml-js/branches/browser-tests.1.ie/src/javascript/scxml/cgf/util/xml.js
Tue Jun 22 15:45:24 2010
@@ -48,7 +48,7 @@ function(){
 					(function(){
 						 var parser = new DOMParser();  
 						return function(str){
-							var doc = parser.parseFromString(str);
+							var doc = parser.parseFromString(str,"text/xml");
 							return doc;
 						}		
 					})()		:



Mime
View raw message