Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when encountering unsupported symbols #151

Open
ronaldtse opened this issue Apr 24, 2024 · 0 comments
Open

Crash when encountering unsupported symbols #151

ronaldtse opened this issue Apr 24, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ronaldtse
Copy link
Contributor

From https://github.com/metanorma/iso-10303-srl/issues/89

schemas/resources/ISO13584_expressions_schema/ISO13584_expressions_schema.exp
The offending section is this:

ENTITY comparison_expression
ABSTRACT SUPERTYPE OF (ONEOF (comparison_equal,
                                comparison_greater,
                                comparison_greater_equal,
                                comparison_less,
                                comparison_less_equal,
                                comparison_not_equal,
                                like_expression))
SUBTYPE OF (boolean_expression, binary_generic_expression);
    SELF\binary_generic_expression.operands    : LIST [2:2] OF
expression;
WHERE
    WR1: ((‘ISO13584_EXPRESSIONS_SCHEMA.NUMERIC_EXPRESSION’
             IN TYPEOF(SELF\binary_generic_expression.operands[1]))
      AND
       ‘ISO13584_EXPRESSIONS_SCHEMA.NUMERIC_EXPRESSION’
             IN TYPEOF(SELF\binary_generic_expression.operands[2]))
   OR
        ((‘ISO13584_EXPRESSIONS_SCHEMA.BOOLEAN_EXPRESSION’
             IN TYPEOF(SELF\binary_generic_expression.operands[1]))
      AND
       (‘ISO13584_EXPRESSIONS_SCHEMA.BOOLEAN_EXPRESSION’
          IN TYPEOF(SELF\binary_generic_expression.operands[2])))
   OR
       ((‘ISO13584_EXPRESSIONS_SCHEMA.STRING_EXPRESSION’
             IN TYPEOF(SELF\binary_generic_expression.operands[1]))
      AND
       (‘ISO13584_EXPRESSIONS_SCHEMA.STRING_EXPRESSION’
             IN TYPEOF(SELF\binary_generic_expression.operands[2]))) ;
END_ENTITY;

The crash is due to these symbols:

‘
’
@ronaldtse ronaldtse added the bug Something isn't working label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants