From 77984ce36f2bdbf82cd8d7b695556ce57df0a98e Mon Sep 17 00:00:00 2001 From: David Lichteblau Date: Sun, 11 Mar 2007 14:56:30 +0100 Subject: [PATCH] bei pass erstmal keinen fehler ausgeben --- TEST | 1072 +++++++++++++++++++++++++----------------------------------- parse.lisp | 2 +- 2 files changed, 452 insertions(+), 622 deletions(-) rewrite TEST (60%) diff --git a/TEST b/TEST dissimilarity index 60% index cf994cd..c2aca1f 100644 --- a/TEST +++ b/TEST @@ -1,621 +1,451 @@ -001: FAIL: didn't detect invalid schema -002: PASS: invalid schema: element not allowed here - [ Error at line 5, column 23 in # ] -003: PASS: invalid schema: define not allowed here - [ Error at line 5, column 22 in # ] -004: PASS: invalid schema: name not allowed here - [ Error at line 5, column 9 in # ] -005: PASS: invalid schema: name not allowed here - [ Error at line 6, column 11 in # ] -006: PASS: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -007: PASS: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -008: PASS: invalid schema: except not allowed here - [ Error at line 6, column 13 in # ] -009: FAIL: didn't detect invalid schema -010: FAIL: didn't detect invalid schema -011: PASS: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 6, column 5 in # ] -012: PASS: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 6, column 5 in # ] -013: PASS: invalid schema: notAllowed not allowed here - [ Error at line 7, column 17 in # ] -014: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -015: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -016: PASS: invalid schema: start not allowed here - [ Error at line 5, column 21 in # ] -017: PASS: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 7, column 3 in # ] -018: PASS: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -019: PASS: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -020: FAIL: didn't detect invalid schema -021: FAIL: didn't detect invalid schema -022: PASS: invalid schema: keyRef not allowed here - [ Error at line 5, column 22 in # ] -023: PASS: invalid schema: key not allowed here - [ Error at line 5, column 19 in # ] -024: PASS: empty element - [ Error at line 5, column 11 in # ] -025: PASS: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -026: PASS: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -027: PASS: invalid schema: attribute not allowed here - [ Error at line 5, column 15 in # ] -028: PASS: empty element - [ Error at line 5, column 11 in # ] -029: PASS: empty element - [ Error at line 5, column 16 in # ] -030: PASS: empty element - [ Error at line 5, column 12 in # ] -031: PASS: empty element - [ Error at line 5, column 14 in # ] -032: PASS: empty element - [ Error at line 5, column 16 in # ] -033: PASS: empty element - [ Error at line 5, column 15 in # ] -034: PASS: empty element - [ Error at line 5, column 10 in # ] -035: PASS: empty element - [ Error at line 5, column 11 in # ] -036: PASS: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -037: PASS: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -038: PASS: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -039: PASS: invalid schema: except not allowed here - [ Error at line 6, column 14 in # ] -040: FAIL: didn't detect invalid schema -041: PASS: invalid schema: param not allowed here - [ Error at line 6, column 13 in # ] -042: PASS: invalid schema: start not allowed here - [ Error at line 6, column 13 in # ] -043: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -044: PASS: missing URI - [ Error at line 5, column 17 in # ] -045: PASS: invalid schema: include not allowed here - [ Error at line 5, column 13 in # ] -046: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -047: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -048: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -049: PASS -050: PASS -051: PASS -052: PASS -053: FAIL: didn't detect invalid schema -054: PASS -055: PASS -056: FAIL: didn't detect invalid schema -057: FAIL: didn't detect invalid schema -058: FAIL: didn't detect invalid schema -059: PASS -060: FAIL: didn't detect invalid schema -061: FAIL: didn't detect invalid schema -062: FAIL: didn't detect invalid schema -063: FAIL: didn't detect invalid schema -064: PASS -065: PASS -066: PASS -067: FAIL: didn't detect invalid schema -068: FAIL: didn't detect invalid schema -069: PASS -070: FAIL: didn't detect invalid schema -071: FAIL: didn't detect invalid schema -072: PASS: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -073: FAIL: didn't detect invalid schema -074: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -075: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -076: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -077: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -078: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -079: FAIL: didn't detect invalid schema -080: FAIL: didn't detect invalid schema -081: FAIL: didn't detect invalid schema -082: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -083: PASS: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 7, column 5 in # ] -084: PASS: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -085: FAIL: didn't detect invalid schema -086: PASS: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -087: FAIL: incorrect condition type: unknown &KEY argument: :TYPE -088: PASS -089: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 6, column 5 in # ] -090: FAIL: invalid schema: start not allowed here - [ Error at line 7, column 10 in # ] -091: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 24 in # ] -092: FAIL: invalid schema: start not allowed here - [ Error at line 7, column 14 in # ] -093: FAIL: The value NIL is not of type STRING. -094: PASS -095: FAIL: unknown &KEY argument: :TYPE -096: PASS -097: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -098: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 57 in # ] -099: FAIL: unknown &KEY argument: :TYPE -100: PASS -101: FAIL: unknown &KEY argument: :POSSIBILITY -102: FAIL: didn't detect invalid schema -103: PASS -104: PASS -105: PASS: looping include - [ Error at line 4, column 68 in # ] -106: PASS: invalid schema: start not allowed here - [ Error at line 4, column 52 in # ] -107: PASS: looping include - [ Error at line 4, column 68 in # ] -108: FAIL: looping include - [ Error at line 4, column 72 in # ] -109: FAIL: invalid schema: include not allowed here - [ Error at line 5, column 22 in # ] -110: FAIL: invalid schema: include not allowed here - [ Error at line 5, column 50 in # ] -111: FAIL: invalid schema: include not allowed here - [ Error at line 5, column 22 in # ] -112: PASS: invalid schema: include not allowed here - [ Error at line 5, column 22 in # ] -113: PASS: invalid schema: include not allowed here - [ Error at line 5, column 22 in # ] -114: PASS: invalid schema: include not allowed here - [ Error at line 5, column 22 in # ] -115: FAIL: invalid schema: include not allowed here - [ Error at line 5, column 26 in # ] -116: PASS: invalid schema: include not allowed here - [ Error at line 5, column 21 in # ] -117: FAIL: invalid schema: include not allowed here - [ Error at line 5, column 22 in # ] -118: PASS: invalid schema: include not allowed here - [ Error at line 5, column 21 in # ] -119: FAIL: invalid schema: include not allowed here - [ Error at line 5, column 22 in # ] -120: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -121: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -122: PASS -123: PASS -124: FAIL: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -125: FAIL: unknown &KEY argument: :POSSIBILITY -126: FAIL: invalid schema: element not allowed here - [ Error at line 5, column 40 in # ] -127: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 82 in # ] -128: FAIL: invalid schema: attribute not allowed here - [ Error at line 5, column 42 in # ] -129: FAIL: didn't detect invalid schema -130: PASS -131: PASS -132: PASS -133: FAIL: invalid schema: div not allowed here - [ Error at line 5, column 36 in # ] -134: FAIL: invalid schema: start not allowed here - [ Error at line 6, column 8 in # ] -135: FAIL: unknown &KEY argument: :POSSIBILITY -136: FAIL: unknown &KEY argument: :POSSIBILITY -137: FAIL: unknown &KEY argument: :POSSIBILITY -138: FAIL: unknown &KEY argument: :TYPE -139: FAIL: unknown &KEY argument: :POSSIBILITY -140: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -141: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -142: FAIL: invalid schema: except not allowed here - [ Error at line 6, column 13 in # ] -143: PASS -144: FAIL: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -145: FAIL: unknown &KEY argument: :POSSIBILITY -146: FAIL: unknown &KEY argument: :POSSIBILITY -147: FAIL: unknown &KEY argument: :POSSIBILITY -148: FAIL: unknown &KEY argument: :POSSIBILITY -149: FAIL: unknown &KEY argument: :POSSIBILITY -150: FAIL: unknown &KEY argument: :POSSIBILITY -151: FAIL: unknown &KEY argument: :POSSIBILITY -152: FAIL: unknown &KEY argument: :POSSIBILITY -153: FAIL: unknown &KEY argument: :POSSIBILITY -154: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -155: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -156: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -157: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -158: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -159: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -160: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -161: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -162: PASS: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 7, column 3 in # ] -163: PASS -164: PASS: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 7, column 3 in # ] -165: PASS: invalid schema: notAllowed not allowed here - [ Error at line 6, column 18 in # ] -166: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -167: PASS: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 7, column 3 in # ] -168: PASS: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -169: PASS: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -170: PASS: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -171: PASS: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -172: PASS: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -173: PASS: invalid schema: attribute not allowed here - [ Error at line 6, column 16 in # ] -174: PASS: invalid schema: attribute not allowed here - [ Error at line 6, column 16 in # ] -175: PASS: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 7, column 3 in # ] -176: PASS -177: PASS: invalid schema: param not allowed here - [ Error at line 6, column 29 in # ] -178: FAIL: didn't detect invalid schema -179: FAIL: incorrect condition type: unknown &KEY argument: :TYPE -180: PASS: invalid schema: notAllowed not allowed here - [ Error at line 6, column 18 in # ] -181: PASS: invalid schema: notAllowed not allowed here - [ Error at line 6, column 18 in # ] -182: PASS: invalid schema: notAllowed not allowed here - [ Error at line 6, column 18 in # ] -183: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -184: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -185: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -186: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -187: PASS: invalid schema: start not allowed here - [ Error at line 5, column 17 in # ] -188: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -189: PASS: invalid schema: start not allowed here - [ Error at line 5, column 17 in # ] -190: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -191: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 25 in # ] -192: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -193: PASS: invalid schema: start not allowed here - [ Error at line 6, column 34 in # ] -194: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -195: FAIL: invalid schema: start not allowed here - [ Error at line 6, column 29 in # ] -196: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -197: PASS: invalid schema: start not allowed here - [ Error at line 6, column 17 in # ] -198: PASS: invalid schema: define not allowed here - [ Error at line 5, column 22 in # ] -199: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -200: PASS: invalid schema: notAllowed not allowed here - [ Error at line 9, column 18 in # ] -201: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -202: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -203: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -204: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -205: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -206: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -207: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -208: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -209: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -210: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -211: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -212: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -213: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -214: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -215: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -216: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -217: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -218: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -219: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -220: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -221: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -222: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -223: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -224: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -225: FAIL: unknown &KEY argument: :POSSIBILITY -226: FAIL: unknown &KEY argument: :POSSIBILITY -227: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 9, column 7 in # ] -228: FAIL: unknown &KEY argument: :POSSIBILITY -229: FAIL: unknown &KEY argument: :POSSIBILITY -230: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 8, column 5 in # ] -231: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 8, column 5 in # ] -232: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 8, column 5 in # ] -233: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 8, column 5 in # ] -234: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 11, column 5 in # ] -235: PASS -236: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 7, column 3 in # ] -237: FAIL: unknown &KEY argument: :POSSIBILITY -238: FAIL: unknown &KEY argument: :POSSIBILITY -239: FAIL: unknown &KEY argument: :POSSIBILITY -240: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 9, column 5 in # ] -241: PASS -242: FAIL: unknown &KEY argument: :POSSIBILITY -243: FAIL: unknown &KEY argument: :POSSIBILITY -244: FAIL: unknown &KEY argument: :POSSIBILITY -245: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 7, column 3 in # ] -246: FAIL: unknown &KEY argument: :POSSIBILITY -247: FAIL: unknown &KEY argument: :POSSIBILITY -248: FAIL: invalid schema: attribute not allowed here - [ Error at line 6, column 16 in # ] -249: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 9, column 7 in # ] -250: FAIL: unknown &KEY argument: :POSSIBILITY -251: FAIL: unknown &KEY argument: :POSSIBILITY -252: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 8, column 5 in # ] -253: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS - [ Error at line 11, column 5 in # ] -254: FAIL: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -255: FAIL: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -256: FAIL: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -257: FAIL: invalid schema: element not allowed here - [ Error at line 4, column 54 in # ] -258: FAIL: unknown &KEY argument: :TYPE -259: FAIL: unknown &KEY argument: :TYPE -260: FAIL: unknown &KEY argument: :POSSIBILITY -261: FAIL: invalid schema: param not allowed here - [ Error at line 6, column 28 in # ] -262: FAIL: unknown &KEY argument: :TYPE -263: FAIL: unknown &KEY argument: :TYPE -264: FAIL: invalid schema: except not allowed here - [ Error at line 6, column 13 in # ] -265: PASS -266: FAIL: unknown &KEY argument: :TYPE -267: FAIL: invalid schema: except not allowed here - [ Error at line 6, column 13 in # ] -268: PASS -269: PASS -270: FAIL: unknown &KEY argument: :TYPE -271: FAIL: unknown &KEY argument: :TYPE -272: FAIL: unknown &KEY argument: :TYPE -273: FAIL: unknown &KEY argument: :TYPE -274: FAIL: unknown &KEY argument: :TYPE -275: FAIL: unknown &KEY argument: :TYPE -276: FAIL: didn't detect invalid schema -277: FAIL: incorrect condition type: unknown &KEY argument: :TYPE -278: PASS: invalid schema: param not allowed here - [ Error at line 6, column 26 in # ] -279: PASS: invalid schema: param not allowed here - [ Error at line 6, column 26 in # ] -280: FAIL: unknown &KEY argument: :TYPE -281: FAIL: unknown &KEY argument: :TYPE -282: FAIL: unknown &KEY argument: :TYPE -283: FAIL: unknown &KEY argument: :POSSIBILITY -284: FAIL: unknown &KEY argument: :TYPE -285: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -286: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -287: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -288: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -289: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -290: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -291: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -292: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -293: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -294: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -295: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -296: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -297: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -298: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -299: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -300: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -301: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -302: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -303: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -304: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -305: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -306: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -307: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -308: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -309: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -310: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -311: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -312: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -313: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -314: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -315: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -316: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -317: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -318: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -319: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -320: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -321: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -322: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -323: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -324: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -325: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -326: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -327: PASS: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -328: FAIL: invalid schema: start not allowed here - [ Error at line 6, column 12 in # ] -329: FAIL: didn't detect invalid schema -330: FAIL: invalid schema: notAllowed not allowed here - [ Error at line 8, column 22 in # ] -331: FAIL: invalid schema: notAllowed not allowed here - [ Error at line 9, column 22 in # ] -332: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -333: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -334: FAIL: invalid schema: notAllowed not allowed here - [ Error at line 9, column 24 in # ] -335: PASS: invalid schema: start not allowed here - [ Error at line 5, column 10 in # ] -336: FAIL: invalid schema: notAllowed not allowed here - [ Error at line 9, column 18 in # ] -337: PASS: invalid schema: notAllowed not allowed here - [ Error at line 8, column 22 in # ] -338: FAIL: didn't detect invalid schema -339: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY -340: FAIL: unknown &KEY argument: :POSSIBILITY -341: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY -342: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY -343: PASS: invalid schema: attribute not allowed here - [ Error at line 7, column 16 in # ] -344: PASS: invalid schema: attribute not allowed here - [ Error at line 7, column 16 in # ] -345: FAIL: invalid schema: attribute not allowed here - [ Error at line 7, column 16 in # ] -346: PASS: invalid schema: attribute not allowed here - [ Error at line 7, column 16 in # ] -347: PASS: invalid schema: attribute not allowed here - [ Error at line 7, column 16 in # ] -348: PASS: invalid schema: attribute not allowed here - [ Error at line 6, column 16 in # ] -349: PASS: invalid schema: attribute not allowed here - [ Error at line 6, column 16 in # ] -350: PASS: invalid schema: attribute not allowed here - [ Error at line 6, column 16 in # ] -351: PASS: invalid schema: attribute not allowed here - [ Error at line 6, column 16 in # ] -352: PASS: invalid schema: attribute not allowed here - [ Error at line 6, column 16 in # ] -353: FAIL: invalid schema: attribute not allowed here - [ Error at line 6, column 16 in # ] -354: FAIL: invalid schema: attribute not allowed here - [ Error at line 6, column 16 in # ] -355: FAIL: unknown &KEY argument: :POSSIBILITY -356: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY -357: PASS: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -358: PASS: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -359: PASS: invalid schema: attribute not allowed here - [ Error at line 5, column 14 in # ] -360: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY -361: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY -362: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY -363: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY -364: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY -365: PASS: invalid schema: element not allowed here - [ Error at line 9, column 14 in # ] -366: PASS: invalid schema: element not allowed here - [ Error at line 9, column 14 in # ] -367: PASS: invalid schema: notAllowed not allowed here - [ Error at line 10, column 20 in # ] -368: FAIL: invalid schema: element not allowed here - [ Error at line 9, column 14 in # ] -369: FAIL: unknown &KEY argument: :POSSIBILITY -370: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY -371: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY -372: FAIL: invalid schema: start not allowed here - [ Error at line 5, column 8 in # ] -373: FAIL: invalid schema: notAllowed not allowed here - [ Error at line 4, column 58 in # ] -Passed 200/373 tests. +001: FAIL: didn't detect invalid schema +002: PASS: # +003: PASS: # +004: PASS: # +005: PASS: # +006: PASS: # +007: PASS: # +008: PASS: # +009: FAIL: didn't detect invalid schema +010: FAIL: didn't detect invalid schema +011: PASS: # +012: PASS: # +013: PASS: # +014: PASS: # +015: PASS: # +016: PASS: # +017: PASS: # +018: PASS: # +019: PASS: # +020: FAIL: didn't detect invalid schema +021: FAIL: didn't detect invalid schema +022: PASS: # +023: PASS: # +024: PASS: # +025: PASS: # +026: PASS: # +027: PASS: # +028: PASS: # +029: PASS: # +030: PASS: # +031: PASS: # +032: PASS: # +033: PASS: # +034: PASS: # +035: PASS: # +036: PASS: # +037: PASS: # +038: PASS: # +039: PASS: # +040: FAIL: didn't detect invalid schema +041: PASS: # +042: PASS: # +043: PASS: # +044: PASS: # +045: PASS: # +046: PASS: # +047: PASS: # +048: PASS: # +049: PASS +050: PASS +051: PASS +052: PASS +053: FAIL: didn't detect invalid schema +054: PASS +055: PASS +056: FAIL: didn't detect invalid schema +057: FAIL: didn't detect invalid schema +058: FAIL: didn't detect invalid schema +059: PASS +060: FAIL: didn't detect invalid schema +061: FAIL: didn't detect invalid schema +062: FAIL: didn't detect invalid schema +063: FAIL: didn't detect invalid schema +064: PASS +065: PASS +066: PASS +067: FAIL: didn't detect invalid schema +068: FAIL: didn't detect invalid schema +069: PASS +070: FAIL: didn't detect invalid schema +071: FAIL: didn't detect invalid schema +072: PASS: # +073: FAIL: didn't detect invalid schema +074: PASS: # +075: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 10 in # ] +076: PASS: # +077: PASS: # +078: PASS: # +079: FAIL: didn't detect invalid schema +080: FAIL: didn't detect invalid schema +081: FAIL: didn't detect invalid schema +082: PASS: # +083: PASS: # +084: PASS: # +085: FAIL: didn't detect invalid schema +086: PASS: # +087: FAIL: incorrect condition type: unknown &KEY argument: :TYPE +088: PASS +089: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS + [ Error at line 6, column 5 in # ] +090: FAIL: invalid schema: start not allowed here + [ Error at line 7, column 10 in # ] +091: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 24 in # ] +092: FAIL: invalid schema: start not allowed here + [ Error at line 7, column 14 in # ] +093: FAIL: The value NIL is not of type STRING. +094: PASS +095: FAIL: unknown &KEY argument: :TYPE +096: PASS +097: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +098: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 57 in # ] +099: FAIL: unknown &KEY argument: :TYPE +100: PASS +101: FAIL: unknown &KEY argument: :POSSIBILITY +102: FAIL: didn't detect invalid schema +103: PASS +104: PASS +105: PASS: # +106: PASS: # +107: PASS: # +108: FAIL: looping include + [ Error at line 4, column 72 in # ] +109: FAIL: invalid schema: include not allowed here + [ Error at line 5, column 22 in # ] +110: FAIL: invalid schema: include not allowed here + [ Error at line 5, column 50 in # ] +111: FAIL: invalid schema: include not allowed here + [ Error at line 5, column 22 in # ] +112: PASS: # +113: PASS: # +114: PASS: # +115: FAIL: invalid schema: include not allowed here + [ Error at line 5, column 26 in # ] +116: PASS: # +117: FAIL: invalid schema: include not allowed here + [ Error at line 5, column 22 in # ] +118: PASS: # +119: FAIL: invalid schema: include not allowed here + [ Error at line 5, column 22 in # ] +120: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 10 in # ] +121: PASS: # +122: PASS +123: PASS +124: FAIL: invalid schema: attribute not allowed here + [ Error at line 5, column 14 in # ] +125: FAIL: unknown &KEY argument: :POSSIBILITY +126: FAIL: invalid schema: element not allowed here + [ Error at line 5, column 40 in # ] +127: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 82 in # ] +128: FAIL: invalid schema: attribute not allowed here + [ Error at line 5, column 42 in # ] +129: FAIL: didn't detect invalid schema +130: PASS +131: PASS +132: PASS +133: FAIL: invalid schema: div not allowed here + [ Error at line 5, column 36 in # ] +134: FAIL: invalid schema: start not allowed here + [ Error at line 6, column 8 in # ] +135: FAIL: unknown &KEY argument: :POSSIBILITY +136: FAIL: unknown &KEY argument: :POSSIBILITY +137: FAIL: unknown &KEY argument: :POSSIBILITY +138: FAIL: unknown &KEY argument: :TYPE +139: FAIL: unknown &KEY argument: :POSSIBILITY +140: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +141: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +142: FAIL: invalid schema: except not allowed here + [ Error at line 6, column 13 in # ] +143: PASS +144: FAIL: invalid schema: attribute not allowed here + [ Error at line 5, column 14 in # ] +145: FAIL: unknown &KEY argument: :POSSIBILITY +146: FAIL: unknown &KEY argument: :POSSIBILITY +147: FAIL: unknown &KEY argument: :POSSIBILITY +148: FAIL: unknown &KEY argument: :POSSIBILITY +149: FAIL: unknown &KEY argument: :POSSIBILITY +150: FAIL: unknown &KEY argument: :POSSIBILITY +151: FAIL: unknown &KEY argument: :POSSIBILITY +152: FAIL: unknown &KEY argument: :POSSIBILITY +153: FAIL: unknown &KEY argument: :POSSIBILITY +154: PASS: # +155: PASS: # +156: PASS: # +157: PASS: # +158: PASS: # +159: PASS: # +160: PASS: # +161: PASS: # +162: PASS: # +163: PASS +164: PASS: # +165: PASS: # +166: PASS: # +167: PASS: # +168: PASS: # +169: PASS: # +170: PASS: # +171: PASS: # +172: PASS: # +173: PASS: # +174: PASS: # +175: PASS: # +176: PASS +177: PASS: # +178: FAIL: didn't detect invalid schema +179: FAIL: incorrect condition type: unknown &KEY argument: :TYPE +180: PASS: # +181: PASS: # +182: PASS: # +183: PASS: # +184: PASS: # +185: PASS: # +186: PASS: # +187: PASS: # +188: PASS: # +189: PASS: # +190: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 8 in # ] +191: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 25 in # ] +192: PASS: # +193: PASS: # +194: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 8 in # ] +195: FAIL: invalid schema: start not allowed here + [ Error at line 6, column 29 in # ] +196: PASS: # +197: PASS: # +198: PASS: # +199: PASS: # +200: PASS: # +201: PASS: # +202: PASS: # +203: PASS: # +204: PASS: # +205: PASS: # +206: PASS: # +207: PASS: # +208: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 10 in # ] +209: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 10 in # ] +210: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 10 in # ] +211: PASS: # +212: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 10 in # ] +213: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 10 in # ] +214: PASS: # +215: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +216: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +217: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +218: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +219: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +220: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +221: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +222: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +223: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +224: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +225: FAIL: unknown &KEY argument: :POSSIBILITY +226: FAIL: unknown &KEY argument: :POSSIBILITY +227: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS + [ Error at line 9, column 7 in # ] +228: FAIL: unknown &KEY argument: :POSSIBILITY +229: FAIL: unknown &KEY argument: :POSSIBILITY +230: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS + [ Error at line 8, column 5 in # ] +231: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS + [ Error at line 8, column 5 in # ] +232: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS + [ Error at line 8, column 5 in # ] +233: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS + [ Error at line 8, column 5 in # ] +234: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS + [ Error at line 11, column 5 in # ] +235: PASS +236: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS + [ Error at line 7, column 3 in # ] +237: FAIL: unknown &KEY argument: :POSSIBILITY +238: FAIL: unknown &KEY argument: :POSSIBILITY +239: FAIL: unknown &KEY argument: :POSSIBILITY +240: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS + [ Error at line 9, column 5 in # ] +241: PASS +242: FAIL: unknown &KEY argument: :POSSIBILITY +243: FAIL: unknown &KEY argument: :POSSIBILITY +244: FAIL: unknown &KEY argument: :POSSIBILITY +245: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS + [ Error at line 7, column 3 in # ] +246: FAIL: unknown &KEY argument: :POSSIBILITY +247: FAIL: unknown &KEY argument: :POSSIBILITY +248: FAIL: invalid schema: attribute not allowed here + [ Error at line 6, column 16 in # ] +249: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS + [ Error at line 9, column 7 in # ] +250: FAIL: unknown &KEY argument: :POSSIBILITY +251: FAIL: unknown &KEY argument: :POSSIBILITY +252: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS + [ Error at line 8, column 5 in # ] +253: FAIL: Cannot parse schema: Klacks assertion failed: expected END-ELEMENT but got CHARACTERS + [ Error at line 11, column 5 in # ] +254: FAIL: invalid schema: attribute not allowed here + [ Error at line 5, column 14 in # ] +255: FAIL: invalid schema: attribute not allowed here + [ Error at line 5, column 14 in # ] +256: FAIL: invalid schema: attribute not allowed here + [ Error at line 5, column 14 in # ] +257: FAIL: invalid schema: element not allowed here + [ Error at line 4, column 54 in # ] +258: FAIL: unknown &KEY argument: :TYPE +259: FAIL: unknown &KEY argument: :TYPE +260: FAIL: unknown &KEY argument: :POSSIBILITY +261: FAIL: invalid schema: param not allowed here + [ Error at line 6, column 28 in # ] +262: FAIL: unknown &KEY argument: :TYPE +263: FAIL: unknown &KEY argument: :TYPE +264: FAIL: invalid schema: except not allowed here + [ Error at line 6, column 13 in # ] +265: PASS +266: FAIL: unknown &KEY argument: :TYPE +267: FAIL: invalid schema: except not allowed here + [ Error at line 6, column 13 in # ] +268: PASS +269: PASS +270: FAIL: unknown &KEY argument: :TYPE +271: FAIL: unknown &KEY argument: :TYPE +272: FAIL: unknown &KEY argument: :TYPE +273: FAIL: unknown &KEY argument: :TYPE +274: FAIL: unknown &KEY argument: :TYPE +275: FAIL: unknown &KEY argument: :TYPE +276: FAIL: didn't detect invalid schema +277: FAIL: incorrect condition type: unknown &KEY argument: :TYPE +278: PASS: # +279: PASS: # +280: FAIL: unknown &KEY argument: :TYPE +281: FAIL: unknown &KEY argument: :TYPE +282: FAIL: unknown &KEY argument: :TYPE +283: FAIL: unknown &KEY argument: :POSSIBILITY +284: FAIL: unknown &KEY argument: :TYPE +285: PASS: # +286: PASS: # +287: PASS: # +288: PASS: # +289: PASS: # +290: PASS: # +291: PASS: # +292: PASS: # +293: PASS: # +294: PASS: # +295: PASS: # +296: PASS: # +297: PASS: # +298: PASS: # +299: PASS: # +300: PASS: # +301: PASS: # +302: PASS: # +303: PASS: # +304: PASS: # +305: PASS: # +306: PASS: # +307: PASS: # +308: PASS: # +309: PASS: # +310: PASS: # +311: PASS: # +312: PASS: # +313: PASS: # +314: PASS: # +315: PASS: # +316: PASS: # +317: PASS: # +318: PASS: # +319: PASS: # +320: PASS: # +321: PASS: # +322: PASS: # +323: PASS: # +324: PASS: # +325: PASS: # +326: PASS: # +327: PASS: # +328: FAIL: invalid schema: start not allowed here + [ Error at line 6, column 12 in # ] +329: FAIL: didn't detect invalid schema +330: FAIL: invalid schema: notAllowed not allowed here + [ Error at line 8, column 22 in # ] +331: FAIL: invalid schema: notAllowed not allowed here + [ Error at line 9, column 22 in # ] +332: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 8 in # ] +333: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 8 in # ] +334: FAIL: invalid schema: notAllowed not allowed here + [ Error at line 9, column 24 in # ] +335: PASS: # +336: FAIL: invalid schema: notAllowed not allowed here + [ Error at line 9, column 18 in # ] +337: PASS: # +338: FAIL: didn't detect invalid schema +339: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY +340: FAIL: unknown &KEY argument: :POSSIBILITY +341: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY +342: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY +343: PASS: # +344: PASS: # +345: FAIL: invalid schema: attribute not allowed here + [ Error at line 7, column 16 in # ] +346: PASS: # +347: PASS: # +348: PASS: # +349: PASS: # +350: PASS: # +351: PASS: # +352: PASS: # +353: FAIL: invalid schema: attribute not allowed here + [ Error at line 6, column 16 in # ] +354: FAIL: invalid schema: attribute not allowed here + [ Error at line 6, column 16 in # ] +355: FAIL: unknown &KEY argument: :POSSIBILITY +356: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY +357: PASS: # +358: PASS: # +359: PASS: # +360: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY +361: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY +362: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY +363: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY +364: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY +365: PASS: # +366: PASS: # +367: PASS: # +368: FAIL: invalid schema: element not allowed here + [ Error at line 9, column 14 in # ] +369: FAIL: unknown &KEY argument: :POSSIBILITY +370: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY +371: FAIL: incorrect condition type: unknown &KEY argument: :POSSIBILITY +372: FAIL: invalid schema: start not allowed here + [ Error at line 5, column 8 in # ] +373: FAIL: invalid schema: notAllowed not allowed here + [ Error at line 4, column 58 in # ] +Passed 200/373 tests. diff --git a/parse.lisp b/parse.lisp index 24dd26d..6d236ac 100644 --- a/parse.lisp +++ b/parse.lisp @@ -598,7 +598,7 @@ (format t " FAIL: didn't detect invalid schema~%") nil) (rng-error (c) - (format t " PASS: ~A~%" c) + (format t " PASS: ~S~%" c) t) (error (c) (format t " FAIL: incorrect condition type: ~A~%" c) -- 2.11.4.GIT