Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356844 - XMLLib.convertToXML changing second parameter doesn't change the result
Summary: XMLLib.convertToXML changing second parameter doesn't change the result
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 14:42 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:18 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.