From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19424 invoked by alias); 29 Feb 2008 17:23:41 -0000 Received: (qmail 19414 invoked by uid 22791); 29 Feb 2008 17:23:40 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 29 Feb 2008 17:23:18 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 920512AA1F7 for ; Fri, 29 Feb 2008 12:23:16 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zlFKMnpXAfww for ; Fri, 29 Feb 2008 12:23:16 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 57F732AA1F5 for ; Fri, 29 Feb 2008 12:23:16 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id AD522E7ACB; Fri, 29 Feb 2008 09:23:13 -0800 (PST) Date: Fri, 29 Feb 2008 17:34:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: [RFC] Make version attribute of really optional Message-ID: <20080229172313.GD3701@adacore.com> References: <20080229035744.GK19729@adacore.com> <20080229134822.GA2903@caradoc.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080229134822.GA2903@caradoc.them.org> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00496.txt.bz2 Thanks, Daniel. > The DTD says: > > version CDATA #FIXED "1.0" > > What's supposed to happen is that expat fills in this value when you > parse the document. It will complain if version is set to something > besides 1.0, but add version="1.0" if it was not specified. Aha, looks like I need to get a crash course in XML :-/. I have a coworker who wrote XMLAda (an XML parser in Ada), so I'll ask him when I see him this summer. In the meantime... > It looks to me like something is wrong with your expat [...] > [...] (I usually use 1.95.8 since that's what Debian has). I don't really understand what is going on. I tried 1.95.8 and 2.0.1 on our ppc-aix machine, and no luck. However, I tried identical packages on my x86-linux laptop (running Debian GNU/Linux) by configuring GDB for powerpc-elf, and this time, no problem with either version! I'm running out of time for this activity, I want to start the 6.8 branch today. So I've reverted to what I did before, which is generate the new files on my linux machine with ppc-elf debugger, and copy the new files over to my AiX build for testing. If I find the time later this summer after I get more litterate about XML, I'll try to find out where the actual problem is. -- Joel