Ls015 — Missing comma between attribute values

§12.1c punctuation

P1 — silent data loss

syntax

Sources

Description

A list of attributes lacks a comma separator. SFA reports `"Expecting ',', found _3DV instead."`

Reproducer recipe

`#1=CARTESIAN_POINT('p' (0.,0.,0.));` (missing comma after `'p'`).

Expected kernel behavior

Strict reject with precise location diagnostic.

Notes

Synonyms: "missing comma between STEP attributes", "Expecting comma found _3DV", "STEP attribute separator dropped", "two attributes adjacent without comma", "comma-less attribute list".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1/* Ls015 - Missing comma between attribute values
2   ----------------------------------------------------------------------
3   Catalog section : §12.1c punctuation
4   Sources         : S006
5   ----------------------------------------------------------------------
6   Defect
7     A list of attributes lacks a comma separator. SFA reports
8     "Expecting ',', found _3DV instead." This commonly arises when
9     a generator forgets a trailing comma after a string literal that
10     immediately precedes an aggregate.
11   Expected behavior
12     Strict reject with precise location diagnostic; never silently
13     insert a synthetic comma. The error message should name the offset
14     of the missing separator within the parameter list.
15   ----------------------------------------------------------------------
16   Reproducer
17     #1=CARTESIAN_POINT('p' (0.,0.,0.));   <- missing ',' after 'p'
18   ----------------------------------------------------------------------
19*/
20ISO-10303-21;
21HEADER;
22FILE_DESCRIPTION(('Ls015 - missing comma between attribute values'),'2;1');
23FILE_NAME('Ls015.stp','2026-04-26T00:00:00',('auto-generated'),(''),
24  'auto-generated','','');
25FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
26ENDSEC;
27DATA;
28/* Defect: missing comma between the 'p' label string and the coord aggregate */
29#10=CARTESIAN_POINT('p' (0.0,0.0,0.0));
30/* Defect: missing comma between two scalar attributes */
31#11=DIRECTION('x' (1.0,0.0,0.0));
32#20=DIRECTION('x',(1.0,0.0,0.0));
33#30=AXIS2_PLACEMENT_3D('placement',#10,#20,$);
34ENDSEC;
35END-ISO-10303-21;