Opened 11 years ago

Closed 11 years ago

#7193 closed defect (fixed)

DOH log needs to escape XML

Reported by: Adam Peller Owned by: Adam Peller
Priority: high Milestone: 1.2
Component: TestFramework Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Adam Peller)

see #7189. The output stripped out tags in the content of the query test upon failure.

    var doc = dojox.data.dom.createDocument(["","One","Two","Three","Four",""].join(""));

should look like

								var doc = dojox.data.dom.createDocument([
									"<ResultSet>",
										"<Result>One</Result>",
										"<RESULT>Two</RESULT>",
										"<result>Three</result>",
										"<result>Four</result>",
									"</ResultSet>"
								].join("")
								);

Change History (8)

comment:1 Changed 11 years ago by Adam Peller

Owner: changed from alex to Mike Wilcox

comment:2 Changed 11 years ago by Adam Peller

tests/_base/query.html has strings like

"<result>foo</result>"

on the console, all we see when it prints out the function source is "foo"

comment:3 Changed 11 years ago by Adam Peller

Description: modified (diff)
Summary: DOH console needs to escape XMLDOH log needs to escape XML

comment:4 Changed 11 years ago by Adam Peller

Description: modified (diff)

comment:5 Changed 11 years ago by Mike Wilcox

Resolution: fixed
Status: newclosed

(In [14439]) Fixes #7193 was not escaping a string in a certain condition when it was within an object !strict

comment:6 Changed 11 years ago by Adam Peller

Resolution: fixed
Status: closedreopened

the query test code still isn't escaped, unfortunately.

comment:7 Changed 11 years ago by Adam Peller

Milestone: tbd1.2
Owner: changed from Mike Wilcox to Adam Peller
Status: reopenednew

comment:8 Changed 11 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [14461]) Use XML entities in log. Fixes #7193 !strict

Note: See TracTickets for help on using tickets.