mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
✅ N°8440 XML assembly failing when a file name contains a quote
This commit is contained in:
@@ -2135,6 +2135,25 @@ XML
|
||||
</nodeA>
|
||||
</root>',
|
||||
],
|
||||
'N°8440 Quotes are allowed in ids' => [
|
||||
'sInitialXML' => <<<XML
|
||||
<nodeA>
|
||||
<nodeB id="I'm happy"/>
|
||||
</nodeA>
|
||||
XML
|
||||
,
|
||||
'sDeltaXML' => <<<XML
|
||||
<nodeA>
|
||||
<nodeB id="I'm happy" _delta="redefine"/>
|
||||
<nodeB id="I'm happy" _delta="delete"/>
|
||||
</nodeA>
|
||||
XML
|
||||
,
|
||||
'sExpectedXML' => <<<XML
|
||||
<nodeA/>
|
||||
XML
|
||||
,
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user