When you generate XML in multiple partitions, you always generate separate documents for each partition. This occurs regardless of the value in the On Commit Flag. If you configure key range partitioning with an XML Generator transformation, a session might fail with orphaned rows in the transformation. This can occur because the XML Generator transformation creates primary-foreign key relationships between rows. Key range partitioning can separate the parent and child rows.