[augeas-devel] Recursive lens and "malformed node" error in put direction

Raphaël Pinson raphink at gmail.com
Tue Feb 15 10:27:54 UTC 2011


Hi,

Here is some more debug, depending on the definition of lns.


+------------------------------+--------------------------+
|       let lns =              |    save error            |
+------------------------------+--------------------------+
| ( empty | comment | entry    |                          |
|         | include | clear )* | Malformed child node     |
+------------------------------+--------------------------+
| entry                        | No error                 |
+------------------------------+--------------------------+
| entry*                       | Malformed child node     |
+------------------------------+--------------------------+
| empty | entry                | None of the alternatives |
|                              | in the union match       |
+------------------------------+--------------------------+
| comment | entry              | None of the alternatives |
|                              | in the union match       |
+------------------------------+--------------------------+


The save goes for any union between entry and another lens.


Raphaël




More information about the augeas-devel mailing list