https://bugs.documentfoundation.org/show_bug.cgi?id=116435

            Bug ID: 116435
           Summary: XML Form Document: Impossible to rename default-value
                    "instanceData"
           Product: LibreOffice
           Version: 3.6.7.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: rob...@familiegrosskopf.de

Open LO.
File > New > XML Form Document
On the right you could see the Data Navigator. If not switch to the bottom of
the window, 4th button from the left.
Data Navigator shows "Instance 1" and there "instanceData".
Mark "instanceData" and edit the element (right mousclick > Edit Element)
Change the name, for example, to "Data".
Close the dialog.
No changing has been made.
Add a element with default "newElement".
Change the name, for example, to "New".
Close the dialog.
Element has been renamed.

Renaming works here on all elements, except the root-element "instanceData".

There is one way rename the root-element out of the box:
create a xml-file with the following content
-------------
<?xml version="1.0" encoding="UTF-8"?>
<Main>
</Main>
-------------
Go to Instances (right down on the Data Navigator) > Edit. Browse to the file,
click "OK", save the form and reopen it. "instanceData" has been removed by
"Main".

All these tested with LO 6.0.2.1 and also the oldest here installed version LO
3.6.7., OpenSUSE 42.3 64bit rpm. Renaming doesn't work in any LO-version, also
tested with AOO - the same. Has been working at the beginning of XML Form
Documents with OOo. There are descriptions available for OOo 2.0 which will
show forms with many different named root-elements.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to