Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7967] Android: Replace Node.text with Node.textContent

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-03-16T12:47:54.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 2.0.0, Sprint 2012-06
ComponentsAndroid
Labelsn/a
ReporterMarshall Culpepper
AssigneeChase Culpepper
Created2012-03-12T20:49:12.000+0000
Updated2017-03-06T18:20:56.000+0000

Description

For MobileWeb parity in 2.0, we need to deprecate the current Node.text property in our XML API, and rename it to textContent. We won't be fully implementing textContent from the DOM3 spec as it requires read-write access, and the traversal rules are slightly different than our current implementation. This is mainly for source level equivalence, until we have time to implement it properly.

Comments

  1. Neeraj Gupta 2012-03-14

    Please make sure that we have both text and textContent available but text is marked deprecated.
  2. Chase Culpepper 2012-03-16

    To test this fix, just run the xml.js test in drillbit in both rhino and v8.
  3. Lee Morris 2017-03-06

    Closing ticket due to time passed.

JSON Source