From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100987 Path: news.gmane.org!.POSTED!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Export to xml no longer works Date: Sun, 10 Jun 2018 22:31:58 -0400 Message-ID: <5c61f979-7fc3-99cd-ea5d-184cd84ade3e@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7687547757681981047==" X-Trace: blaine.gmane.org 1528684245 5499 195.159.176.226 (11 Jun 2018 02:30:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 11 Jun 2018 02:30:45 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 11 04:30:41 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSCbR-0001Jh-NO for gctc-ntg-context-518@m.gmane.org; Mon, 11 Jun 2018 04:30:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5669C34F10; Mon, 11 Jun 2018 04:32:14 +0200 (CEST) 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 Osxbpmqx4bTB; Mon, 11 Jun 2018 04:32:12 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 5228A34F12; Mon, 11 Jun 2018 04:32:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0E5A934F10 for ; Mon, 11 Jun 2018 04:32:12 +0200 (CEST) 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 wi2WWn1aryY5 for ; Mon, 11 Jun 2018 04:32:11 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 344AC34F0F for ; Mon, 11 Jun 2018 04:32:01 +0200 (CEST) Original-Received: from [192.168.201.199] (cpe-24-194-22-135.nycap.res.rr.com [24.194.22.135]) by mailbackend.panix.com (Postfix) with ESMTPSA id E228F183BA for ; Sun, 10 Jun 2018 22:31:59 -0400 (EDT) Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:100987 Archived-At: This is a multi-part message in MIME format. --===============7687547757681981047== Content-Type: multipart/alternative; boundary="------------F08A8E08B01634BADC71B147" Content-Language: en-US This is a multi-part message in MIME format. --------------F08A8E08B01634BADC71B147 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit With TL18, the following produces the expected xml and associated files. \setupbackend         [export=yes] \starttext \input knuth \stoptext With current betas, the xhtml file contains: invalid xml file - parsed text and the other files have similar content. Can anyone reproduce the error or offer a workaround? -- Rik --------------F08A8E08B01634BADC71B147 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

With TL18, the following produces the expected xml and associated files.

\setupbackend         [export=yes]
\starttext
\input knuth
\stoptext

With current betas, the xhtml file contains:

<error>invalid xml file - parsed text</error>

and the other files have similar content.

Can anyone reproduce the error or offer a workaround?

--
Rik

--------------F08A8E08B01634BADC71B147-- --===============7687547757681981047== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============7687547757681981047==--