Clemens Klein-Robbenhaar wrote:
> Clemens Klein-Robbenhaar <email address hidden> added the comment:
>
> Dear Nico,
>
> thanks for the example.
>
> Clearly there is a 'column_info="L:0 L:0 L:0"' which is something
> that "should not happen".
> I cannot edit that document neither in kupu nor in the forms editor,
> and I have no idea how someone could get the document in that state.
> The preview does not work either, so the document cannot even be displayed.
>
> So if we are going to fix hat, we would have to fix it for the widgets
> system, too. (Same for XSLT and xml export).
>
> Before I add some defensive code to handle a state which should
> not be reachable in the first place, I ask the folks at infrae what
> they think about it.
>
> Kit: any opinion? Or get any of the technicans to nose in?
>
> ____________________________________________
> Silva issue tracker <email address hidden>
> <https://infrae.com/issue/silva/issue1398>
> ____________________________________________
>
>
Hi Clemens,
below is the parsed XML content that will work, bot in kupu and forms
editor:
<?xml version="1.0" ?> >test</ heading> <table column_info="L:33 L:33 "3"><row> <field/ ><field/ ><field/ ></row> </table> <table "2"><row_ heading> test</row_ heading> <row><field> <p >1.1.2005: 2%<br/> <br/><strong> ab 1.7.2005: ></strong> </p></field> <field> <p >test.< br/>test. <br/>test< strong/ ></p></ field>< /row></ table>< table "3"><row> <field/ ><field/ ><field/ ></row> </table> <table "3"><row_ heading> test</row_ heading> <row><field> <p ><strong> test</strong> <br/>2. 25%</p> </field> <field> <p></p> </field> <field> <p></p> </field> </row>< row><field> <list ><li>Variable: 2,25%<br/>Fest 02J: 1.95%<br/> 03J: li></list> </field> <field> <p ><strong> ab /strong> <br/>2. 20%<br/ >2.35%< br/>2.50% <br/>2. 65%<br/ >2.75%< br/>2.80% <br/>2. 95%<br/ >3.05%< br/>3.10% </p></field> <field> <p >test.< br/>test< /p></field> </row>< /table> </doc>
<doc><heading type="sub"
L:33" type="plain"
columns=
column_info="L:28 L:70" type="list"
columns=
type="normal"
1.75%<br/
type="normal"
column_info="L:33 L:33 L:33" type="plain"
columns=
column_info="L:28 L:28 L:50" type="list"
columns=
type="normal"
type="none"
2.05%<br/> 04J: 2.25%<br/> 05J; 2.40%<br/> 06J:
2.55%<br/> 07J: 2.75%<br/> 08J: 2.90%<br/> 09J:
2.90%<br/> 10J: 3.10%</
type="normal"
01.01.2006<
type="normal"
Kind regards,
Nico
Clemens Klein-Robbenhaar wrote: _______ _______ _______ _______ _______ __ /infrae. com/issue/ silva/issue1398> _______ _______ _______ _______ _______ __
> Clemens Klein-Robbenhaar <email address hidden> added the comment:
>
> Dear Nico,
>
> thanks for the example.
>
> Clearly there is a 'column_info="L:0 L:0 L:0"' which is something
> that "should not happen".
> I cannot edit that document neither in kupu nor in the forms editor,
> and I have no idea how someone could get the document in that state.
> The preview does not work either, so the document cannot even be displayed.
>
> So if we are going to fix hat, we would have to fix it for the widgets
> system, too. (Same for XSLT and xml export).
>
> Before I add some defensive code to handle a state which should
> not be reachable in the first place, I ask the folks at infrae what
> they think about it.
>
> Kit: any opinion? Or get any of the technicans to nose in?
>
> _______
> Silva issue tracker <email address hidden>
> <https:/
> _______
>
>