[YANGTOOLS-326] Missing check during transformation of yang type pattern substatment Created: 22/Sep/14 Updated: 10/Apr/22 Resolved: 22/Sep/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Lukas Sedlak | Assignee: | Lukas Sedlak |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 2022 |
| Description |
|
Currently the transformation of yang type pattern substatement is done adhoc which is dangerour especially in situations where pattern in yang model would be unable co compile in java. For this reason there is need for improvement that will wrap yang pattern string between special chars ^<pattern>$ and check if the pattern is correct. |
| Comments |
| Comment by Lukas Sedlak [ 22/Sep/14 ] |