[YANGTOOLS-484] Unable to compile pattern defined in module when using Unicode blocks Created: 03/Aug/15 Updated: 10/Apr/22 Resolved: 18/Dec/15 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Martin Ciglan | Assignee: | Igor Foltin |
| 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: | 4079 |
| Description |
|
Given Yang snippet: type string { } evokes: [WARNING] Unable to compile pattern defined in module <name> at line <line>. Error message: Unknown character script name {BasicLatin} near index <column> ^(\p{IsBasicLatin} |\p {IsLatin-1Supplement})*$ Poblem comes from the fact that in the XML Schema specification, " [1], " [2]. [1] http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#nt-IsBlock This needs to be fixed. For time being, these are two possible workarounds: 1) |\p {InLatin-1Supplement})* 2) |
| Comments |
| Comment by Igor Foltin [ 27/Aug/15 ] |
|
Fix pushed: |