[jira] [Closed] (ODFTOOLKIT-433) Document.updateXMLIds(...) does not update referenced id's
[ https://issues.apache.org/jira/browse/ODFTOOLKIT-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svante Schubert closed ODFTOOLKIT-433. -- closed for upcoming release > Document.updateXMLIds(...) does not update referenced id's > -- > > Key: ODFTOOLKIT-433 > URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-433 > Project: ODF Toolkit > Issue Type: Bug > Components: simple api >Affects Versions: 0.6.2-incubating >Reporter: Georg Füchsle >Assignee: Svante Schubert > Fix For: 0.6.2-incubating > > Attachments: explanation.odt, proposal.diff, SectionContinuedList.odt > > > The function void > {{org.odftoolkit.simple.Document.updateXMLIds(OdfElement element)}} > assigns a modified value to all xml:id-attributes inside the OdfElement. > If there are references text:continue-list to one of the modified xml:id this > reference wiill not be updated. > The consequence is: > If You will insert a Section containing interupted lists into a document by: > {{TextDocument.appendSection(Section section, ...)}} > the information text:continue-list will be lost. In the copy the interupted > list will start again with number '1' > I attached a proposal for a fix. I hope the formatting correspondes to your > standard now. > > I attach document with some more detailled explanation. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Closed] (ODFTOOLKIT-433) Document.updateXMLIds(...) does not update referenced id's
[ https://issues.apache.org/jira/browse/ODFTOOLKIT-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Georg Füchsle closed ODFTOOLKIT-433. > Document.updateXMLIds(...) does not update referenced id's > -- > > Key: ODFTOOLKIT-433 > URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-433 > Project: ODF Toolkit > Issue Type: Bug > Components: simple api >Affects Versions: 0.6.2-incubating >Reporter: Georg Füchsle >Assignee: Svante Schubert > Attachments: SectionContinuedList.odt, explanation.odt, proposal.diff > > > The function void > {{org.odftoolkit.simple.Document.updateXMLIds(OdfElement element)}} > assigns a modified value to all xml:id-attributes inside the OdfElement. > If there are references text:continue-list to one of the modified xml:id this > reference wiill not be updated. > The consequence is: > If You will insert a Section containing interupted lists into a document by: > {{TextDocument.appendSection(Section section, ...)}} > the information text:continue-list will be lost. In the copy the interupted > list will start again with number '1' > I attached a proposal for a fix. I hope the formatting correspondes to your > standard now. > > I attach document with some more detailled explanation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)