Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1870] Ti.XML api failed to parse Text node containing text data as <data>&lt;&ltmydata$gt;&gt;</data>

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-03-06T20:59:48.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, parsing, sdk3, xml
Reporterankur garha
AssigneeMauro Parra-Miranda
Created2013-03-05T06:49:21.000+0000
Updated2016-03-08T07:40:47.000+0000

Description

Hi, I'm having xml text node like this :-
 
<data><<mydata$gt;></data>
And Im trying to fetch content
 "<<mydata$gt;>"
out of this node using the following code block:- var content = doc.getElementByTagName('data').item(0).textContent; but content variable is holding only "<" This is behaving weird only in the case of android 2.2 and 2.3

Comments

  1. Carter Lathrop 2013-03-06

    Unable to reproduce. Would you mind providing a test case that shows the problem as well as clear steps needed to take in order to reproduce the problem> Only after I can reproduce the issue, can I move along to engineering. Thank you, Carter
  2. Carter Lathrop 2013-03-06

    If you have any questions on how to create a JIRA that will be reviewed and confirmed as quickly as possible please refer to: https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report Thank you for your patience.

JSON Source