Commit a46a6d7
committed
buildmetadata: relax consistency checks with --lax
In various places the metadata does not comply with the schema
associated with the XML, so relax the checks for this.
Examples:
- Some number descriptions have no required possibleLengths
element (example: GE.noInternationalDialling).
- Some number descriptions have no required exampleNumber
element (example: MC.noInternationalDialling).
- Some number descriptions have no required nationalNumberPattern
element (example: testdata.BB.fixedLine).
- Some generalDesc number descriptions have an exampleNumber element
which isn't in the schema (example: testdata.AM.generalDesc).
Control this with --lax, with the aim that the --lax flag can be
removed for the real metadat in future. (It will probably still
be required for the test metadata.)1 parent 8925155 commit a46a6d7
2 files changed
Lines changed: 22 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
334 | 337 | | |
335 | 338 | | |
336 | 339 | | |
337 | | - | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
338 | 345 | | |
339 | 346 | | |
340 | 347 | | |
| |||
346 | 353 | | |
347 | 354 | | |
348 | 355 | | |
349 | | - | |
| 356 | + | |
350 | 357 | | |
351 | 358 | | |
352 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
353 | 363 | | |
354 | 364 | | |
355 | 365 | | |
356 | 366 | | |
357 | | - | |
| 367 | + | |
358 | 368 | | |
359 | 369 | | |
360 | 370 | | |
| |||
677 | 687 | | |
678 | 688 | | |
679 | 689 | | |
680 | | - | |
| 690 | + | |
681 | 691 | | |
682 | 692 | | |
683 | 693 | | |
| |||
687 | 697 | | |
688 | 698 | | |
689 | 699 | | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
690 | 703 | | |
691 | 704 | | |
692 | 705 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | | - | |
| 51 | + | |
51 | 52 | | |
52 | | - | |
| 53 | + | |
53 | 54 | | |
54 | | - | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
0 commit comments