From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113616 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier via ntg-context Newsgroups: gmane.comp.tex.context Subject: xml processing errors after latest upgrade Date: Wed, 1 Dec 2021 09:41:42 +0000 Message-ID: <826022ad0c4648589a6a3946dafe53a7@unibe.ch> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2755579868879284032==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39165"; mail-complaints-to="usenet@ciao.gmane.io" Cc: denis.maier@unibe.ch To: Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 01 10:42:18 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msM81-0009o6-Lh for gctc-ntg-context-518@m.gmane-mx.org; Wed, 01 Dec 2021 10:42:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8B46A2807BE; Wed, 1 Dec 2021 10:41:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CIj0LS-SYStT; Wed, 1 Dec 2021 10:41:47 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4BA0E280CB1; Wed, 1 Dec 2021 10:41:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8AF7D280C24 for ; Wed, 1 Dec 2021 10:41:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sj9PSuwCxR9R for ; Wed, 1 Dec 2021 10:41:44 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=130.92.0.82; helo=mailhub-lb1.unibe.ch; envelope-from=denis.maier@unibe.ch; receiver= Original-Received: from mailhub-lb1.unibe.ch (mailhub-lb1.unibe.ch [130.92.0.82]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 660592807BE for ; Wed, 1 Dec 2021 10:41:44 +0100 (CET) X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-04.campus.unibe.ch [130.92.13.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb1.unibe.ch (Postfix) with ESMTPS id 06DBE50008A for ; Wed, 1 Dec 2021 10:41:42 +0100 (CET) Thread-Topic: xml processing errors after latest upgrade Thread-Index: AdfmlmaCk65dQA5gTBW5oJMa5a0g6A== Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [172.18.72.2] X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:113616 Archived-At: --===============2755579868879284032== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_826022ad0c4648589a6a3946dafe53a7unibech_" --_000_826022ad0c4648589a6a3946dafe53a7unibech_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, the latest update may have introduced problems for xml processing : For a document I could convert with version 2021.10.24 21:45 without proble= ms gives me now this error : %%%%%%%%%%%%%%%%%%%%%%%%% ... structure > sectioning > title @ level 2 : 0.0 -> \documentvariable {= title} fatal lua error: registered function call [929]: ...ext/tex/texmf-context/tex/contex= t/base/mkiv/scrn-ref.lua:31: attempt to call a nil value (upvalue 'expandcu= rrent') stack traceback: ...ext/tex/texmf-context/tex/context/base/mkiv/scrn-ref.lua:31: in = function <...ext/tex/texmf-context/tex/context/base/mkiv/scrn-ref.lua:27> (...tail calls...) mtx-context | fatal error: return code: 1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Not sure what is going wrong. Any hints how I can start debugging? Any idea= s what could have caused that change? (Ok, let's build a MWE..) Best, Denis --_000_826022ad0c4648589a6a3946dafe53a7unibech_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

the latest update may have intr= oduced problems for xml processing :

 

For a document I could convert = with version 2021.10.24 21:45 without problems gives me now this error = ;:

 

%%%%%%%%%%%%%%%%%%%%%%%%%<= /o:p>

...

structure   &nbs= p;   > sectioning > title @ level 2 : 0.0 -> \documentva= riable {title}

fatal lua error:

 

     &= nbsp;  registered function call [929]: ...ext/tex/texmf-context/tex/co= ntext/base/mkiv/scrn-ref.lua:31: attempt to call a nil value (upvalue 'expa= ndcurrent')

stack traceback:

     &= nbsp;  ...ext/tex/texmf-context/tex/context/base/mkiv/scrn-ref.lua:31:= in function <...ext/tex/texmf-context/tex/context/base/mkiv/scrn-ref.lu= a:27>

     &= nbsp;  (...tail calls...)

 

mtx-context   &n= bsp; | fatal error: return code: 1

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

Not sure what is going wrong. <= /span>Any hints how I can start debugging? Any ideas what could have caused= that change?

 

(Ok, let’s build a MWE..)=

 

Best,

Denis

--_000_826022ad0c4648589a6a3946dafe53a7unibech_-- --===============2755579868879284032== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2755579868879284032==--