[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #29955] Parsing of XML Plists is broken since gnustep-base 1.18
From: |
Michael Werle |
Subject: |
[bug #29955] Parsing of XML Plists is broken since gnustep-base 1.18 |
Date: |
Mon, 24 May 2010 23:25:20 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3 |
URL:
<http://savannah.gnu.org/bugs/?29955>
Summary: Parsing of XML Plists is broken since gnustep-base
1.18
Project: GNUstep
Submitted by: mwerle
Submitted on: Mon May 24 23:25:19 2010
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
NSPropertyList.m
In changelist #28263, attempting to parse the plist using libxml2 was removed
and only the custom parser left behind.
The custom parser appears to have a major bug, verified in 1.19.3, 1.20, and
1.21:
When the parser encounters XML entities (eg, &, ", etc), it
correctly parses them, but also strips surrounding whitespace.
eg:
input: <string>A & B</string>
-> expect: "A & B"
-> got: "A&B"
Adding in the libxml2 code from 1.18 into later versions fixes this issue, as
expected.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon May 24 23:25:19 2010 Name: proplist.patch Size: 7kB By: mwerle
plist-parser-test.m provided by Jens Ayton.
<http://savannah.gnu.org/bugs/download.php?file_id=20610>
-------------------------------------------------------
Date: Mon May 24 23:25:19 2010 Name: plist-parser-test.m Size: 12kB By:
mwerle
plist-parser-test.m provided by Jens Ayton.
<http://savannah.gnu.org/bugs/download.php?file_id=20611>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29955>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #29955] Parsing of XML Plists is broken since gnustep-base 1.18,
Michael Werle <=