How unsupported tags are treated?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How unsupported tags are treated?

pm771
Hello

I have a question about not-supported tags/features in general, as well as about a particular FO tag.

1. What is the expected behavior for unsupported tags? Are they ignored? What about their descendants?

2. Now about the particular tag table-and-caption. According to FOP Compliance Page ยง6.7.2 table-and-caption is not supported.

What should/would happen to the rest of the table?  

I have the following code as a part of my XSL-FO file:

<fo:table-and-caption xmlns:fo="http://www.w3.org/1999/XSL/Format" display-align="center">
    <fo:table border="1px" border-collapse="separate" border-color="#000000" border-spacing="2px" border-style="outset" border-width="1px" role="table" text-align="center">
        <fo:table-body end-indent="0pt" last-line-end-indent="0pt" role="tbody" start-indent="0pt" text-align="start" text-align-last="relative" text-indent="0pt">
            <fo:table-row role="tr">
                <fo:table-cell border="1px" border-style="inset" padding="1px" role="td">
                    <fo:block>
                        <fo:inline font-family="comic sans ms,sans-serif" font-size="medium" role="span">Top Left</fo:inline>
                    </fo:block>
                </fo:table-cell>
                <fo:table-cell border="1px" border-style="inset" padding="1px" role="td">
                    <fo:block>
                        <fo:inline font-family="comic sans ms,sans-serif" font-size="medium" role="span">Top Right</fo:inline>
                    </fo:block>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row role="tr">
                <fo:table-cell border="1px" border-style="inset" padding="1px" role="td">
                    <fo:block>
                        <fo:inline font-family="comic sans ms,sans-serif" font-size="medium" role="span">Bottom Left</fo:inline>
                    </fo:block>
                </fo:table-cell>
                <fo:table-cell border="1px" border-style="inset" padding="1px" role="td">
                    <fo:block>
                        <fo:inline font-family="comic sans ms,sans-serif" font-size="medium" role="span">Bottom Right</fo:inline>
                    </fo:block>
                </fo:table-cell>
            </fo:table-row>
        </fo:table-body>
    </fo:table>
</fo:table-and-caption>

The table is missing from the output.  Is usage of table-and-caption at fault here?

TIA