commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbe...@apache.org
Subject svn commit: r954091 - /commons/sandbox/gsoc/2010/scxml-js/trunk/src/scxml/cgf/SCXMLCompiler.js
Date Sat, 12 Jun 2010 19:38:57 GMT
Author: jbeard
Date: Sat Jun 12 19:38:57 2010
New Revision: 954091

URL: http://svn.apache.org/viewvc?rev=954091&view=rev
Log:
Fixed small bug that was causing rhino frontend to output as xml rather than text.

Modified:
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/scxml/cgf/SCXMLCompiler.js

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/scxml/cgf/SCXMLCompiler.js
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/scxml/cgf/SCXMLCompiler.js?rev=954091&r1=954090&r2=954091&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/scxml/cgf/SCXMLCompiler.js (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/scxml/cgf/SCXMLCompiler.js Sat Jun 12 19:38:57
2010
@@ -83,7 +83,7 @@ debugger;
 				prevFilter = filter;
 			})
 
-			var xmlProps = OutputPropertiesFactory.getDefaultMethodProperties("xml");
+			var xmlProps = OutputPropertiesFactory.getDefaultMethodProperties("text");
 			xmlProps.setProperty("indent", "yes");
 			xmlProps.setProperty("standalone", "no"); 
 			var serializer = SerializerFactory.getSerializer(xmlProps);                      



Mime
View raw message