Bugzilla #41426: Fix for ClassCastException when fo:wrapper was used as direct child of fo:flow. Note: "id" attributes are still not handled properly on fo:wrapper! Submitted by: Adrian Cumiskey <fop-dev.at.cumiskey.com>