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

[Improvement]: Support step extension in xml step expression #42979

Closed
poorna2152 opened this issue Jun 25, 2024 · 0 comments · Fixed by #43449
Closed

[Improvement]: Support step extension in xml step expression #42979

poorna2152 opened this issue Jun 25, 2024 · 0 comments · Fixed by #43449
Assignees
Labels
Lang/XML XML related issues Reason/EngineeringMistake The issue occurred due to a mistake made in the past. Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Improvement

Comments

@poorna2152
Copy link
Contributor

Description

xml step expression can have step extension which can be a method invocation, filter expression, indexed based access or a combination of these. https://ballerina.io/spec/lang/master/#xml-step-expr
eg:

xml x1 = xml
            `<item><!--comment--><name>T-shirt</name><price>19.99</price><brand><name>nike</name><local>no</local></brand></item>`;
_ = x1/**/<name|iname>[i].<name>;

Xml step extension is not properly implemented and the following are created to track the issues involving step expression.

Describe your problem(s)

No response

Describe your solution(s)

No response

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@poorna2152 poorna2152 added Type/Improvement Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Lang/XML XML related issues labels Jun 25, 2024
@ballerina-bot ballerina-bot added needTriage The issue has to be inspected and labeled manually userCategory/Compilation labels Jun 25, 2024
@poorna2152 poorna2152 removed needTriage The issue has to be inspected and labeled manually userCategory/Compilation labels Jul 8, 2024
@poorna2152 poorna2152 moved this to Planned for Sprint in Ballerina Team Main Board Jul 17, 2024
@github-project-automation github-project-automation bot moved this from Planned for Sprint to Done in Ballerina Team Main Board Oct 4, 2024
@poorna2152 poorna2152 added the Reason/EngineeringMistake The issue occurred due to a mistake made in the past. label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lang/XML XML related issues Reason/EngineeringMistake The issue occurred due to a mistake made in the past. Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Improvement
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants