diff options
Diffstat (limited to 'tests/auto/qml/qqmlxmllistmodel/data/malformedData.qml')
-rw-r--r-- | tests/auto/qml/qqmlxmllistmodel/data/malformedData.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlxmllistmodel/data/malformedData.qml b/tests/auto/qml/qqmlxmllistmodel/data/malformedData.qml new file mode 100644 index 0000000000..092eaa0cdf --- /dev/null +++ b/tests/auto/qml/qqmlxmllistmodel/data/malformedData.qml @@ -0,0 +1,10 @@ +import QtQml.XmlListModel + +XmlListModel { + query: "/Pets/Pet" + + XmlListModelRole { name: "name"; elementName: "name" } + XmlListModelRole { name: "type"; elementName: "some/other/useful/tags/type" } + XmlListModelRole { name: "age"; elementName: "some/other/age"; attributeName: "value" } + XmlListModelRole { name: "size"; elementName: "some/size" } +}
\ No newline at end of file |