-
Notifications
You must be signed in to change notification settings - Fork 14
BUGFIX Grammar 3-1-2 #549
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
Merged
sebbader-sap
merged 13 commits into
admin-shell-io:IDTA-01001-3-1-2_working
from
Martin187187:bugfix-bnf-3-1-2
Mar 29, 2026
Merged
BUGFIX Grammar 3-1-2 #549
Changes from 4 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
9231313
fixed grammar
Martin187187 903fb0e
update changelog
Martin187187 9d331cf
align with secuity spec
Martin187187 e9d2f77
fix patterns
Martin187187 1929773
adjust datetime & time pattern
Martin187187 5a57f14
update changelog
Martin187187 ce5b7b7
fix modelstringpattern in api
Martin187187 12a4b36
align time pattern to api
Martin187187 0a62405
align time pattern to api
Martin187187 14b29f5
added missing parantheses
Martin187187 c1b5e6f
fix additional bugs
Martin187187 d77ef6d
Merge branch 'bugfix-bnf-3-1-2' of https://github.com/Martin187187/aa…
Martin187187 3041a5c
fix typo in changelog
sebbader-sap File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,13 +25,13 @@ | |
| <stringComparison> ::= | ||
| ( ( "$starts-with" | "$ends-with" | "$contains" | "$regex") <ws> "(" <ws> <stringOperand> <ws> "," <ws> <stringOperand> <ws> ")" <ws> ) | | ||
| ( <stringOperand> <ws> <allComparisons> <ws> <stringOperand> <ws> ) | | ||
| ( <stringOperand> <ws> <allComparisons> <ws> <FieldIdentifierString> <ws> ) | | ||
| ( <FieldIdentifierString> <ws> <allComparisons> <ws> <stringOperand> <ws> ) | ||
| ( <stringOperand> <ws> <allComparisons> <ws> <FieldIdentifier> <ws> ) | | ||
| ( <FieldIdentifier> <ws> <allComparisons> <ws> <stringOperand> <ws> ) | ||
|
|
||
| <numericalComparison> ::= | ||
| ( <numericalOperand> <ws> <allComparisons> <ws> <numericalOperand> <ws> ) | | ||
| ( <numericalOperand> <ws> <allComparisons> <ws> <FieldIdentifierString> <ws> ) | | ||
| ( <FieldIdentifierString> <ws> <allComparisons> <ws> <numericalOperand> <ws> ) | ||
| ( <numericalOperand> <ws> <allComparisons> <ws> <FieldIdentifier> <ws> ) | | ||
| ( <FieldIdentifier> <ws> <allComparisons> <ws> <numericalOperand> <ws> ) | ||
|
|
||
| <hexComparison> ::= | ||
| <hexOperand> <ws> <allComparisons> <ws> <hexOperand> <ws> | ||
|
|
@@ -51,7 +51,7 @@ | |
| <operand> ::= <stringOperand> | <numericalOperand> | <hexOperand> | <boolOperand> | <dateTimeOperand> | <timeOperand> | ||
|
|
||
| <stringOperand> ::= | ||
| <FieldIdentifierString> | <StringLiteral> | <castToString> | <SingleAttribute> | ||
| <FieldIdentifier> | <StringLiteral> | <castToString> | <SingleAttribute> | ||
|
|
||
| <numericalOperand> ::= | ||
| <NumericalLiteral> | <castToNumerical> | <dateTimeToNum> | ||
|
|
@@ -90,7 +90,7 @@ | |
| ( "DEFATTRIBUTES" <ws> <StringLiteral> <ws> <AttributeGroup> <ws> )* | ||
| ( "DEFACLS" <ws> <StringLiteral> <ws> <ACL> <ws> )* | ||
| ( "DEFOBJECTS" <ws> <StringLiteral> <ws> <ObjectGroup> <ws> )* | ||
| ( "DEFFORMULAS" <ws> <StringLiteral> <ws> <Condition> <ws> )* | ||
| ( "DEFFORMULAS" <ws> <StringLiteral> <ws> <logicalExpression> <ws> )* | ||
| ( <AccessPermissionRule> <ws> )* | ||
|
|
||
| <AccessPermissionRule> ::= | ||
|
|
@@ -99,9 +99,12 @@ | |
| "OBJECTS:" <ws> | ||
| ( <SingleObject> <ws> )* | ||
| ( <UseObjectGroup> <ws> )* | ||
| "FORMULA:" <ws> | ||
| ( <Condition> | <UseFormula> ) <ws> | ||
| ( "FILTER:" <ws> <FragmentObject> <ws> ( <Condition> | <UseFormula> ) <ws> )? | ||
| ( "FORMULA:" <ws> <logicalExpression> <ws> ) | <UseFormula> | ||
| ( "FILTER:" <ws> <SecurityQueryFilter> )? | ||
|
|
||
| <SecurityQueryFilter> ::= | ||
| <FragmentObject> <ws> | ||
| ( "CONDITION:" <ws> <logicalExpression> <ws> ) | <UseFormula> | ||
|
|
||
| <ACL> ::= | ||
| "ATTRIBUTES:" <ws> | ||
|
|
@@ -111,7 +114,7 @@ | |
| "ACCESS:" <ws> <Access> <ws> | ||
|
|
||
| <UseACL> ::= | ||
| "USEACLS" <ws> <StringLiteral> <ws> | ||
| "USEACL" <ws> <StringLiteral> <ws> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why singular, it is also USEFORMULAS, no? Examples in Annex seem not to be updated yet? |
||
|
|
||
| <Right> ::= | ||
| "CREATE" | "READ" | "UPDATE" | "DELETE" | "EXECUTE" | "VIEW" | "ALL" | ||
|
|
@@ -164,26 +167,24 @@ | |
| "USEOBJECTS" <ws> <StringLiteral> <ws> | ||
|
|
||
| <UseFormula> ::= | ||
| "USEFORMULAS" <ws> <StringLiteral> <ws> | ||
|
|
||
| <Condition> ::= <logicalExpression> <ws> | ||
| "USEFORMULA" <ws> <StringLiteral> <ws> | ||
|
||
|
|
||
| <DateTimeLiteral> ::= <datetime> <ws> | ||
| <TimeLiteral> ::= <time> <ws> | ||
| <datetime> ::= <date> <ws> ( "T" | " " ) <ws> <time> <ws> ( <timezone> <ws> )? | ||
| <date> ::= <year> <ws> "-" <ws> <month> <ws> "-" <ws> <day> <ws> | ||
| <year> ::= <digit> <ws> <digit> <ws> <digit> <ws> <digit> <ws> | ||
| <month> ::= <digit> <ws> <digit> <ws> | ||
| <day> ::= <digit> <ws> <digit> <ws> | ||
| <time> ::= <hour> <ws> ":" <ws> <minute> <ws> ( ":" <ws> <second> <ws> )? ( "." <ws> <fraction> <ws> )? | ||
| <timezone> ::= ( "Z" | ( "+" | "-" ) <ws> <hour> <ws> ":" <ws> <minute> <ws> ) | ||
| <hour> ::= <digit> <ws> <digit> <ws> | ||
| <minute> ::= <digit> <ws> <digit> <ws> | ||
| <second> ::= <digit> <ws> <digit> <ws> | ||
| <fraction> ::= <digit>+ <ws> | ||
| <digit> ::= [0-9] <ws> | ||
| <StringLiteral> ::= "\"" ( [A-Z] | [a-z] | [0-9] | "/" | "*" | "[" | "]" | "(" | ")" | " " | "_" | "@" | "#" | "\\" | "+" | "-" | "." | "," | ":" | "$" | "^" | "*" )+ "\"" | ||
| <datetime> ::= <date> ( "T" )? <time> ( <timezone> )? | ||
| <date> ::= <year> "-" <month> "-" <day> | ||
| <year> ::= <digit> <digit> <digit> <digit> | ||
| <month> ::= <digit> <digit> | ||
| <day> ::= <digit> <digit> | ||
| <time> ::= <hour> ":" <minute> ( ":" <second> )? ( "." <fraction> )? | ||
| <timezone> ::= ( "Z" | ( "+" | "-" ) <hour> ":" <minute> ) | ||
| <hour> ::= <digit> <digit> | ||
| <minute> ::= <digit> <digit> | ||
| <second> ::= <digit> <digit> | ||
| <fraction> ::= <digit>+ | ||
|
|
||
| <digit> ::= [0-9] | ||
| <StringLiteral> ::= "\"" ( [A-Z] | [a-z] | [0-9] | "/" | "*" | "[" | "]" | "(" | ")" | " " | "_" | "@" | "#" | "\\" | "+" | "-" | "." | "," | ":" | "$" | "^" )+ "\"" | ||
| <ClaimLiteral> ::= <StringLiteral> | ||
| <ReferenceLiteral> ::= <StringLiteral> | ||
| <RouteLiteral> ::= <StringLiteral> | ||
|
|
@@ -194,8 +195,8 @@ | |
| <NumericalLiteral> ::= ( "+" | "-" )? ( [0-9]+ ( "." [0-9]* )? | "." [0-9]+ ) ( ( "e" | "E" )? [0-9]+ ) | ||
| <HexLiteral> ::= "16#" ( [0-9] | [A-F] )+ | ||
| <BoolLiteral> ::= "true" | "false" | ||
| <FieldIdentifier> ::= <FieldIdentifierString> | ||
| <FieldIdentifierString> ::= <FieldIdentifierAAS> | <FieldIdentifierSM> | <FieldIdentifierSME> | <FieldIdentifierCD> | <FieldIdentifierAasDescriptor> | <FieldIdentifierSmDescriptor> | ||
|
|
||
| <FieldIdentifier> ::= <FieldIdentifierAAS> | <FieldIdentifierSM> | <FieldIdentifierSME> | <FieldIdentifierCD> | <FieldIdentifierAasDescriptor> | <FieldIdentifierSmDescriptor> | ||
| <FieldIdentifierAAS> ::= "$aas#" ( "idShort" | "id" | "assetInformation.assetKind" | "assetInformation.assetType" | "assetInformation.globalAssetId" | "assetInformation." <SpecificAssetIdsClause> | "submodels." <ReferenceClause> ) | ||
| <FieldIdentifierSM> ::= "$sm#" ( <SemanticIdClause> | "idShort" | "id" ) | ||
| <FieldIdentifierSME> ::= "$sme" ( "." <idShortPath> )? "#" ( <SemanticIdClause> | "idShort" | "value" | "valueType" | "language" ) | ||
|
|
@@ -208,7 +209,7 @@ | |
| <ReferenceClause> ::= ( "type" | "keys" ( "[" ( [0-9]* ) "]" ) ( ".type" | ".value" ) ) | ||
| <SemanticIdClause> ::= ( "semanticId" | "semanticId." <ReferenceClause> ) | ||
| <SpecificAssetIdsClause> ::= ( "specificAssetIds" ( "[" ( [0-9]* ) "]" ) ( ".name" | ".value" | ".externalSubjectId" | ".externalSubjectId." <ReferenceClause> ) ) | ||
| <idShortPath> ::= ( <idShort> ("[" ( [0-9]* ) "]" )? ( "." <idShortPath> )* ) | ||
| <idShort> ::= ( ( [a-z] | [A-Z] ) ( [a-z] | [A-Z] | [0-9] | "_" )* ) | ||
| <idShortPath> ::= ( <idShort> ("[" ( [0-9]* ) "]" )* ( "." <idShortPath> )* ) | ||
| <idShort> ::= ( ( [a-z] | [A-Z] ) (( [a-z] | [A-Z] | [0-9] | "_" | "-" )* ( [a-z] | [A-Z] | [0-9] | "_" ) )? ) | ||
|
|
||
| <ws> ::= ( " " | "\t" | "\r" | "\n" )+ | ||
| <ws> ::= ( " " | "\t" | "\r" | "\n" )* | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.