Skip to content

aascheck: fail to check against json schema #16

@jh-isw

Description

@jh-isw

The aascheck tool that comes with the Rust SDK fails to check against the metamodel V3.

Example of terminal output:

ValidationError {
        instance: String("^([\\t\\n\\r -\u{d7ff}\u{e000}-�]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$"),
        kind: Format {
            format: "regex",
        },
        instance_path: JSONPointer(
            [
                Keyword(
                    "allOf",
                ),
                Index(
                    1,
                ),
                Keyword(
                    "properties",
                ),
                Property(
                    "id",
                ),
            ],
        ),
        schema_path: JSONPointer(
            [
                Keyword(
                    "allOf",
                ),
                Index(
                    0,
                ),
            ],
        ),
    }

Deeper inspection needed. Probably the underlying regex-crate may have problems with the POSIX Extended Regex.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions