[augeas-devel] [Augeas] #285: Type error accessing seq nodes via context

Augeas trac at fedorahosted.org
Sun Jul 1 18:59:18 UTC 2012


#285: Type error accessing seq nodes via context
-----------------------+----------------------
  Reporter:  domcleal  |      Owner:  domcleal
      Type:  defect    |     Status:  closed
  Priority:  major     |  Milestone:  next
 Component:  Augeas    |    Version:  0.10.0
Resolution:  wontfix   |   Keywords:  context
Blocked By:            |   Blocking:
-----------------------+----------------------
Changes (by domcleal):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 pathx.c already describes the problem and how to workaround it:

 {{{
  * The grammar is ambiguous here: the expression '42' can either be the
  * number 42 (a PrimaryExpr) or the RelativeLocationPath 'child::42'. The
  * reason for this ambiguity is that we allow node names like '42' in the
  * tree; rather than forbid them, we resolve the ambiguity by always
  * parsing '42' as a number, and requiring that the user write the
  * RelativeLocationPath in a different form, e.g. 'child::42' or './42'.
 }}}

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/285#comment:1>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list