[FOLLOWUP][BUGFIX] Empty array not encoded as empty XML tag 00/44600/3
authorAndreas Wolf <dev@a-w.io>
Sat, 7 Nov 2015 17:03:29 +0000 (18:03 +0100)
committerAndreas Wolf <andreas.wolf@typo3.org>
Sat, 7 Nov 2015 17:10:21 +0000 (18:10 +0100)
Use empty() to check for empty array.

Also fix the failing functional tests by adjusting the fixtures
accordingly

Change-Id: I8d910f90f45e052afef05be7171116dfaf1166bf
Resolves: #71394
Releases: 6.2, master
Reviewed-on: https://review.typo3.org/44600
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
22 files changed:
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item-but-images-not-included.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item-in-ff.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/impexp-group-file-and-file_reference-item.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/irre-records.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-image-but-not-included.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-image.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-rte-image-n-file-link.xml
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent.xml
typo3/sysext/impexp/Tests/Functional/Import/GroupFileAndFileReferenceItem/ImportExportXml/impexp-group-file-and-file_reference-item-on-pid-zero.xml
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-existing-different-image.xml
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-existing-same-image.xml
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-image-with-forced-uids.xml
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-image-with-spaces-in-path.xml
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-image-without-storage.xml
typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/GroupFileAndFileReferenceItem/ImportExportXml/impexp-group-file-and-file_reference-item.xml
typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/GroupFileAndFileReferenceItemInFlexForm/ImportExportXml/impexp-group-file-and-file_reference-item-in-ff.xml
typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/PagesAndTtContent/ImportExportXml/pages-and-ttcontent.xml
typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/PagesAndTtContentUploads/ImportExportXml/pages-and-ttcontent-uploads.xml
typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/PagesAndTtContentWithImages/ImportExportXml/pages-and-ttcontent-with-images.xml
typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/PagesAndTtContentWithRteImagesAndFileLink/ImportExportXml/pages-and-ttcontent-with-rte-image-n-file-link.xml
typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/PagesWithLanguageOverlay/ImportExportXml/pages-and-pages-language-overlay.xml

index baec046..18876a8 100755 (executable)
@@ -2136,7 +2136,7 @@ class GeneralUtility
                     $subOptions = $options;
                     $clearStackPath = false;
                 }
