Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | There is still a bit work left to do in checkElementEnd. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | wip |
Files: | files | file ages | folders |
SHA3-256: |
7f5d9b26dbe4c796e93d51ae0cfe9fda |
User & Date: | rolf 2020-05-11 00:27:51 |
Context
2020-05-14
| ||
23:12 | There is still a bit work left to do in checkElementEnd. check-in: 9f3926e748 user: rolf tags: schema | |
2020-05-13
| ||
22:47 | Save work. check-in: 23e2b27004 user: rolf tags: wip | |
2020-05-11
| ||
00:27 | There is still a bit work left to do in checkElementEnd. check-in: 7f5d9b26db user: rolf tags: wip | |
2020-05-02
| ||
00:51 | Merged from schema. check-in: c3fc68e0e2 user: rolf tags: wip | |
Changes
Changes to tests/schema.test.
6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 |
<doc><b/><d/></doc> <doc><c/><d/></doc> <doc><a/><c/><d/></doc> <doc><b/><c/><d/></doc> <doc><c/><a/><d/></doc> <doc><c/><a/><b/><d/></doc> <doc><c/><a/><b/></doc> } { lappend result [s validate $xml] } s delete set result } {0 1 1 1 1 1 1 1 0} test schema-17.1 {info} { tdom::schema s s define { foreach e {a b1 b11 b2 c} { defelement $e {} } |
> | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > |
6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 |
<doc><b/><d/></doc> <doc><c/><d/></doc> <doc><a/><c/><d/></doc> <doc><b/><c/><d/></doc> <doc><c/><a/><d/></doc> <doc><c/><a/><b/><d/></doc> <doc><c/><a/><b/></doc> <doc><d/></doc> } { lappend result [s validate $xml] } s delete set result } {0 1 1 1 1 1 1 1 0 1} test schema-16.18 {interleave with all content cp optional} { tdom::schema s s defelement doc { interleave { element a ? element b ? choice { element c ? element c1 ? element c2 ? } } } set result [list] foreach xml { <doc/> <doc><a/></doc> <doc><b/></doc> <doc><c/></doc> <doc><a/><c/></doc> <doc><b/><c/></doc> <doc><c/><a/></doc> <doc><c/><a/><b/><d/></doc> <doc><c/><a/><b/></doc> } { lappend result [s validate $xml] } s delete set result } {1 1 1 1 1 1 1 0 1} test schema-17.1 {info} { tdom::schema s s define { foreach e {a b1 b11 b2 c} { defelement $e {} } |