Commit 844f341
committed
Low: libcib: Move CIB op input transformation to ops that need it
I've been testing full-CIB replacements and encountered some problems
due to the early input transformation (currently in get_op_input()),
particularly with XPath. When we're treating the section string as an
XPath expression, it doesn't make sense to try to find it as an element
of input. (That is, unless we want to do an XPath search, which we can
think about if necessary.)
This moves the input transformation to the operations that need it, and
performs it only when NOT treating the section as XPath.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>1 parent fd059dc commit 844f341
2 files changed
Lines changed: 20 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
| 303 | + | |
| 304 | + | |
311 | 305 | | |
312 | 306 | | |
313 | | - | |
314 | | - | |
315 | 307 | | |
316 | 308 | | |
317 | 309 | | |
318 | 310 | | |
319 | 311 | | |
320 | | - | |
321 | | - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
322 | 316 | | |
323 | 317 | | |
324 | 318 | | |
| |||
446 | 440 | | |
447 | 441 | | |
448 | 442 | | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
449 | 447 | | |
450 | 448 | | |
451 | 449 | | |
| |||
556 | 554 | | |
557 | 555 | | |
558 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
559 | 561 | | |
560 | 562 | | |
561 | 563 | | |
| |||
875 | 877 | | |
876 | 878 | | |
877 | 879 | | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
878 | 884 | | |
879 | 885 | | |
880 | 886 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | 183 | | |
185 | 184 | | |
186 | | - | |
187 | 185 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
| 186 | + | |
193 | 187 | | |
194 | 188 | | |
195 | 189 | | |
| |||
0 commit comments