[xep-support] errors with descendants of fo:bidi-override

From: Gerald Wiesinger <Gerald_Wiesinger@at.ibm.com>
Date: Mon May 17 2010 - 07:12:57 PDT

since we are now heavily testing bidirectional documents, here another
issue. which seems not a big problem but it may be the source of some
questioning.

we used the following structure:

                        <fo:block>
                              <fo:bidi-override direction="rtl">
                                    <fo:block> ........ some
content ......... </fo:block>
                                    <fo:table width="100%" table-layout=
"fixed" .....
                                          :
                                          :
                                    </fo:table>
                              </fo:bidi-override>
                        </fo:block>

which throws the errors:

    [error] Element 'fo:block' cannot be a descendant of 'fo:bidi-override'
thro
ugh wrapper or inline elements. Only inline-level elements are permitted in
this
 context.
    [error] Element 'fo:table' cannot be a descendant of 'fo:bidi-override'
thro
ugh wrapper or inline elements. Only inline-level elements are permitted in
this
 context.

with validation turned ON.

according to the information on the w3c and w3school pages:
http://www.w3schools.com/xslfo/obj_bidi-override.asp
http://www.w3.org/TR/xsl/#fo_bidi-override ->
http://www.w3.org/TR/xsl/#block.fo.list
fo:blocks and fo:tables are allowed contents of the fo:bidi-override so the
error message is not really expected.

with validation turned OFF, this error is not thrown.

____________________________________
Best Regards
Gerald Wiesinger

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Mon May 17 07:27:02 2010

This archive was generated by hypermail 2.1.8 : Mon May 17 2010 - 07:27:33 PDT