Forum /
Ext JS Community Forums 4.x /
Ext: Q&A /
Unanswered: Script error on Ext JS tree
Unanswered: Script error on Ext JS tree
Hello. I`m using TreePanel.
It was good before it has a problem.
I use Tree by XML.
The tree is great and perfect.
It solves my whole worries.
but if it need following XML, the problem has come.
<?xml version="1.0" encoding="UTF-8"?>
<rows id='0' folder='1' name='ph' desc='0'>
<rows id='7510' folder='1' name='Subject' desc=''>
<rows id='17768' folder='0' desc='(R<L)'/>
</rows>
</rows>
It just use '<' character before the 'L'.
it has a javascript error like that.
"firstChild is null" on line 7 in ext-all.js
but when I put a blank between '<' and 'L',
it is fine.
Please let me know why..
Thanks to reading N have a nice day~
Sencha User
Looks like an escaping issue. Could you post the config for your store and tree so that we can reproduce? Please be sure to wrap any code you post in [CODE] tags (# button on the editor toolbar).
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us