Re: [xml2rfc] New xml2rfc release: 2.3.11

Elwyn Davies <elwynd@dial.pipex.com> Sun, 20 January 2013 22:42 UTC

Return-Path: <elwynd@dial.pipex.com>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 59D7121F8807 for <xml2rfc@ietfa.amsl.com>; Sun, 20 Jan 2013 14:42:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100
X-Spam-Level:
X-Spam-Status: No, score=-100 tagged_above=-999 required=5 tests=[USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bE0DKf1jR3By for <xml2rfc@ietfa.amsl.com>; Sun, 20 Jan 2013 14:42:54 -0800 (PST)
Received: from cyclone.public.resource.org (cyclone.public.resource.org [192.101.98.135]) by ietfa.amsl.com (Postfix) with ESMTP id 210BD21F8801 for <xml2rfc@ietf.org>; Sun, 20 Jan 2013 14:42:54 -0800 (PST)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by cyclone.public.resource.org (8.14.4/8.14.4) with ESMTP id r0KMgot7006270 for <xml2rfc@lists.xml.resource.org>; Sun, 20 Jan 2013 14:42:51 -0800 (PST) (envelope-from elwynd@dial.pipex.com)
X-Trace: 538619512/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$OFF_NET_AUTH_ACCEPTED/None/81.253.44.108/None/elwynd@dial.pipex.com
X-SBRS: None
X-RemoteIP: 81.253.44.108
X-IP-MAIL-FROM: elwynd@dial.pipex.com
X-SMTP-AUTH: elwynd@dial.pipex.com
X-MUA: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApMBAOFx/FBR/Sxs/2dsb2JhbAANNr5NgxEBAQEEAQEBNTYLEAsNCwklDwIWMAYNAQUCAQGIIaklkV+NG4QeA5YMgRyEPDWFLYgE
X-IronPort-AV: E=Sophos;i="4.84,502,1355097600"; d="scan'208";a="538619512"
X-IP-Direction: OUT
Received: from unknown (HELO [10.62.93.162]) ([81.253.44.108]) by smtp.pipex.tiscali.co.uk with ESMTP; 20 Jan 2013 22:42:43 +0000
Message-ID: <50FC72E2.20100@dial.pipex.com>
Date: Sun, 20 Jan 2013 22:42:42 +0000
From: Elwyn Davies <elwynd@dial.pipex.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1
MIME-Version: 1.0
To: Henrik Levkowetz <henrik@levkowetz.com>
References: <50FC1F66.4000909@levkowetz.com> <m2r4lfso2g.wl%randy@psg.com> <50FC3AA9.2050505@levkowetz.com> <m2libnsn6t.wl%randy@psg.com> <50FC3D1E.6060308@levkowetz.com> <m2k3r7smzp.wl%randy@psg.com> <50FC3ED9.1090704@levkowetz.com> <m2ip6rsmh4.wl%randy@psg.com> <50FC42A3.3040106@levkowetz.com> <m2fw1vslls.wl%randy@psg.com> <50FC4860.9070902@levkowetz.com> <D04CB5EC-5A33-492B-BD68-B98D783FDEB6@vpnc.org> <50FC4AB0.1080907@levkowetz.com>
In-Reply-To: <50FC4AB0.1080907@levkowetz.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: xml2rfc mailing list <xml2rfc@lists.xml.resource.org>, Paul Hoffman <paul.hoffman@vpnc.org>
Subject: Re: [xml2rfc] New xml2rfc release: 2.3.11
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xml2rfc>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Jan 2013 22:42:55 -0000

Hi.

I just tried out 2.3.11.3 installation (after my problems with 2.3.10 
yesterday - tickets 97/98).
Seems to have fixed some of the problems - pip installation now works 
(more or less).
I take it that lxml version 3.x is not kosher for xml2rfc since you 
exclude it now... lxml 3.1beta1 downloaded and compiled Ok yesterday but 
I now have 2.3.6 for use with xml2rfc 2.3.11.x

BTW
the machine here is running
Ubuntu 10.04 on an old ASUS EEE-PC 1000 (Atom processor)
Python 2.6
setuptools 0.8
distutils 2.6.5


Both
sudo python setup.py install
and
sudo pip install xml2rfc --upgrade

work more or less as expected.  There are 3 minor issues;
1. The internal version of the version in the 2.3.11.3 package still 
reports itself as 2.3.11.1 with xml2rfc --version
2. If you don't have libxml2 and libxslt dev packages installed on 
Ubuntu lxml won't compile.
3.  There are still some minor issues with the install... transcript of 
pip install beloe:
  sudo pip install xml2rfc --upgrade
Downloading/unpacking xml2rfc
   Running setup.py egg_info for package xml2rfc
     warning: no files found matching 'README.*'
Downloading/unpacking lxml>=2.2.8,<2.9 (from xml2rfc)
   Could not fetch URL http://codespeak.net/lxml (from 
http://pypi.python.org/simple/lxml/): HTTP Error 404: Not Found
   Will skip URL http://codespeak.net/lxml when looking for download 
links for lxml>=2.2.8,<2.9 (from xml2rfc)
   Could not fetch URL http://codespeak.net/lxml (from 
http://pypi.python.org/simple/lxml/): HTTP Error 404: Not Found
   Will skip URL http://codespeak.net/lxml when looking for download 
links for lxml>=2.2.8,<2.9 (from xml2rfc)
   Downloading lxml-2.3.6.tar.gz (3.2Mb): 3.2Mb downloaded
   Running setup.py egg_info for package lxml
     Building lxml version 2.3.6.
     Building without Cython.
     Using build configuration of libxslt 1.1.26
     Building against libxml2/libxslt in the following directory: /usr/lib
     warning: no previously-included files found matching '*.py'
Installing collected packages: lxml, xml2rfc
   Running setup.py install for xml2rfc
     changing mode of build/scripts-2.6/xml2rfc from 644 to 755
     warning: no files found matching 'README.*'
     changing mode of /usr/local/bin/xml2rfc to 755
   Running setup.py install for lxml
     Building lxml version 2.3.6.
     Building without Cython.
     Using build configuration of libxslt 1.1.26
     Building against libxml2/libxslt in the following directory: /usr/lib
     building 'lxml.etree' extension
     gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/libxml2 
-I/usr/include/python2.6 -c src/lxml/lxml.etree.c -o 
build/temp.linux-i686-2.6/src/lxml/lxml.etree.o -w
     gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
build/temp.linux-i686-2.6/src/lxml/lxml.etree.o -lxslt -lexslt -lxml2 
-lz -lm -o build/lib.linux-i686-2.6/lxml/etree.so
     building 'lxml.objectify' extension
     gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/libxml2 
-I/usr/include/python2.6 -c src/lxml/lxml.objectify.c -o 
build/temp.linux-i686-2.6/src/lxml/lxml.objectify.o -w
     gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
build/temp.linux-i686-2.6/src/lxml/lxml.objectify.o -lxslt -lexslt 
-lxml2 -lz -lm -o build/lib.linux-i686-2.6/lxml/objectify.so
Successfully installed xml2rfc

Seems to work basically, BUT found a few slight differences with this 
version.
- centre field in footer is one character leftwards of 1.35 version
- hangindent=15 produces slightly different answers -- more white space 
between label and rest of text
- Reporting a reference not found as an 'IDREF not found' when it isn't 
an I-D is confusing.

Will do a proper report shortly.

Found a problem with an slightly old and very complicated draft that 
doesn't work in either 1.35 or 2.3.11.3 (in similar ways). Probably 
something to do with
<!ENTITY % rfc2629 PUBLIC "" 
"http://xml.resource.org/public/rfc/bibxml/reference.RFC.2629.xml">
which used to work when
  http://tools.ietf.org/id/draft-irtf-routing-reqs-11.xml was published 
back in February 2009 but no longer
finds a number of the RFC references after the 3 described with PUBLIC 
(which seem to be found) and the rest are described with SYSTEM.

I am away from home and don't have access to an old xml2rfc to check 
that the old draft compiled on the old xml2rfc.

Regards,
Elwyn

On 20/01/13 19:51, Henrik Levkowetz wrote:
> On 2013-01-20 20:48 Paul Hoffman said the following:
>> On Jan 20, 2013, at 11:41 AM, Henrik Levkowetz <henrik@levkowetz.com> wrote:
>>
>>> Fwiw, I've uploaded 2.3.11.3 which requires lxml < 2.9; but if the version
>>> parsing is broken, I'm not sure that will help.
>> That fixed it for me.
> Splendid! :-)
>
>
> 	Henrik
>
> _______________________________________________
> xml2rfc mailing list
> xml2rfc@ietf.org
> https://www.ietf.org/mailman/listinfo/xml2rfc