-                if (count($v) === 0) {
+                if (empty($v)) {
                     $content = '';
                 } else {
                     $content = $nl . self::array2xml($v, $NSprefix, ($level + 1), '', $spaceInd, $subOptions, array(
index dcdb5ae..725391d 100644 (file)
@@ -8,10 +8,8 @@
                                        <pid>0</pid>
                                        <title>Root</title>
                                        <size>162</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_impexpgroupfiles_item" type="array">
@@ -26,8 +24,7 @@
                                                        <id>3</id>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                        <filerefs type="array">
                                                <file index="0">66a2b7534be9ebf810cd55164c5f085d</file>
                                        </filerefs>
@@ -46,8 +43,7 @@
                                                        <table>sys_file_storage</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_storage" type="array">
                                        <title>fileadmin/ (auto-created)</title>
                                        <size>722</size>
                                        <relationLevel>2</relationLevel>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">Root</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_impexpgroupfiles_item:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="configuration" type="array">
                                        <type>flex</type>
                                        <flexform index="flexFormRels" type="array">
-                                               <db_relations index="db" type="array">
-                                               </db_relations>
-                                               <file_relations index="file" type="array">
-                                               </file_relations>
-                                               <softref_relations index="softrefs" type="array">
-                                               </softref_relations>
+                                               <db_relations index="db" type="array"></db_relations>
+                                               <file_relations index="file" type="array"></file_relations>
+                                               <softref_relations index="softrefs" type="array"></softref_relations>
                                        </flexform>
                                </field>
                        </related>
index 1db9f71..324ebc3 100644 (file)
@@ -8,10 +8,8 @@
                                        <pid>1</pid>
                                        <title>Dummy 1-2</title>
                                        <size>167</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_impexpgroupfiles_item" type="array">
@@ -58,8 +56,7 @@
                                                        <table>sys_file_storage</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
@@ -73,8 +70,7 @@
                                                        <table>sys_file_storage</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_storage" type="array">
                                        <title>fileadmin/ (auto-created)</title>
                                        <size>722</size>
                                        <relationLevel>2</relationLevel>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">Dummy 1-2</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_impexpgroupfiles_item:2" type="array">
                        <fieldlist index="data" type="array">
                                <field index="configuration" type="array">
                                        <type>flex</type>
                                        <flexform index="flexFormRels" type="array">
-                                               <db_relations index="db" type="array">
-                                               </db_relations>
-                                               <file_relations index="file" type="array">
-                                               </file_relations>
-                                               <softref_relations index="softrefs" type="array">
-                                               </softref_relations>
+                                               <db_relations index="db" type="array"></db_relations>
+                                               <file_relations index="file" type="array"></file_relations>
+                                               <softref_relations index="softrefs" type="array"></softref_relations>
                                        </flexform>
                                </field>
                        </related>
index f4c9b6f..98d516b 100644 (file)
@@ -8,10 +8,8 @@
                                        <pid>0</pid>
                                        <title>Root</title>
                                        <size>162</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_impexpgroupfiles_item" type="array">
@@ -26,8 +24,7 @@
                                                        <id>3</id>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                        <filerefs type="array">
                                                <file index="0">66a2b7534be9ebf810cd55164c5f085d</file>
                                        </filerefs>
@@ -46,8 +43,7 @@
                                                        <table>sys_file_storage</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_storage" type="array">
                                        <title>fileadmin/ (auto-created)</title>
                                        <size>722</size>
                                        <relationLevel>2</relationLevel>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">Root</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_impexpgroupfiles_item:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="configuration" type="array">
                                        <type>flex</type>
                                        <flexform index="flexFormRels" type="array">
-                                               <db_relations index="db" type="array">
-                                               </db_relations>
-                                               <file_relations index="file" type="array">
-                                               </file_relations>
-                                               <softref_relations index="softrefs" type="array">
-                                               </softref_relations>
+                                               <db_relations index="db" type="array"></db_relations>
+                                               <file_relations index="file" type="array"></file_relations>
+                                               <softref_relations index="softrefs" type="array"></softref_relations>
                                        </flexform>
                                </field>
                        </related>
index 183eeb4..27d40cd 100644 (file)
@@ -8,10 +8,8 @@
                                        <pid>0</pid>
                                        <title>IRRE</title>
                                        <size>162</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tt_content" type="array">
@@ -38,8 +36,7 @@
                                                        <table>tx_irretutorial_1ncsv_hotel</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_1ncsv_hotel" type="array">
@@ -54,8 +51,7 @@
                                                        <table>tx_irretutorial_1ncsv_offer</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="1" type="array">
                                        <uid>1</uid>
@@ -72,8 +68,7 @@
                                                        <table>tx_irretutorial_1ncsv_offer</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_1ncsv_offer" type="array">
@@ -88,8 +83,7 @@
                                                        <table>tx_irretutorial_1ncsv_price</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>tx_irretutorial_1ncsv_price</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="1" type="array">
                                        <uid>1</uid>
                                                        <table>tx_irretutorial_1ncsv_price</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_1ncsv_price" type="array">
                                        <pid>1</pid>
                                        <title>Price 2.2.1 (csv)</title>
                                        <size>254</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                        <pid>1</pid>
                                        <title>Price 1.2.1 (csv)</title>
                                        <size>254</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="1" type="array">
                                        <uid>1</uid>
                                        <pid>1</pid>
                                        <title>Price 1.1.1 (csv)</title>
                                        <size>255</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_1nff_hotel" type="array">
                                                        <table>tx_irretutorial_1nff_offer</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>tx_irretutorial_1nff_offer</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_1nff_offer" type="array">
                                                        <table>tx_irretutorial_1nff_price</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="3" type="array">
                                        <uid>3</uid>
                                                        <table>tx_irretutorial_1nff_price</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>tx_irretutorial_1nff_price</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_1nff_price" type="array">
                                        <pid>1</pid>
                                        <title>Price 1.1.1 (nff)</title>
                                        <size>358</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="3" type="array">
                                        <uid>3</uid>
                                        <pid>1</pid>
                                        <title>Price 1.2.1 (nff)</title>
                                        <size>360</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="4" type="array">
                                        <uid>4</uid>
                                        <pid>1</pid>
                                        <title>Price 2.1.1 (nff)</title>
                                        <size>365</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                        <pid>1</pid>
                                        <title>Price 1.1.2 (nff)</title>
                                        <size>360</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_mnasym_hotel" type="array">
                                                        <table>tx_irretutorial_mnasym_hotel_offer_rel</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_mnasym_hotel_offer_rel" type="array">
                                                        <table>tx_irretutorial_mnasym_price</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>tx_irretutorial_mnasym_price</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_mnasym_offer" type="array">
                                                        <table>tx_irretutorial_mnasym_hotel_offer_rel</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="1" type="array">
                                        <uid>1</uid>
                                                        <table>tx_irretutorial_mnasym_hotel_offer_rel</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_mnasym_price" type="array">
                                        <pid>1</pid>
                                        <title>Price 1 1:2 (m:n ASym)</title>
                                        <size>281</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                        <pid>1</pid>
                                        <title>Price 2 1:1 (m:n ASym)</title>
                                        <size>280</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_mnattr_hotel" type="array">
                                                        <table>tx_irretutorial_mnattr_hotel_offer_rel</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>tx_irretutorial_mnattr_hotel_offer_rel</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_mnattr_hotel_offer_rel" type="array">
                                                        <table>tx_irretutorial_mnattr_offer</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>tx_irretutorial_mnattr_offer</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_mnattr_offer" type="array">
                                                        <table>tx_irretutorial_mnattr_hotel_offer_rel</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>tx_irretutorial_mnattr_hotel_offer_rel</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_mnmmasym_hotel" type="array">
                                                        <table>tx_irretutorial_mnmmasym_offer</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>tx_irretutorial_mnmmasym_offer</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_mnmmasym_offer" type="array">
                                                        <table>tx_irretutorial_mnmmasym_price</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>tx_irretutorial_mnmmasym_price</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="1" type="array">
                                        <uid>1</uid>
                                                        <table>tx_irretutorial_mnmmasym_price</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_mnmmasym_price" type="array">
                                        <pid>1</pid>
                                        <title>Price (m:n (MM) ASym)</title>
                                        <size>279</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                        <pid>1</pid>
                                        <title>Price 1.2.2 (m:n (MM) ASym)</title>
                                        <size>286</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="1" type="array">
                                        <uid>1</uid>
                                        <pid>1</pid>
                                        <title>Price 1.1.1 (m:n (MM) ASym)</title>
                                        <size>286</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_mnsym_hotel" type="array">
                                                        <table>tx_irretutorial_mnsym_hotel_rel</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="3" type="array">
                                        <uid>3</uid>
                                                        <table>tx_irretutorial_mnsym_hotel_rel</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="1" type="array">
                                        <uid>1</uid>
                                                        <table>tx_irretutorial_mnsym_hotel_rel</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_irretutorial_mnsym_hotel_rel" type="array">
                                                        <table>tx_irretutorial_mnsym_hotel</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>tx_irretutorial_mnsym_hotel</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">IRRE</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tt_content:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Price 2.2.1 (csv)</field>
                                <field index="price">112.00</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_irretutorial_1ncsv_price:2" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Price 1.2.1 (csv)</field>
                                <field index="price">90.00</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_irretutorial_1ncsv_price:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Price 1.1.1 (csv)</field>
                                <field index="price">567.00</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_irretutorial_1nff_hotel:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Price 1.1.1 (nff)</field>
                                <field index="price">4.00</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_irretutorial_1nff_price:3" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Price 1.2.1 (nff)</field>
                                <field index="price">678.00</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_irretutorial_1nff_price:4" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Price 2.1.1 (nff)</field>
                                <field index="price">5467567.00</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_irretutorial_1nff_price:2" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Price 1.1.2 (nff)</field>
                                <field index="price">869.00</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_irretutorial_mnasym_hotel:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Price 1 1:2 (m:n ASym)</field>
                                <field index="price">678.00</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_irretutorial_mnasym_price:2" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Price 2 1:1 (m:n ASym)</field>
                                <field index="price">45.00</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_irretutorial_mnattr_hotel:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="price">223.00</field>
                                <field index="offers">0</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_irretutorial_mnmmasym_price:2" type="array">
                        <fieldlist index="data" type="array">
                                <field index="price">567.00</field>
                                <field index="offers">0</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_irretutorial_mnmmasym_price:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="price">567.00</field>
                                <field index="offers">0</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_irretutorial_mnsym_hotel:2" type="array">
                        <fieldlist index="data" type="array">
index 947084d..f590e22 100644 (file)
@@ -8,20 +8,16 @@
                                        <pid>0</pid>
                                        <title>Root</title>
                                        <size>162</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                        <pid>1</pid>
                                        <title>Dummy 1-2</title>
                                        <size>167</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tt_content" type="array">
                                        <pid>0</pid>
                                        <title>Deutsch</title>
                                        <size>109</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_reference" type="array">
@@ -75,8 +69,7 @@
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file" type="array">
                                                        <table>sys_file_metadata</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_storage" type="array">
                                        <title>fileadmin/ (auto-created)</title>
                                        <size>722</size>
                                        <relationLevel>2</relationLevel>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_metadata" type="array">
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">Root</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="pages:2" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Dummy 1-2</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tt_content:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Deutsch</field>
                                <field index="flag">de</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="sys_file_reference:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="configuration" type="array">
                                        <type>flex</type>
                                        <flexform index="flexFormRels" type="array">
-                                               <db_relations index="db" type="array">
-                                               </db_relations>
-                                               <file_relations index="file" type="array">
-                                               </file_relations>
-                                               <softref_relations index="softrefs" type="array">
-                                               </softref_relations>
+                                               <db_relations index="db" type="array"></db_relations>
+                                               <file_relations index="file" type="array"></file_relations>
+                                               <softref_relations index="softrefs" type="array"></softref_relations>
                                        </flexform>
                                </field>
                        </related>
index 47889be..b73d329 100644 (file)
@@ -8,20 +8,16 @@
                                        <pid>0</pid>
                                        <title>Root</title>
                                        <size>162</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                        <pid>1</pid>
                                        <title>Dummy 1-2</title>
                                        <size>167</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tt_content" type="array">
                                        <pid>0</pid>
                                        <title>Deutsch</title>
                                        <size>109</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_reference" type="array">
@@ -75,8 +69,7 @@
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file" type="array">
                                                        <table>sys_file_metadata</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_storage" type="array">
                                        <title>fileadmin/ (auto-created)</title>
                                        <size>722</size>
                                        <relationLevel>2</relationLevel>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_metadata" type="array">
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">Root</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="pages:2" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Dummy 1-2</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tt_content:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Deutsch</field>
                                <field index="flag">de</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="sys_file_reference:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="configuration" type="array">
                                        <type>flex</type>
                                        <flexform index="flexFormRels" type="array">
-                                               <db_relations index="db" type="array">
-                                               </db_relations>
-                                               <file_relations index="file" type="array">
-                                               </file_relations>
-                                               <softref_relations index="softrefs" type="array">
-                                               </softref_relations>
+                                               <db_relations index="db" type="array"></db_relations>
+                                               <file_relations index="file" type="array"></file_relations>
+                                               <softref_relations index="softrefs" type="array"></softref_relations>
                                        </flexform>
                                </field>
                        </related>
index 18406f2..616e361 100644 (file)
@@ -8,20 +8,16 @@
                                        <pid>0</pid>
                                        <title>Root</title>
                                        <size>162</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                        <pid>1</pid>
                                        <title>Dummy 1-2</title>
                                        <size>167</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tt_content" type="array">
@@ -30,8 +26,7 @@
                                        <pid>2</pid>
                                        <title>Text element with image in RTE</title>
                                        <size>464</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
+                                       <relations index="rels" type="array"></relations>
                                        <softrefs type="array">
                                                <softref_element index="bodytext:rtehtmlarea_images:1" type="array">
                                                        <field>bodytext</field>
@@ -71,8 +66,7 @@
                                                        <table>sys_file_storage</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
@@ -86,8 +80,7 @@
                                                        <table>sys_file_storage</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_storage" type="array">
                                        <title>fileadmin/ (auto-created)</title>
                                        <size>722</size>
                                        <relationLevel>2</relationLevel>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">Root</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="pages:2" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Dummy 1-2</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tt_content:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="configuration" type="array">
                                        <type>flex</type>
                                        <flexform index="flexFormRels" type="array">
-                                               <db_relations index="db" type="array">
-                                               </db_relations>
-                                               <file_relations index="file" type="array">
-                                               </file_relations>
-                                               <softref_relations index="softrefs" type="array">
-                                               </softref_relations>
+                                               <db_relations index="db" type="array"></db_relations>
+                                               <file_relations index="file" type="array"></file_relations>
+                                               <softref_relations index="softrefs" type="array"></softref_relations>
                                        </flexform>
                                </field>
                        </related>
index 7ba7659..29a2485 100644 (file)
@@ -8,20 +8,16 @@
                                        <pid>0</pid>
                                        <title>Root</title>
                                        <size>162</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                        <pid>1</pid>
                                        <title>Dummy 1-2</title>
                                        <size>167</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tt_content" type="array">
@@ -30,8 +26,7 @@
                                        <pid>1</pid>
                                        <title>Test content</title>
                                        <size>197</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
+                                       <relations index="rels" type="array"></relations>
                                        <softrefs type="array">
                                                <softref_element index="header_link:typolink:2487ce518ed56d22f20f259928ff43f1:0" type="array">
                                                        <field>header_link</field>
@@ -51,8 +46,7 @@
                                        <pid>1</pid>
                                        <title>Test content 2</title>
                                        <size>199</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
+                                       <relations index="rels" type="array"></relations>
                                        <softrefs type="array">
                                                <softref_element index="header_link:typolink:81b8b33df54ef433f1cbc7c3e513e6c4:0" type="array">
                                                        <field>header_link</field>
@@ -81,8 +75,7 @@
                                                        <table>sys_file_storage</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="4" type="array">
                                        <uid>4</uid>
                                        <title>Empty.html</title>
                                        <size>564</size>
                                        <relationLevel>1</relationLevel>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">Root</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="pages:2" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Dummy 1-2</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tt_content:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="creation_date">1400176659</field>
                                <field index="modification_date">1400176659</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
        </records>
        <files_fal type="array">
index 9927d9f..0fe5bb4 100644 (file)
@@ -9,10 +9,8 @@
                                        <pid>0</pid>
                                        <title>Root</title>
                                        <size>162</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_impexpgroupfiles_item" type="array">
@@ -27,8 +25,7 @@
                                                        <id>3</id>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                        <filerefs type="array">
                                                <file index="0">66a2b7534be9ebf810cd55164c5f085d</file>
                                        </filerefs>
@@ -47,8 +44,7 @@
                                                        <table>sys_file_storage</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_storage" type="array">
                                        <title>fileadmin/ (auto-created)</title>
                                        <size>722</size>
                                        <relationLevel>2</relationLevel>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">Root</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_impexpgroupfiles_item:1" type="array">
                        <fieldlist index="data" type="array">
index e325318..7db49b8 100644 (file)
@@ -8,20 +8,16 @@
                                        <pid>0</pid>
                                        <title>Root</title>
                                        <size>162</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                        <pid>1</pid>
                                        <title>Dummy 1-2</title>
                                        <size>167</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tt_content" type="array">
@@ -36,8 +32,7 @@
                                                        <table>sys_file_reference</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_reference" type="array">
@@ -52,8 +47,7 @@
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file" type="array">
@@ -73,8 +67,7 @@
                                                        <table>sys_file_metadata</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_storage" type="array">
                                        <title>fileadmin/ (auto-created)</title>
                                        <size>722</size>
                                        <relationLevel>2</relationLevel>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_metadata" type="array">
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">Root</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="pages:2" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Dummy 1-2</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tt_content:1" type="array">
                        <fieldlist index="data" type="array">
index 851d51a..e6fc365 100644 (file)
@@ -8,20 +8,16 @@
                                        <pid>0</pid>
                                        <title>Root</title>
                                        <size>162</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                        <pid>1</pid>
                                        <title>Dummy 1-2</title>
                                        <size>167</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tt_content" type="array">
@@ -36,8 +32,7 @@
                                                        <table>sys_file_reference</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_reference" type="array">
@@ -52,8 +47,7 @@
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file" type="array">
@@ -73,8 +67,7 @@
                                                        <table>sys_file_metadata</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_storage" type="array">
                                        <title>fileadmin/ (auto-created)</title>
                                        <size>722</size>
                                        <relationLevel>2</relationLevel>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_metadata" type="array">
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">Root</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="pages:2" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Dummy 1-2</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tt_content:1" type="array">
                        <fieldlist index="data" type="array">
index 70f430a..904a493 100644 (file)
@@ -9,20 +9,16 @@
                                        <pid>0</pid>
                                        <title>Root</title>
                                        <size>162</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="8" type="array">
                                        <uid>8</uid>
                                        <pid>5</pid>
                                        <title>Dummy 1-2</title>
                                        <size>167</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tt_content" type="array">
@@ -68,8 +64,7 @@
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file" type="array">
@@ -89,8 +84,7 @@
                                                        <table>sys_file_metadata</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_storage" type="array">
                                        <title>fileadmin/ (auto-created)</title>
                                        <size>722</size>
                                        <relationLevel>2</relationLevel>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_metadata" type="array">
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">Root</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="pages:8" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Dummy 1-2</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tt_content:21" type="array">
                        <fieldlist index="data" type="array">
index bfb119a..b329f4b 100644 (file)
@@ -8,20 +8,16 @@
                                        <pid>0</pid>
                                        <title>Root</title>
                                        <size>162</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                        <pid>1</pid>
                                        <title>Dummy 1-2</title>
                                        <size>167</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tt_content" type="array">
@@ -36,8 +32,7 @@
                                                        <table>sys_file_reference</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_reference" type="array">
@@ -52,8 +47,7 @@
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file" type="array">
@@ -73,8 +67,7 @@
                                                        <table>sys_file_metadata</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
@@ -92,8 +85,7 @@
                                                        <table>sys_file_metadata</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_metadata" type="array">
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">Root</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="pages:2" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Dummy 1-2</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tt_content:1" type="array">
                        <fieldlist index="data" type="array">
index b3c9855..63ff60b 100644 (file)
@@ -8,20 +8,16 @@
                                        <pid>0</pid>
                                        <title>Root</title>
                                        <size>162</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                        <pid>1</pid>
                                        <title>Dummy 1-2</title>
                                        <size>167</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tt_content" type="array">
@@ -36,8 +32,7 @@
                                                        <table>sys_file_reference</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_language" type="array">
                                        <pid>0</pid>
                                        <title>Deutsch</title>
                                        <size>109</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_reference" type="array">
@@ -64,8 +57,7 @@
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file" type="array">
@@ -89,8 +81,7 @@
                                                        <table>sys_file_metadata</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="sys_file_metadata" type="array">
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                                <rec index="2" type="array">
                                        <uid>2</uid>
                                                        <table>sys_file</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
                                <field index="title">Root</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="pages:2" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Dummy 1-2</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tt_content:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">Deutsch</field>
                                <field index="flag">de</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="sys_file_reference:1" type="array">
                        <fieldlist index="data" type="array">
index 7179118..ec30ad7 100644 (file)
                                        <pid>2</pid>
                                        <title>Group File Reference</title>
                                        <size>1739</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_impexpgroupfiles_item" type="array">
                                        <pid>6</pid>
                                        <title>Test</title>
                                        <size>1312</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                        <filerefs type="array">
                                                <file index="0">df626d328a91a4e7982e96aed8376778</file>
                                                <file index="1">9a976a7be0bb14d2b664e47bc4159585</file>
@@ -78,8 +74,7 @@
                                <field index="title">Group File Reference</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_impexpgroupfiles_item:1" type="array">
                        <fieldlist index="data" type="array">
index d075aaf..bb85e45 100644 (file)
                                        <pid>2</pid>
                                        <title>Group File Reference in FlexForm</title>
                                        <size>1751</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tx_impexpgroupfiles_item" type="array">
@@ -28,8 +26,7 @@
                                        <pid>9</pid>
                                        <title>Test FlexForm</title>
                                        <size>1355</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
+                                       <relations index="rels" type="array"></relations>
                                        <softrefs type="array">
                                                <softref_element index="flexform:sDEF/lDEF/link/vDEF/:typolink:e9e93f03ab903de1d9b8860afad1cb61:0" type="array">
                                                        <field>flexform</field>
@@ -99,8 +96,7 @@
                                <field index="title">Group File Reference in FlexForm</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tx_impexpgroupfiles_item:2" type="array">
                        <fieldlist index="data" type="array">
index d8d6e88..6729168 100644 (file)
                                        <pid>2</pid>
                                        <title>Page Media</title>
                                        <size>1749</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                        <filerefs type="array">
                                                <file index="0">96648e4f802cdeafea05a048c2812f06</file>
                                        </filerefs>
                                        <pid>3</pid>
                                        <title>Test content</title>
                                        <size>2472</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
@@ -98,8 +94,7 @@
                                <field index="image" type="NULL"></field>
                                <field index="deleted">0</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
        </records>
        <files type="array">
index 0b37c93..2b41df2 100644 (file)
                                        <pid>2</pid>
                                        <title>Content Uploads</title>
                                        <size>1733</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tt_content" type="array">
                                        <pid>5</pid>
                                        <title>Uploads</title>
                                        <size>2583</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                        <filerefs type="array">
                                                <file index="0">b218ba089050d69cf6fff39f44b57904</file>
                                                <file index="1">e71219c808ddcf31faae1115cd330316</file>
@@ -80,8 +76,7 @@
                                <field index="title">Content Uploads</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tt_content:8" type="array">
                        <fieldlist index="data" type="array">
index 1904c61..37cfd85 100644 (file)
                                        <pid>2</pid>
                                        <title>Content Image</title>
                                        <size>1731</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tt_content" type="array">
@@ -30,8 +28,7 @@
                                        <pid>4</pid>
                                        <title>Test content</title>
                                        <size>3000</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
+                                       <relations index="rels" type="array"></relations>
                                        <softrefs type="array">
                                                <softref_element index="header_link:typolink:f5193c0381a6717a7169398680924f81:0" type="array">
                                                        <field>header_link</field>
                                <field index="title">Content Image</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tt_content:7" type="array">
                        <fieldlist index="data" type="array">
index 53358be..71f48f6 100644 (file)
                                        <pid>2</pid>
                                        <title>Content Image in RTE</title>
                                        <size>1738</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="tt_content" type="array">
@@ -30,8 +28,7 @@
                                        <pid>8</pid>
                                        <title>Link to file</title>
                                        <size>3066</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
+                                       <relations index="rels" type="array"></relations>
                                        <softrefs type="array">
                                                <softref_element index="bodytext:typolink_tag:00692883b4dd0879da87edac355a80c4:1" type="array">
                                                        <field>bodytext</field>
                                <field index="title">Content Image in RTE</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="tt_content:9" type="array">
                        <fieldlist index="data" type="array">
index 6babbbc..870d5ae 100644 (file)
                                        <pid>2</pid>
                                        <title>Pages Overlay Media</title>
                                        <size>1737</size>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                        <table index="pages_language_overlay" type="array">
@@ -36,8 +34,7 @@
                                                        <table>sys_language</table>
                                                </element>
                                        </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <softrefs type="array"></softrefs>
                                        <filerefs type="array">
                                                <file index="0">c350a838df6c4791dda258ed01cd72f1</file>
                                        </filerefs>
                                        <title>deutsch</title>
                                        <size>175</size>
                                        <relationLevel>1</relationLevel>
-                                       <relations index="rels" type="array">
-                                       </relations>
-                                       <softrefs type="array">
-                                       </softrefs>
+                                       <relations index="rels" type="array"></relations>
+                                       <softrefs type="array"></softrefs>
                                </rec>
                        </table>
                </records>
@@ -95,8 +90,7 @@
                                <field index="title">Pages Overlay Media</field>
                                <field index="doktype">1</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
                <tablerow index="pages_language_overlay:1" type="array">
                        <fieldlist index="data" type="array">
                                <field index="title">deutsch</field>
                                <field index="flag">de</field>
                        </fieldlist>
-                       <related index="rels" type="array">
-                       </related>
+                       <related index="rels" type="array"></related>
                </tablerow>
        </records>
        <files type="array">