Opened 11 years ago

Closed 11 years ago

#5828 closed defect (fixed)

DomParser ignore text node after a tag node

Reported by: liucougar Owned by: liucougar
Priority: high Milestone: 1.1
Component: Dojox Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

investigate the following output, there are only 2 children of the p tag, the last text node (with content 'x') is missing

console.log(dojox.xml.DomParser.parse("<p>a<u>b</u>x</p>"));

Attachments (2)

5828.patch (1.3 KB) - added by liucougar 11 years ago.
5828.2.patch (1.4 KB) - added by liucougar 11 years ago.
updated patch to fix another bug

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by liucougar

Attachment: 5828.patch added

comment:1 Changed 11 years ago by liucougar

attached patch fixes the issue

Changed 11 years ago by liucougar

Attachment: 5828.2.patch added

updated patch to fix another bug

comment:2 Changed 11 years ago by liucougar

5828.2.patch fixes another bug: text node coming after a self closing tag is appended as child of the self closing tag

comment:3 Changed 11 years ago by liucougar

Owner: changed from Tom Trenka to liucougar

comment:4 Changed 11 years ago by liucougar

Resolution: fixed
Status: newclosed

(In [12402]) fixes #5828 !strict

Note: See TracTickets for help on using tickets.