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;
}
})() :