diff --git a/tests/PhpCompatibility/schema1017.phpt b/tests/PhpCompatibility/schema1017.phpt
new file mode 100644
index 0000000..f6d3f47
--- /dev/null
+++ b/tests/PhpCompatibility/schema1017.phpt
@@ -0,0 +1,31 @@
+--TEST--
+SOAP XML Schema 1017: Repeating group ref around a choice exposes members as optional unbounded lists
+--FILE--
+
+
+
+
+
+
+
+
+
+
+
+
+EOF;
+test_schema($schema,'type="tns:Message"');
+?>
+--EXPECT--
+Methods:
+ > test(Message $testParam): void
+
+Types:
+ > http://test-uri/:Message {
+ ?string $transactionId
+ array, string> $delete
+ array, string> $write
+ }