-
Notifications
You must be signed in to change notification settings - Fork 10
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
Support options for XML conversions and Refactor apis #6
Conversation
Merge this after #5 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6 +/- ##
============================================
- Coverage 78.25% 77.92% -0.34%
- Complexity 449 459 +10
============================================
Files 21 21
Lines 2005 2079 +74
Branches 440 458 +18
============================================
+ Hits 1569 1620 +51
- Misses 328 350 +22
- Partials 108 109 +1 ☔ View full report in Codecov by Sentry. |
native/src/main/java/io/ballerina/stdlib/data/xmldata/utils/DataUtils.java
Show resolved
Hide resolved
native/src/main/java/io/ballerina/stdlib/data/xmldata/xml/XmlParser.java
Outdated
Show resolved
Hide resolved
native/src/main/java/io/ballerina/stdlib/data/xmldata/xml/XmlParser.java
Outdated
Show resolved
Hide resolved
native/src/main/java/io/ballerina/stdlib/data/xmldata/xml/XmlParser.java
Outdated
Show resolved
Hide resolved
native/src/main/java/io/ballerina/stdlib/data/xmldata/xml/XmlParser.java
Show resolved
Hide resolved
`; | ||
Employee|error e = parseAsType(xmlVal1, sOptions3); | ||
test:assertTrue(e is error); | ||
test:assertEquals((<error>e).message(), "undefined field 'age' in record 'data.xmldata:Employee'"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor formatting issue. check other places too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated ballerina formatting issues 08b2841
When calling the formatter, This line remain unchanged. Are you referring space between cast-expr and the identifier e
?
Fix bug in stream_namespace_test
Purpose
Fixes: #6073
Examples
Checklist