Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356844

Summary: XMLLib.convertToXML changing second parameter doesn't change the result
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: jeffdouglas
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kathy Carroll CLA 2011-09-06 14:42:30 EDT
Run the program. I expect the string to be different

program driver type BasicProgram {}
	
	function main()
		myflex myflex;
		myflex.special = "int1 & int2";
		pretty, pretty2 string;
		pretty = XMLLib.convertToXML(myFlex, false);
		syslib.writestdout(pretty);
		pretty2 = XMLLib.convertToXML(myFlex, true);
		syslib.writestdout(pretty2);
		if (pretty2 == pretty)
			syslib.writestdout("oops, should be different");
		end	end	
end

record myflex 
		special string;
end
Comment 1 Jeff Douglas CLA 2011-09-14 22:59:08 EDT
This works for me now. Another fix must have corrected this.
Comment 2 Kathy Carroll CLA 2011-10-12 12:51:02 EDT
Agreed this was indirectly fixed.  Verified with build 201110120952.