marvin-zhao / pyang

Automatically exported from code.google.com/p/pyang
0 stars 0 forks source link

DSDL: Schematron assert for unique is wrong #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reported by James Piper:

We think there is a bug in the pyang handling of the unique statement: 

preceding-sibling::n:host[n:hostname != current()/n:hostname]

does not seem to work. 

We think it should read:

count(preceding-sibling::n:host[n:hostname = current()/n:hostname])=0

Original issue reported on code.google.com by lada.lho...@gmail.com on 10 Dec 2008 at 10:18

GoogleCodeExporter commented 9 years ago

Original comment by lada.lho...@gmail.com on 27 Apr 2009 at 1:31