You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by jb...@apache.org on 2010/06/12 21:38:57 UTC

svn commit: r954091 - /commons/sandbox/gsoc/2010/scxml-js/trunk/src/scxml/cgf/SCXMLCompiler.js

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);