Hi,

consider the following situation:

module A {
  ...
  prefix a
  identity X;
  leaf foo {
    type identityref {
      base X;
    }
  }
}

module B {
  ...
  import A {
    prefix a;
  }
  leaf fooref {
    type leafref {
      path "/a:foo";
    }
  }
}

What is now a correct lexical form of fooref's value? Could it be just 'X', or 
is the prefix required, i.e. 'a:X'?

This is not very clear from RFC 7950 (sections 9.9.4 and 9.10.3). I am inclined 
to require the prefix.

Lada

-- 
Ladislav Lhotka 
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to