Hello,

I have some serious problems with getting tables inserted into XHTML 
documents. I use Lenya 2.0.3 on Debian lenny with the Jetty packages from 
Debian squeeze. The platform is amd64. Here are some steps to reproduce the 
problems and the effects I experience:

    1. create a new XHTML document in standard layout (not two-column)

    2. open the document in BXE
        ⇒ A message window with the text “Removed 1 unsupported group nodes”
        pops up.

    3. delete the two paragraphs (p elements)

    4. save the document

    5. exit BXE

    6. reopen the document in BXE
        ⇒ The message window about unsupported group nodes pops up again.

    7. place the cursor at the end of the headline

    8. create a new table by clicking on the icon in the toolbar above

    9. enter a single character in each table field

    10. try to save the document
        ⇒ An orange window with the headline “Validation Alert” pops up. Its
        contents are:

            tr(http://www.w3.org/1999/xhtml) is not allowed at this position
            as child of table
            tr is not allowed to have children
            tr(http://www.w3.org/1999/xhtml) is not allowed at this position
            as child of table

    11. press OK

    12. exit BXE

    13. open the document in Kupu

    14. place the cursor at the end of the headline

    15. enter 2 in the “rows” and “columns” fields on the right

    16. press “Add Table”
        ⇒ Each field in the newly created table contains a single space
        character or such.

    17. replace these spaces by a single character each

    18. save the document
        ⇒ The contents of the table are now shown in the same style as the
        headline (probably because the table was created inside the header).
        There are no table borders anymore.
        ⇒ The resulting XHTML file (in lenya/pubs/$PUBNAME/content/authoring)
        looks weird:

            • It contains a reference to a style sheet (with a relative URI).

            • It contains two Content-Type specifications.

            • It contains a <br /> after the content of each cell except the
            upper-left.

        The complete XHTML file is attached.

    19. exit Kupu

    20. open the document in BXE
        ⇒ The message window about the removed group nodes pops up.

        ⇒ The  “Validation Alert” window pops up—with the same contents as
        before.

Can anyone tell me how to create clean XHTML documents with tables? I’d prefer 
to use BXE, by the way.

Best wishes,
Wolfgang
Title: New XHTML document

New XHTML document
12
3
4

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@lenya.apache.org
For additional commands, e-mail: user-h...@lenya.apache.org

Reply via email to