§12.1c Part-21 grammar

Part-21 grammar pathologies: malformed tokens, structural defects in DATA section, illegal references.

51 entries

IDTitleProvenanceExpected validation
In001Model marked Loaded without entities; load skipped silentlyruntime-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
In002Load-time warning vs data-content warning: severity confusionruntime-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
In003A "Mend" demotes a Fail to a Warning, hiding the original failure (e.g., B_SPLINE_CURVE_WITH_KNOTS with wrong knot count auto-fixed)runtime-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
In011Reader exception swallowed (entity bound to null) when B_SPLINE control points use extreme-magnitude or subnormal coordinates (1.0E+308 / 5.0E-324)runtime-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
In012Transfer watchdog fires: dependency cycle in entity referencesruntime-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
In013Transfer Status remains Void after Defined was expected: unknown entity type in DATA section silently skipped (e.g., made-up future-schema entity)runtime-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
In014`LoadONBrep` virtual-dispatch fall-through umbrella (BRL-CAD step-g)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls001REAL literal missing mandatory decimal pointbytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ls002REAL literal with no digit before the decimal pointbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls003Lower-case `e` exponent or whitespace around exponentbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls004Fortran-style `D` exponent (`1.0D5`)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls005Explicit positive sign on numeric literal (`+1.0`)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls006Numeric literal with embedded underscore digit-groupingbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls008Float literal with extreme exponent / non-finite realbytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ls009Integer literal with hex/octal formsbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls010Complex / multiple-inheritance entity record: non-alphabetic leaf orderingbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls013Empty parameter list `()` versus typed empty parameterbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls014Untyped (`*`) attribute used where derived not declared / `$` confused with `*`bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls015Missing comma between attribute valuesbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls016Double comma / empty parameter slotbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls017Trailing comma at end of aggregatebytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls018Two consecutive semicolons (`;;`) after instancebytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls019Missing closing `)` of an aggregate (paren imbalance)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls020Trailing semicolon after `ENDSEC` missingbytes-sufficientocct=reject/reject gmsh=reject ifc=schema_n/a
Ls023Missing or malformed opening magic line `ISO-10303-21;`bytes-sufficientocct=reject/reject gmsh=reject ifc=reject
Ls024Tail garbage after end markerbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls027Legacy SCOPE/ENDSCOPE blocks (Edition 1) and EXPORT listsbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls029Comment terminator absent — runs through EOFbytes-sufficientocct=reject/reject gmsh=reject ifc=reject
Ls030Apostrophe inside `/* .. */` comment misread as string delimiterbytes-sufficientocct=reject/reject gmsh=reject ifc=reject
Ls031Forward-slash inside `/* .. */` comment treated as nested-comment openbytes-sufficientocct=reject/reject gmsh=reject ifc=reject
Ls032Comment longer than implementation bufferbytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ls033Whitespace handling: tab/CR/LF/FF as token separators or ignored charsbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls034Enumeration value missing dotted delimiters or with bad casingbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls035Boolean attribute given `.U.` (LOGICAL UNKNOWN at BOOLEAN slot)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls036Binary literal `"…"` malformed (bit-count nibble or hex case)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls038Instance ID `#0` (must be positive non-zero)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls043Excessively long entity namebytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls044String concatenation across consecutive literals (not allowed)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls045Print/control directives appearing outside string-literal contextbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls046STEP parser syntax error messages inaccessible to caller (e.g., entities with unclosed parentheses and missing string quotes)bytes-sufficientocct=reject/reject gmsh=reject ifc=schema_n/a
Ls047Complex / multiple-inheritance entity record: leaves separated by commasbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls048Complex / multiple-inheritance entity record: ancestor leaf omittedbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls049Boolean attribute given bare `TRUE` (no dots)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ls050Boolean attribute given long-form `.UNKNOWN.`bytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ls051Instance ID with 22 digits (overflows `uint64_t` accumulator)bytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ls052Instance ID just past `UINT64_MAX` wraps to a low-numbered IDbytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ls053REAL literal in an INTEGER-typed slot (`3.0` where `3` is required)bytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ls054Empty complex (subsuper) instance `#1=();` (zero constituent records)bytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ls055Unterminated block comment (no closing `*/`) swallows the file tailbytes-onlyocct=reject/reject gmsh=reject ifc=schema_n/a
Ls056Non-nesting comment illusion; inner opener leaves a stray closerbytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ls057EXPRESS `--` line comment in a Part-21 body swallows the entity that follows itbytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a