Allow XML to be encoded.

Let's try it and see if it works. Let us know Nathan.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5728 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2009-04-17 01:06:00 +00:00
parent d354d951b8
commit 96bdaf9f1f
@@ -196,10 +196,9 @@ public class ObjectMarshaller
}
// then, continue on with sub-property check (below)
} else {
var type :String = typeof(value);
if (type == "number" || type == "string" || type == "boolean" ) {
if (type == "number" || type == "string" || type == "boolean" || type == "xml") {
return null; // kosher!
}
if (-1 != VALID_CLASSES.indexOf(ClassUtil.getClassName(value))) {