| Summary: | XML report generates invalid XML fragments | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | amehrega | ||||||
| Component: | TPTP | Assignee: | Cindy Jin <jx_china> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P1 | CC: | apnan, ewchan, paulslau | ||||||
| Version: | unspecified | Keywords: | plan | ||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
amehrega
mass update: retarget from 4.3 to 4.4. Cannot be contained in 4.3 due to resource limtation. *** Bug 170971 has been marked as a duplicate of this bug. *** Please assign to me Reassign to Cindy as discussed. change the attribute name from %_Methods_Hit to <?xml version="1.0" encoding="UTF-8"?> <View name="Coverage Statistics - mypackage.HelloWorld at cindyj2 [ PID: 2636 ] (Filter: Default Filter )"> <data Item_names="<--Summary-->" Calls="20" Methods_missed="0" Methods_hit="20" Percentage_Methods_Hit="100.00%"> <data Item_names="mypackage" Calls="2" Methods_missed="0" Methods_hit="2" Percentage_Methods_Hit="100.00%"/> </data> </View> Created attachment 60074 [details]
patch file
Created attachment 60075 [details]
patch file
Eugene, please review the patch and help me check in to cvs. Thanks Patch is committed. Thanks Cindy verified in build TPTP-4.4.0-200703090100 I am still getting a complaint about the XML fragment being invalid in after producing this report (same as Ali). Although the %_ is gone, the error message from the SAX parser reads: junit.framework.AssertionFailedError: Error parsing the XML document passed in: Element type "data" must be followed by either attribute specifications, ">" or "/>". This is failing one test case in the Platform.UI.Report test suite (automated). My mistake, this has been resolved. The configuration I was using was older and had not yet picked up the change. Reporter: Please verify and close in preparation for shutting down the TPTP 4.4 release. Thanks. Closing |