View Full Version : Script error on Ext JS tree

27 Nov 2011, 6:09 PM
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&lt;L)'/>

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~

28 Nov 2011, 2:45 AM
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).