From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KCyIMrwg9GL7ZAAAbAwnHQ (envelope-from ) for ; Wed, 10 Aug 2022 23:18:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CEp2Mrwg9GIzMAEAauVa8A (envelope-from ) for ; Wed, 10 Aug 2022 23:18:52 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7A6A21B9AE for ; Wed, 10 Aug 2022 23:18:52 +0200 (CEST) Received: from localhost ([::1]:57086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLt6I-0004Z7-RU for larch@yhetil.org; Wed, 10 Aug 2022 17:18:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLt55-0004YK-AY for emacs-orgmode@gnu.org; Wed, 10 Aug 2022 17:17:36 -0400 Received: from mailer-211-161.hitrost.net ([91.185.211.161]:1961) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLt4z-0005UW-Ig for emacs-orgmode@gnu.org; Wed, 10 Aug 2022 17:17:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=christianmoe.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date:Subject: To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AoAxDymtARxZ12qycM72/V/qspZyE0TbD7UspWd+joU=; b=dFhdTvrPSRc8iq5x6kB1oG2Rd9 h0twlttlRApHO/7LR7Cn6XmflQ6Gil2vHifdTQ/1Md2muG9+aBI1APuxjDvXnM4HFfRYq80ysq+Tv Z1oBFhDmChN5x4KerwFm/JwAATIOBidEsadLLglsE6AHdV/MctHKpL6P4MT2nV/Kb8KEsmqydBcbp FI7pYIrdooQq5BlQiH7Am8XgeeMBIs3VKlHBRe+Uvag0SXJ2ET2UPtxHDJVWMIEN1+kpjIRmKPHTj Jjv/P5znPe3A6zbVhkZPk10WqrlTvCUn0aqr8I9i6F8p+YekcCoPPcvJOq+gPXBTisKd/q4kmsWe8 ZOglFiCA==; Received: from 84-52-144-230.dynamic.telemach.net ([84.52.144.230] helo=Tauriel) by b1.hitrost.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1oLt4m-001URV-0W; Wed, 10 Aug 2022 23:17:16 +0200 User-agent: mu4e 1.2.0; emacs 27.2 From: Christian Moe To: emacs-orgmode@gnu.org Subject: [ODT][BUG] Format error on export with table in list structure Date: Wed, 10 Aug 2022 23:17:15 +0200 Message-ID: <87a68bhk84.fsf@christianmoe.com> MIME-Version: 1.0 Content-Type: text/plain X-GeoIP: Country [IP], SI [84.52.144.230] X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-Authenticated-Id: mail@christianmoe.com Received-SPF: pass client-ip=91.185.211.161; envelope-from=mail@christianmoe.com; helo=mailer-211-161.hitrost.net X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660166332; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AoAxDymtARxZ12qycM72/V/qspZyE0TbD7UspWd+joU=; b=f1A2az7F7KNs8KZqkdvLLt8O1Djgiu91NX1cdQzovpA8zoe8SZDFJuqckirVyM0OWIml/u oVxV2tZRNUfvFlpBJGT5zp8lgGL6j2A+f3gugST6xTvqMSlA5ZFoitznOhvjkoFdi0CBxW PmcgxBcORnpBIvJ1U+4WCinOAi2K4BZm0+PdlKJEXW+KENpBw5196/DULpQwc+IaX+MWzT 3n1HN0NJD455VPYQt6kJm51e+dk2v0dqz0PbWSWF30UJcgfW0D4LuVPclY9EB1PRCWUOpT F+TSOJimRezFxFAf0VScxR3VCvPiQYBst5ReU3dvXoHELRmDnNJE2LYZcnkFMw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660166332; a=rsa-sha256; cv=none; b=BrXFYstdLuq+Kp+BJqhIJBEWk5cMe8QZRQizi89q+WF3BDvvF9kA44JecsQSdILXO7mA6p 1fevN6s+I9SaF1t6hWpf8cnKfAzi6UnDbk18crWxlP3/KXJn+3QEFgiIG2bjlMe7EdK/W3 w1cslDLHjrtbg8KQP617vg1CF8iGiGzGMQnITwOXMYgR2xbmakqW+gl/UsSk8FKIvdRbYD RfUrLbVtgGWIkZuFCmEjmVNcfL7DXDQj+OfDa9yahAS2MB5Jq3T4uGEIplqGGlB+PUc4Ii pCdKNJHDWwlntaBXmmUUYpXX717M52fgSXozbBlTxiCSaii5+TM4orHsPlaT6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=christianmoe.com header.s=x header.b=dFhdTvrP; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.68 Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=christianmoe.com header.s=x header.b=dFhdTvrP; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7A6A21B9AE X-Spam-Score: -1.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: /LQykxcSsqQd Hi, Consider the following minimal example, a nested list with a table in a sub-item (regardless of list types and empty lines): #+BEGIN_EXAMPLE 1. List item - Sub-item | Table | #+END_EXAMPLE This causes a format error on ODT export (I'm running Org version 9.5.4). In the content.xml file, just before the final closing tag, there appears a tag without a corresponding opening tag, invalidating the XML. It may be related to this problem that, just after the table section, for some reason there appears another numbered list item containing an empty bulleted list, as if the list were trying to continue. However, surrounding the table with further list items does not help. This example causes the same error: #+BEGIN_EXAMPLE 1. List item - Sub-item | Table | - Second sub-item 2. Second top-level item #+END_EXAMPLE If this can be reproduced, I think it's a bug. (It might be argued that this mix of lists and tables is an abomination and should not be allowed anyway, but it works in the other exporters.) What *does* help, strangely, is mixing yet another table into the list structure. The following example exports without error. #+BEGIN_EXAMPLE 1. List item | Table | - Sub-item | Table | #+END_EXAMPLE Perhaps this can somehow help pin down the problem. Yours, Christian