From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10398 invoked by alias); 28 Jan 2006 14:48:58 -0000 Received: (qmail 10388 invoked by uid 22791); 28 Jan 2006 14:48:58 -0000 X-Spam-Check-By: sourceware.org Received: from sadr.equallogic.com (HELO sadr.equallogic.com) (66.155.203.134) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 28 Jan 2006 14:48:56 +0000 Received: from sadr.equallogic.com (localhost.localdomain [127.0.0.1]) by sadr.equallogic.com (8.12.8/8.12.8) with ESMTP id k0SEmrpG016073 for ; Sat, 28 Jan 2006 09:48:54 -0500 Received: from M31.equallogic.com (M31.equallogic.com [172.16.1.31]) by sadr.equallogic.com (8.12.8/8.12.8) with SMTP id k0SEmrih016068; Sat, 28 Jan 2006 09:48:53 -0500 Received: from PKONING.equallogic.com ([172.16.3.190]) by M31.equallogic.com with Microsoft SMTPSVC(6.0.3790.211); Sat, 28 Jan 2006 09:49:00 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17371.33866.703000.785852@gargle.gargle.HOWL> Date: Sun, 29 Jan 2006 04:27:00 -0000 From: Paul Koning To: jimb@red-bean.com Cc: eliz@gnu.org, gdb@sourceware.org Subject: Re: Using XML in GDB? References: <20060126055744.GA29647@nevyn.them.org> <20060127180429.GA15726@nevyn.them.org> <17370.26869.663043.743656@gargle.gargle.HOWL> <20060127190629.GB16811@nevyn.them.org> <8f2776cb0601272233u1e7062d3k7fea5baac352c150@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00320.txt.bz2 >>>>> "Jim" == Jim Blandy writes: Jim> I believe XML has better support in Python and Perl and Ruby and Jim> Java and that lot than ASN.1. Maybe. I've done some battle with DOM::XML:: in Perl. It may be ok if you want to parse XML-encoded documents; that's what it appears to be for. But the documentation is very feeble, and I found it to be a nightmare when I tried to use it to parse something that wasn't a document. So I wouldn't necessarily say that XML Is "supported" in Perl. Maybe the Python XML package is better -- gotta try that one of these days. BER/DER is that it's very simple, so even if the support isn't there yet that may not be a big issue. Jim> Bob Rossi mentioned issues with null characters in XML: it Jim> really is a text format; you're not supposed to put binary blobs Jim> in there at all, except as CDATA (which makes the data much Jim> bigger). If you're trying to put binary data in XML, you're on Jim> the wrong train. Exactly. Conversely, ASN.1 has good data type support, including binary types of all kinds. paul