Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'xml,': 0.05; 'modified': 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'wrong,': 0.09; 'bug': 0.12; 'language.': 0.14; 'missing?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:XML': 0.16; 'subject:when': 0.16; 'all.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'club': 0.24; 'handling': 0.26; 'push': 0.26; 'tables': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'testing': 0.29; 'reporting': 0.29; 'xml': 0.29; 'usually': 0.31; 'worked': 0.33; 'checking': 0.33; 'maybe': 0.34; 'basic': 0.35; 'usual': 0.35; 'there': 0.35; 'largely': 0.36; 'doing': 0.36; "didn't": 0.36; 'subject:?': 0.36; 'integration': 0.37; 'unit': 0.37; 'wrong': 0.37; 'two': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'future': 0.60; 'entire': 0.61; 'simply': 0.61; 'simple': 0.61; 'back': 0.62; 'our': 0.64; '2000': 0.65; 'charset:windows-1252': 0.65; 'normal.': 0.68; 'walk': 0.74; 'goal': 0.75; 'experiment': 0.84; 'why?': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Is it normal to cry when given XML? Date: Wed, 06 May 2015 00:35:59 +0100 References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-147-27-82.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1430868973 news.xs4all.nl 2867 [2001:888:2000:d::a6]:41201 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90011 On 05/05/2015 10:28, Sayth Renshaw wrote: > Hi > > Just checking if the reaction to cry when given XML is normal. > > I thought maybe I am approaching it all wrong, using lxml largely or some xquery to club it into submission. > > See the usual goal is just to take the entire XML and push it into a database. or in future experiment with Mongo or Hdf5 . > > See its never basic xml, usually comes from some database with a walk of tables and strange relationships. > > Am I doing it wrong is there a simple way I am missing? > > Sayth > When the two young lads from the consultants I was working with back in 2000 found a bug with xml handling in the supplier's software I almost ended up in tears. Why? They didn't bother reporting it, they simply modified all their unit testing data to work around the problem, so when we got to integration testing nothing worked at all. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence