             ELSIF NOT space THEN
 
                 -- Unexpected character ":1"!
-                error$.raise('JDOC-00001', v_char);
+                error$.raise('JSON-00001', v_char);
 
             END IF;
 

        ELSIF v_state NOT IN ('lfDot', 'lfRoot') THEN

            -- Unexpected end of the input!
            error$.raise('JDOC-00002');

        END IF;



            IF NVL(v_properties(v_i).parent_type, 'R') NOT IN ('R', 'O', 'A') THEN
                -- Scalar values and null can't have properties!
                error$.raise('JSON-00008');
            END IF;

            IF v_properties(v_i).property_id IS NOT NULL THEN
