[YANGTOOLS-317] Generated types fail to validate string patterns Created: 18/Sep/14  Updated: 10/Apr/22  Resolved: 20/Feb/15

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks OVSDB-132 ArpResponderService.programStaticArpE... Resolved
blocks OVSDB-141 Helium SR2 is missing the openflow me... Resolved
External issue ID: 1953

 Description   

The following yang snippet:

typedef foo {
type string;
pattern "[ab]*";
}

Results in correct pattern being recorded in the generated class, but that pattern is never used to enforce correct string format.



 Comments   
Comment by Robert Varga [ 18/Sep/14 ]

https://git.opendaylight.org/gerrit/#/c/11319/

Comment by Robert Varga [ 25/Nov/14 ]

Related fixes:
https://git.opendaylight.org/gerrit/#/c/11383/
https://git.opendaylight.org/gerrit/#/c/11384/
https://git.opendaylight.org/gerrit/#/c/13111/

Generated at Wed Feb 07 20:52:52 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.