Results 1 to 3 of 3

Thread: [FIXED-1011] Bug in XmlWriter.js

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2008
    Posts
    30
    Vote Rating
    0
      0  

    Default [FIXED-1011] Bug in XmlWriter.js

    Hi all,

    The defined template in XmlWriter.js class is wrong:

    tpl: '<tpl for="."><\u003fxml version="{version}" encoding="{encoding}"\u003f><tpl if="documentRoot"><{documentRoot}><tpl for="baseParams"><tpl for="."><{name}>{value}</{name}</tpl></tpl></tpl><tpl if="records.length&gt;1"><{root}></tpl><tpl for="records"><{parent.record}><tpl for="."><{name}>{value}</{name}></tpl></{parent.record}></tpl><tpl if="records.length&gt;1"></{root}></tpl><tpl if="documentRoot"></{documentRoot}></tpl></tpl>',

    In baseParams definition, "name" tag is not well-formed. Correction:

    tpl: '<tpl for="."><\u003fxml version="{version}" encoding="{encoding}"\u003f><tpl if="documentRoot"><{documentRoot}><tpl for="baseParams"><tpl for="."><{name}>{value}</{name}></tpl></tpl></tpl><tpl if="records.length&gt;1"><{root}></tpl><tpl for="records"><{parent.record}><tpl for="."><{name}>{value}</{name}></tpl></{parent.record}></tpl><tpl if="records.length&gt;1"></{root}></tpl><tpl if="documentRoot"></{documentRoot}></tpl></tpl>',

    Please, take also a look to another XML related problem regarding DataWriter.js:

    http://www.extjs.com/forum/showthrea...-restful-Store

    Regards,
    Ricardo

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
      0  

    Default

    [type]: fix
    [module]: XmlWriter
    [id]: #1011
    [desc]: Fixes #1011. Fixed an error in the xtemplate definition.

  3. #3
    Sencha User
    Join Date
    Feb 2008
    Posts
    30
    Vote Rating
    0
      0  

    Default

    Hi again,

    Could you take a look at the DataWriter.js problem too? I you want, i can open a different thread ...

    Regards,
    Ricardo

    Quote Originally Posted by Jamie Avins View Post
    [type]: fix
    [module]: XmlWriter
    [id]: #1011
    [desc]: Fixes #1011. Fixed an error in the xtemplate definition.

Similar Threads

  1. [STALE-462][3.1] XmlWriter render bug
    By maho2nd in forum Ext 3.x: Bugs
    Replies: 2
    Last Post: 31 Jan 2010, 7:02 PM
  2. Facing problem with XmlWriter
    By dungeondragon22 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 24 Nov 2009, 8:21 AM
  3. XmlWriter implementation for CRUD
    By mianpe in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 13 Oct 2009, 8:13 AM
  4. XmlWriter and XmlStore Extjs 3.0.1 HELP
    By batiz in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 21 Sep 2009, 5:17 AM
  5. [2.x] Ext.ux.XmlWriter, V0.3
    By evant in forum Ext 2.x: User Extensions and Plugins
    Replies: 7
    Last Post: 17 Jun 2008, 6:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •