Bug 240699 - XML gets formatted as HTML in Variables view
XML gets formatted as HTML in Variables view
Status: RESOLVED FIXED
Product: debugger
Classification: Unclassified
Component: Java
8.0
PC Windows XP
: P3 (vote)
: 8.0
Assigned To: Martin Entlicher
issues@debugger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-20 12:14 UTC by kimsp
Modified: 2014-01-20 12:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments
IDE log (270.78 KB, text/plain)
2014-01-20 12:14 UTC, kimsp
Details
screendump (3.22 KB, image/gif)
2014-01-20 12:14 UTC, kimsp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kimsp 2014-01-20 12:14:02 UTC
Product Version = NetBeans IDE 8.0 Beta (Build 201401141042)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) Client VM 24.45-b08

When debugging, if a variable contains XML it is displayed with <html><font.... in the Value column in the Variables view if it a long XML text. 

Test program:

    public static void main(String[] args) {
     
        String tooLong = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?><test><test><test><test><test><test><test><test></test></test></test></test></test></test></test><test><test><test><test><test><test><test><test></test></test></test></test></test></test></test></test><test><test><test><test><test><test><test><test></test></test></test></test></test></test></test></test><test><test><test><test><test><test><test><test></test></test></test></test></test></test></test></test><test><test><test><test><test><test><test><test></test></test></test></test></test></test></test></test></test>";
        String ok = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?><test><test>";
        
        System.err.println(tooLong  + " " + ok);
    
    }


In the Variables view tooLong is displayed as startning with <html>font color=".... ok is not.
Comment 1 kimsp 2014-01-20 12:14:05 UTC
Created attachment 144146 [details]
IDE log
Comment 2 kimsp 2014-01-20 12:14:51 UTC
Created attachment 144147 [details]
screendump

Please see screen dump
Comment 3 Martin Entlicher 2014-01-20 12:26:00 UTC
This is fixed by http://hg.netbeans.org/core-main/rev/8ac54730bda3


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo