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:
@@ -196,10 +196,9 @@ public class ObjectMarshaller
|
|||||||
}
|
}
|
||||||
// then, continue on with sub-property check (below)
|
// then, continue on with sub-property check (below)
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
var type :String = typeof(value);
|
var type :String = typeof(value);
|
||||||
if (type == "number" || type == "string" || type == "boolean" ) {
|
if (type == "number" || type == "string" || type == "boolean" || type == "xml") {
|
||||||
return null; // kosher!
|
return null; // kosher!
|
||||||
}
|
}
|
||||||
if (-1 != VALID_CLASSES.indexOf(ClassUtil.getClassName(value))) {
|
if (-1 != VALID_CLASSES.indexOf(ClassUtil.getClassName(value))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user