bug-gnustep
[Top][All Lists]
Advanced

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

[bug #17112] Unarchiving some (not all) XML-based nibs using NSKeyedUnar


From: Gregory John Casamento
Subject: [bug #17112] Unarchiving some (not all) XML-based nibs using NSKeyedUnarchiver fails
Date: Sat, 15 Jul 2006 16:25:06 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8) Gecko/20051111 Firefox/1.5

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17112>

                 Summary: Unarchiving some (not all) XML-based nibs using
NSKeyedUnarchiver fails
                 Project: GNUstep
            Submitted by: gcasa
            Submitted on: Saturday 07/15/2006 at 16:25
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

Chris Vetter reported the following problem to me:

2006-07-15 13:58:38.517 Gorm[97219] don't know how to load entity
'http://www.apple.com/DTDs/PropertyList-1.0.dtd' id '-//Apple
Computer//DTD PLIST 1.0//EN'
.:3: validity error : Validation failed: no DTD found !
<plist version="1.0">
                     ^
at line: 8209 column: 11 ... PCDATA invalid Char value 27
2006-07-15 13:58:38.550 Gorm[97219] Unable to parse XML archive as the
base library was not configured with libxml2 support.

:0> ldd /Library/Libraries/libgnustep-base.so
[...]
         libxslt.so.2 => /usr/local/lib/libxslt.so.2 (0x2849d000)
         libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x284d0000)
[...]

I have reproduced this on two intel machines, my P4 Dual Core EM64T box and
my P3 laptop.   Oddly, libxml is present and other nibs which are XML are
parsable by the archiver.

As you can see libxml2 is linked in, but the error message shown is the one
defined in NSKeyedUnarchiver in initForReadingWithData: in the #ifndef
HAVE_LIBXML.   I have done a clean build and compile on both platforms to be
sure this is not a build issue.   I have attached the nib file which is
giving the error, it is called MainMenu.nib and is from Smultron, the other
"viewinbox" is a simple test nib which is also in XML format.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Saturday 07/15/2006 at 16:25  Name: MainMenu.nib.tgz  Size: 34.42KB  
By: gcasa
XML based nib which causes the unarchiver to fail.
<http://savannah.gnu.org/bugs/download.php?file_id=10361>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17112>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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