Re: [xml2rfc] #332 (Version 2 cli): Getting error at column 33851 ...

JORDI PALET MARTINEZ <jordi.palet@consulintel.es> Mon, 12 June 2017 17:33 UTC

Return-Path: <prvs=1336cd027b=jordi.palet@consulintel.es>
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 8119112947A for <xml2rfc@ietfa.amsl.com>; Mon, 12 Jun 2017 10:33:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=consulintel.es; domainkeys=pass (1024-bit key) header.from=jordi.palet@consulintel.es header.d=consulintel.es
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IULnj-D9eGWZ for <xml2rfc@ietfa.amsl.com>; Mon, 12 Jun 2017 10:33:21 -0700 (PDT)
Received: from mail.consulintel.es (mail.consulintel.es [217.126.185.215]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A68BB12946F for <xml2rfc@ietf.org>; Mon, 12 Jun 2017 10:33:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=consulintel.es; s=MDaemon; t=1497288797; x=1497893597; q=dns/txt; h=DomainKey-Signature: Received:User-Agent:Date:Subject:From:To:Message-ID:Thread-Topic: References:In-Reply-To:Mime-version:Content-type: Content-transfer-encoding:Reply-To; bh=GOEom20eBpyjTBkaL3LzwL5nC 2Wdt5dcCPE2zz7tWf0=; b=daYnTt0RTQ79Amnvcrc5lEnPTjo0rVjqlD5/nyY3L DZOBVFNkHSqedxeu1rVLGCrXPICXGjcugB3SI0gjp2Kf43tUCRhDosYdrZQ+wpan wF9vWGJPRDpMir/NR6e5ryzlIbI+l2QbFOIlI1Jvr2xlglXN4k0wy+8mrlOY6kWD Bc=
DomainKey-Signature: a=rsa-sha1; s=MDaemon; d=consulintel.es; c=simple; q=dns; h=from:message-id; b=l5Ak7trW/9+RXUlic/mMNoawJo/StnOXqY5EHOOBF2xNDB7ZAVsrvPPduuI7 MxJ/cd/Uc2iaFH/AmHFwewSoPWlaEXUu+tx49q/so4M+5YjN5R7TXWpHn ojz4adZlucc4lIJsiUeHJh8mpcxl4QGI0EwClYw/R5hgeXSmkrICk8=;
X-MDAV-Processed: mail.consulintel.es, Mon, 12 Jun 2017 19:33:17 +0200
X-Spam-Processed: mail.consulintel.es, Mon, 12 Jun 2017 19:33:16 +0200
Received: from [10.10.10.99] by mail.consulintel.es (MDaemon PRO v11.0.3) with ESMTP id md50005449666.msg for <xml2rfc@ietf.org>; Mon, 12 Jun 2017 19:33:16 +0200
X-MDOP-RefID: re=0.000,fgs=0 (_st=1 _vt=0 _iwf=0)
X-Authenticated-Sender: jordi.palet@consulintel.es
X-HashCash: 1:20:170612:md50005449666::gMmrATdCJTCJoDYv:00001IF7
X-Return-Path: prvs=1336cd027b=jordi.palet@consulintel.es
X-Envelope-From: jordi.palet@consulintel.es
X-MDaemon-Deliver-To: xml2rfc@ietf.org
User-Agent: Microsoft-MacOutlook/f.21.0.170409
Date: Mon, 12 Jun 2017 19:33:15 +0200
From: JORDI PALET MARTINEZ <jordi.palet@consulintel.es>
To: "xml2rfc@ietf.org" <xml2rfc@ietf.org>
Message-ID: <CA60C8CE-02F4-4A87-B607-6037EA2CF5BA@consulintel.es>
Thread-Topic: [xml2rfc] #332 (Version 2 cli): Getting error at column 33851 ...
References: <074.3eaf79aa79890352f16ea609b6949532@tools.ietf.org> <0324DF3A-4072-401B-B875-C9A7D31804AE@att.com>
In-Reply-To: <0324DF3A-4072-401B-B875-C9A7D31804AE@att.com>
Mime-version: 1.0
Content-type: text/plain; charset="UTF-8"
Content-transfer-encoding: quoted-printable
Reply-To: jordi.palet@consulintel.es
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/Gop1ITupoQtoPQ2LfzlNEzZLTlQ>
Subject: Re: [xml2rfc] #332 (Version 2 cli): Getting error at column 33851 ...
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 12 Jun 2017 17:33:23 -0000

I just realized that I got the original xml that I used to keep working on this document from the RFC editor, as I wasn’t the original author, so that may be the root of the problem.

I will find the way to replace CR with newline across all the document to avoid this problem in the future anyway.

Regards,
Jordi
 

-----Mensaje original-----
De: "HANSEN, TONY L" <tony@att.com>
Responder a: <tony@att.com>
Fecha: lunes, 12 de junio de 2017, 19:27
Para: "henrik@levkowetz.com" <henrik@levkowetz.com>, "jordi.palet@consulintel.es" <jordi.palet@consulintel.es>
CC: "xml2rfc@ietf.org" <xml2rfc@ietf.org>
Asunto: Re: [xml2rfc] #332 (Version 2 cli): Getting error at column 33851 ...

    Using CR as the line separator is the root of the issue. The XML library we use would treat that as whitespace, but not a newline. That would definitely explain things.
    
    	Tony
    
    On 6/12/17, 12:45 PM, "xml2rfc on behalf of xml2rfc issue tracker" <xml2rfc-bounces@ietf.org on behalf of trac@tools.ietf.org> wrote:
    
        #332: Getting error at column 33851 ...
        
         I’m trying to upload a document with is a cut down version from a previous
         one …
        
                     I believe everything is ok, and can’t find the problem, but I
         get
        
                     WARNING: Parsing Error: Opening and ending tag mismatch:
         section line 1 and middle, line 1, column 33851 (line 1)
                     ERROR: Unable to parse the XML document: INPUT
                      INPUT: Line 1: Opening and ending tag mismatch: section line
         1 and middle
                      INPUT: Line 1: Opening and ending tag mismatch: section line
         1 and middle
                      INPUT: Line 1: Opening and ending tag mismatch: middle line 1
         and rfc
                      INPUT: Line 1: Premature end of data in tag rfc line 1
        
        
         I use Mac OS X BBEdit (before was TextWrangler), it seems to use x0D as
         line separator.
        
         Sample file with the problem (I deleted on extra  </section> at the end of
         the security section.
        
        -- 
        ----------------------------------------+----------------------------------
         Reporter:  jordi.palet@consulintel.es  |      Owner:  henrik@levkowetz.com
             Type:  defect                      |     Status:  new
         Priority:  medium                      |  Milestone:
        Component:  Version 2 cli               |    Version:  2.4.x
         Keywords:                              |
        ----------------------------------------+----------------------------------
        
        Ticket URL: <https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.tools.ietf.org_tools_xml2rfc_trac_ticket_332&d=DwIGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=Kz8VdgPVctDNSNPJ6PsBaw&m=kZ61yPPYfcLI5mDaZdksoJisP9JePMxeUURd07oLc-Y&s=tuVEa23BfoSDS2qz3-RdUrveQtKJGla8lK3U65u8pIc&e= >
        xml2rfc <https://urldefense.proofpoint.com/v2/url?u=http-3A__tools.ietf.org_tools_xml2rfc_&d=DwIGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=Kz8VdgPVctDNSNPJ6PsBaw&m=kZ61yPPYfcLI5mDaZdksoJisP9JePMxeUURd07oLc-Y&s=gRP6s5EYd7XZZZd3sxsXiJ1Jlb0YfaR679WgKMh7wmk&e= >
        
        _______________________________________________
        xml2rfc mailing list
        xml2rfc@ietf.org
        https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_xml2rfc&d=DwIGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=Kz8VdgPVctDNSNPJ6PsBaw&m=kZ61yPPYfcLI5mDaZdksoJisP9JePMxeUURd07oLc-Y&s=vO-MgLjvdVih4H7n7uosS9jj_ko_UhsbWUMeh7urF1Y&e= 
        
    
    



**********************************************
IPv4 is over
Are you ready for the new Internet ?
http://www.consulintel.es
The IPv6 Company

This electronic message contains information which may be privileged or confidential. The information is intended to be for the use of the individual(s) named above. If you are not the intended recipient be aware that any disclosure, copying, distribution or use of the contents of this information, including attached files, is prohibited.