Details
-
Bug
-
Status: Resolved
-
Medium
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Using a simple model:
typedef def {
type string {
pattern "a|b";
}
}
container foo {
leaf foo {
type def {
pattern "a";
}
}
}
container bar {
leaf bar {
type string {
pattern "a";
}
}
}
results in 'pattern "a"' not being enforced. Notably the builder for 'bar' ends up generating a empty length checker.
Attachments
Issue Links
- duplicates
-
MDSAL-292 Pattern attribute ignored for leaf-list/leaf
- Resolved