[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 100058] New: Cannot read make environment name, which contains spaces from the project file
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2005-02-23 7:21:27
Message-ID: 20050223082126.100058.atarassov () altiris ! ee
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=100058         
           Summary: Cannot read make environment name, which contains spaces
                    from the project file
           Product: kdevelop
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: atarassov altiris ee


Version:           3.1.93 (using KDE KDE 3.3.91)
Installed from:    SuSE RPMs
Compiler:          gcc 3.3.4 
OS:                Linux

I have created several make environments in my project and named it using two words \
separated by a space, e.g. "My Environment". Everything worked fine until I restarted \
KDevelop. When it tried to load the project I got the following error "Invalid \
character at line X character Y".

I looked into my project's kdevelop file and found the following tags describing my \
environment: [clip]
...
<environments>
 <My Environment>
  ...
 </My Environment>
</environments>
[/clip]

As "My Environment" is not a valid XML tag name, the parsing of the file failed. The \
correct behavior would be either not to allow give names that contain characters that \
may turn XML tag to be invalid, or (a more correct decision) to change the approach \
of storing information about environments for example in the following way: [clip]
...
<environments>
 <environment name="My Environment">
  ...
 </environment>
</environments>
[/clip]


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic