X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/src/data/XmlWriter.js diff --git a/src/data/XmlWriter.js b/src/data/XmlWriter.js index 96ba8a2c..365b1806 100644 --- a/src/data/XmlWriter.js +++ b/src/data/XmlWriter.js @@ -1,8 +1,8 @@ /*! - * Ext JS Library 3.1.1 - * Copyright(c) 2006-2010 Ext JS, LLC - * licensing@extjs.com - * http://www.extjs.com/license + * Ext JS Library 3.3.1 + * Copyright(c) 2006-2010 Sencha Inc. + * licensing@sencha.com + * http://www.sencha.com/license */ /** * @class Ext.data.XmlWriter @@ -101,8 +101,9 @@ Ext.extend(Ext.data.XmlWriter, Ext.data.DataWriter, { *
  • {Array} baseParams. The baseParams as defined upon {@link Ext.data.Store#baseParams}. Note that the baseParams have been converted into an array of [{name : "foo", value: "bar"}, ...] pairs in the same manner as the records parameter above. See {@link #documentRoot} and {@link #forceDocumentRoot}.
  • * */ - // Break up encoding here in case it's being included by some kind of page that will parse it (eg. PHP) - tpl: '<' + '?xml version="{version}" encoding="{encoding}"?' + '><{documentRoot}><{name}>{value}<{root}><{parent.record}><{name}>{value}', + // Encoding the ? here in case it's being included by some kind of page that will parse it (eg. PHP) + tpl: '<\u003fxml version="{version}" encoding="{encoding}"\u003f><{documentRoot}><{name}>{value}<{root}><{parent.record}><{name}>{value}', + /** * XmlWriter implementation of the final stage of a write action. @@ -155,4 +156,3 @@ Ext.extend(Ext.data.XmlWriter, Ext.data.DataWriter, { return this.toArray(data); } }); -