You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2018/03/04 12:30:36 UTC

[Issue 127725] New: Wrong XML attribute "table:table-name", should be "table:database-table-name"

https://bz.apache.org/ooo/show_bug.cgi?id=127725

          Issue ID: 127725
        Issue Type: DEFECT
           Summary: Wrong XML attribute "table:table-name", should be
                    "table:database-table-name"
           Product: Calc
           Version: 4.1.5
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: editing
          Assignee: issues@openoffice.apache.org
          Reporter: villeroy@t-online.de
  Target Milestone: ---

When you drag the Bibliography.biblio table into a sheet, you get a
database-range entry in content.xml

<table:database-ranges>
    <table:database-range table:name="Import1"
table:target-range-address="Sheet1.A1:Sheet1.AE60">
        <table:database-source-table table:database-name="Bibliography"
table:table-name="biblio"/>
    </table:database-range>
</table:database-ranges>

LibreOffice creates this:
<table:database-ranges>
    <table:database-range table:name="Import1"
table:target-range-address="Sheet1.A1:Sheet1.AE21">
        <table:database-source-table table:database-name="Bibliography"
table:database-table-name="biblio"/>
    </table:database-range>
</table:database-ranges>

Apart from the range-address, it refers to a "table:database-table-name"
instead of a "table:table-name".

"table:database-table-name" is the attribute which is documented in
OpenDocument-v1.2.

LibreOffice handles the incorrect attribute and changes it to the correct one. 
OpenOffice does not handle the correct attribute and complains about a empty
table name when refreshing the import range via menu:Data>Refresh.

-- 
You are receiving this mail because:
You are the assignee for the issue.