ballerina-lang
ballerina-lang copied to clipboard
[Bug]: Invalid parsing of an xml name pattern which is invalid and has an xml namespace
Description
Consider the following code,
xmlns "a" as ns;
function foo() {
xml x = xml `<item><book>Study</book></item>`;
_ = x.<ns::book>;
}
This is parsed as,
The second colon here is skipped.
Steps to Reproduce
No response
Affected Version(s)
2201.9.0
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response