@@ -74,10 +74,10 @@ public function dataConversionMatrix()
74
74
['test string ' , PropertyType::STRING , true , PropertyType::BOOLEAN ],
75
75
['false ' , PropertyType::STRING , true , PropertyType::BOOLEAN ],
76
76
['' , PropertyType::STRING , false , PropertyType::BOOLEAN ],
77
- // TODO: check NAME may not have spaces ['test string', PropertyType::STRING, null, PropertyType::NAME],
78
77
['test ' , PropertyType::STRING , 'test ' , PropertyType::NAME ],
79
- // TODO: check PATH may not have spaces ['test string ', PropertyType::STRING, null , PropertyType::PATH ],
78
+ ['test space ' , PropertyType::STRING , ' test space ' , PropertyType::NAME ],
80
79
['../the/node ' , PropertyType::STRING , '../the/node ' , PropertyType::PATH ],
80
+ ['../the space/node ' , PropertyType::STRING , '../the space/node ' , PropertyType::PATH ],
81
81
['38b7cf18-c417-477a-af0b-c1e92a290c9a ' , PropertyType::STRING , '38b7cf18-c417-477a-af0b-c1e92a290c9a ' , PropertyType::REFERENCE ],
82
82
// TODO: should we move UUIDHelper to phpcr so we can check in PropertyType? ['test string', PropertyType::STRING, null, PropertyType::REFERENCE],
83
83
['' , PropertyType::STRING , null , PropertyType::REFERENCE ],
@@ -93,9 +93,7 @@ public function dataConversionMatrix()
93
93
[$ stream , PropertyType::BINARY , null , PropertyType::DATE ],
94
94
[$ dateStream , PropertyType::BINARY , new DateTime ('17.12.2010 GMT ' ), PropertyType::DATE ],
95
95
[$ stream , PropertyType::BINARY , true , PropertyType::BOOLEAN ],
96
- // TODO: check NAME may not have spaces [$stream, PropertyType::BINARY, null, PropertyType::NAME],
97
96
[$ nameStream , PropertyType::BINARY , 'test ' , PropertyType::NAME ],
98
- // TODO: check PATH may not have spaces [$stream, PropertyType::BINARY, null, PropertyType::PATH],
99
97
// TODO: should we move UUIDHelper to phpcr so we can check in PropertyType? [$stream, PropertyType::STRING, null, PropertyType::REFERENCE],
100
98
[$ uuidStream , PropertyType::BINARY , '38b7cf18-c417-477a-af0b-c1e92a290c9a ' , PropertyType::REFERENCE ],
101
99
[$ stream , PropertyType::BINARY , 'test string ' , PropertyType::DECIMAL ], // up to the decimal functions to validate
0 commit comments