<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - save as ODF1.2extended produces invalid ODF for pivot table based on named range"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=133347">133347</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>save as ODF1.2extended produces invalid ODF for pivot table based on named range
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.4 all versions
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rb.henschel@t-online.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=161233" name="attach_161233" title="File to reproduce the wrong attribute">attachment 161233</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=161233&action=edit" title="File to reproduce the wrong attribute">[details]</a></span>
File to reproduce the wrong attribute

Open attached document. It contains a named range "MySource"
Menu Data > Pivot Table > Insert or Edit... opens dialog 'Select Source'.
Use option 'Named Range' and select "MySource". OK.
In the then opened dialog 'Pivot Table Layout' drag 'Person' to 'Row Fields'
and 'Value' to 'Data Fields'. OK.
Save with new name in "ODF 1.2 extended".

Test saved file in validator <a href="https://odfvalidator.org/">https://odfvalidator.org/</a> using ODF Version "OASIS
ODF 1.2 (extended conforming)".

LibreOffice should use own namespace instead of table:name or do not write that
attribute at all.

This attribute will be available in ODF 1.3 which is supported by LO7. So you
might set the bug to 'wontfix'. But I have written the report nevertheless,
because some companies provide long time support for older versions and might
want to fix it.

Tested with Version: 5.4.7.2 (x64)
Build ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU threads: 8; OS: Windows 6.19; UI render: default; 
Locale: de-DE (en_US); Calc: CL

and with Version: 7.0.0.0.alpha1+ (x64)
Build ID: 0f855cc3f01fc77937e82738192fae4ee8325227
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: Skia/Vulkan; VCL: win; 
Locale: de-DE (en_US); UI: en-US
Calc: CL</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>