bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fix, Base, NSXMLParser (SetValueForKey())


From: Georg Fleischmann
Subject: Fix, Base, NSXMLParser (SetValueForKey())
Date: Wed, 24 Jun 2009 10:19:08 +0800

here is a suggestion of a fix for NSXMLParser SetValueForKey() to avoid Newline characters in Nib strings to be swallowed.

I just added a (forgotten?) break, so a string will be collected including the newline characters it contains. For me it works fine - my Cocoa Nibs now display strings including newline characters. I'm not aware of any side effects.

Best wishes,
Georg Fleischmann


*** Source/NSXMLParser.m.old    2009-05-12 13:30:54.000000000 +0800
--- Source/NSXMLParser.m        2009-06-23 17:39:01.000000000 +0800
***************
*** 1235,1240 ****
--- 1235,1241 ----
            case '\n':
              this->line++;
              this->column = 0;
+             break;

            case EOF:
            case '<':





reply via email to

[Prev in Thread] Current Thread [Next in Thread]