[Kst] [Bug 178129] New: Special characters need to be escaped in the field names

Michael Vincent bug.zilla.vynce at neverbox.com
Fri Dec 19 01:52:47 CET 2008


http://bugs.kde.org/show_bug.cgi?id=178129

           Summary: Special characters need to be escaped in the field names
           Product: kst
           Version: 1.7.0
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst at kde.org
        ReportedBy: bug.zilla.vynce at neverbox.com


Version:           1.7.0 (using KDE 3.5.9)
OS:                Linux
Installed from:    Fedora RPMs

I have a comma separated ASCII file with a header row. Most of the header
records contain a < or > symbol. In the "Configure Data Source" dialog, I
select "Data Starts at line: 1" and "Read field names from line: 0". I continue
the setup and get the data plotted. I then save the .kst file.

When I try to reopen the .kst file, it gives the error "Not a valid kst plot
specification file". If I open the .kst file in a text editor, then problem is
apparent:

<vector>
  <tag>DS-testdata.log/&lt; 5 kB</tag>
  <provider>DS-testdata.log</provider>
  <filename>testdata.log</filename>
  <field>< 5 kB</field>
  <start>0</start>
  <num>-1</num>
</vector>

The < symbol is correctly converted to an &lt; in the <tag> entry, but it is
just a raw < in the <field> entry. If I manually change the < in the field
entry to an &lt; the file loads and works correctly.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kst mailing list