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

"HANSEN, TONY L" <tony@att.com> Tue, 13 June 2017 00:02 UTC

Return-Path: <tony@att.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 6192912943C for <xml2rfc@ietfa.amsl.com>; Mon, 12 Jun 2017 17:02:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.401
X-Spam-Level:
X-Spam-Status: No, score=-5.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 AMdDuGxCKbs1 for <xml2rfc@ietfa.amsl.com>; Mon, 12 Jun 2017 17:02:36 -0700 (PDT)
Received: from mx0a-00191d01.pphosted.com (mx0b-00191d01.pphosted.com [67.231.157.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CA6AD128BA2 for <xml2rfc@ietf.org>; Mon, 12 Jun 2017 17:02:36 -0700 (PDT)
Received: from pps.filterd (m0049458.ppops.net [127.0.0.1]) by m0049458.ppops.net-00191d01. (8.16.0.17/8.16.0.17) with SMTP id v5CNtIAr030368; Mon, 12 Jun 2017 20:02:28 -0400
Received: from alpi155.enaf.aldc.att.com (sbcsmtp7.sbc.com [144.160.229.24]) by m0049458.ppops.net-00191d01. with ESMTP id 2b24angv9a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Jun 2017 20:02:28 -0400
Received: from enaf.aldc.att.com (localhost [127.0.0.1]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id v5D02RTN007313; Mon, 12 Jun 2017 20:02:28 -0400
Received: from mlpi408.sfdc.sbc.com (mlpi408.sfdc.sbc.com [130.9.128.240]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id v5D02KWe007269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 12 Jun 2017 20:02:24 -0400
Received: from MISOUT7MSGHUBAB.ITServices.sbc.com (MISOUT7MSGHUBAB.itservices.sbc.com [130.9.129.146]) by mlpi408.sfdc.sbc.com (RSA Interceptor); Tue, 13 Jun 2017 00:02:05 GMT
Received: from MISOUT7MSGUSRCG.ITServices.sbc.com ([169.254.7.110]) by MISOUT7MSGHUBAB.ITServices.sbc.com ([130.9.129.146]) with mapi id 14.03.0319.002; Mon, 12 Jun 2017 20:02:05 -0400
From: "HANSEN, TONY L" <tony@att.com>
To: "Dale R. Worley" <worley@ariadne.com>
CC: "henrik@levkowetz.com" <henrik@levkowetz.com>, "jordi.palet@consulintel.es" <jordi.palet@consulintel.es>, "xml2rfc@ietf.org" <xml2rfc@ietf.org>
Thread-Topic: [xml2rfc] #332 (Version 2 cli): Getting error at column 33851 ...
Thread-Index: AQHS49aTBK0HRwhszkau6hVmBimtQ6Ih6OeA
Date: Tue, 13 Jun 2017 00:02:04 +0000
Message-ID: <5B3C4821-F81B-4C01-A71B-7AA2C8847A0D@att.com>
References: <0324DF3A-4072-401B-B875-C9A7D31804AE@att.com> <8737b4kbqa.fsf@hobgoblin.ariadne.com>
In-Reply-To: <8737b4kbqa.fsf@hobgoblin.ariadne.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [135.210.5.223]
Content-Type: text/plain; charset="utf-8"
Content-ID: <9BA2491CAC7A1645BA2775C9FFCD3ABC@LOCAL>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-RSA-Inspected: yes
X-RSA-Classifications: public
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-06-12_13:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706120420
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/KaComB2L3xEqahJUEjmt9gozuV8>
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: Tue, 13 Jun 2017 00:02:38 -0000

I won’t argue with you. And Henrik already has a fix prototyped that evidently treats the bare CRs better.

	Tony	

On 6/12/17, 7:49 PM, "Dale R. Worley" <worley@ariadne.com> wrote:

    "HANSEN, TONY L" <tony@att.com> writes:
    > 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.
    
    That's strange behavior, because the XML specification ("Extensible
    Markup Language (XML) 1.0 (Fifth Edition)", …), section 2.11 says that a
    naked CR must be translated into an NL:
    
        To simplify the tasks of applications, the XML processor MUST behave
        as if it normalized all line breaks in external parsed entities
        (including the document entity) on input, before parsing, by
        translating both the two-character sequence #xD #xA and any #xD that
        is not followed by #xA to a single #xA character.
    
    Dale