Skip to content

Commit a381562

Browse files
committed
adding ; as another nasty character
1 parent d2f5a42 commit a381562

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

fixtures/05_Reading/encoding.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@
4343
<sv:value>nt:unstructured</sv:value>
4444
</sv:property>
4545
</sv:node>
46+
<sv:node sv:name="node-;-x">
47+
<sv:property sv:name="jcr:primaryType" sv:type="Name">
48+
<sv:value>nt:unstructured</sv:value>
49+
</sv:property>
50+
</sv:node>
4651
<sv:node sv:name="node-ç-x">
4752
<sv:property sv:name="jcr:primaryType" sv:type="Name">
4853
<sv:value>nt:unstructured</sv:value>

tests/05_Reading/EncodingTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public static function getNodeNames()
4141
array("node-ï-x"),
4242
array("node-%-x"),
4343
array("node-%2F-x"),
44+
array("node-;-x"),
4445
array("node- -x"),
4546
array("node-ç-x"),
4647
array("node-&-x"),

tests/10_Writing/EncodingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
class EncodingTest extends \PHPCR\Test\BaseCase
1111
{
12-
1312
static public function setupBeforeClass($fixtures = '10_Writing/encoding')
1413
{
1514
parent::setupBeforeClass($fixtures);
@@ -45,6 +44,7 @@ public static function getNodeNames()
4544
array("node-ï-x"),
4645
array("node-%-x"),
4746
array("node-%2F-x"),
47+
array("node-;-x"),
4848
array("node- -x"),
4949
array("node-ç-x"),
5050
array("node-&-x"),

0 commit comments

Comments
 (0)