#133: Put ambiguity not raised
------------------------+---------------------------------------------------
Reporter: fgiraldeau | Owner: lutter
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: 0.7.0
Keywords: |
------------------------+---------------------------------------------------
In the attached lens, I was expecting a put ambiguity between lens
"section" and "directive". Here is the atype of the resulting lens :
<<rec:({ /[0-9A-Z_a-z]+/ } | { } | { /Directory/ } | { /DirectoryMatch/ }
| { /Files/ } | { /FilesMatch/ } | { /Location/ } | { /LocationMatch/ } |
{ /AuthnProviderAlias/ } | { /IfDefine/ } | { /IfVersion/ } | { /Limit/ }
| { /LimitExcept/ } | { /Proxy/ } | { /ProxyMatch/ } | { /VirtualHost/ } |
{ /IfModule/ })*>>
Obviously, the node { /[0-9A-Z_a-z]+/ } matches { /Directory/ } and
following others, and since they are two distinct lenses, I would have
expected a put ambiguity.
The lens is a sligtly modified version of the original httpd.aug lens,
only to remove the "<" in key section names.
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/133>
Augeas <http://augeas.net/>
a configuration API
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel