-
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
Add namespace awareness for validating xml against xsd files #75
Add namespace awareness for validating xml against xsd files #75
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #75 +/- ##
============================================
- Coverage 85.92% 85.32% -0.61%
- Complexity 800 911 +111
============================================
Files 25 31 +6
Lines 3432 3795 +363
Branches 685 767 +82
============================================
+ Hits 2949 3238 +289
- Misses 303 338 +35
- Partials 180 219 +39 ☔ View full report in Codecov by Sentry. |
dbFactory.setIgnoringComments(true); // Ignore comments in the XML | ||
dbFactory.setIgnoringElementContentWhitespace(true); // Ignore white spaces in the XML |
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.
We may need to provide a configuration to override the removal of leading and trailing whitespaces
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 will revert that
Purpose
Add namespace awareness for validating xml against xsd files
Fixes: ballerina-platform/ballerina-library#7643
Examples
Checklist