Allow to keep SimpleTypes
📒 Description
Allow to keep simpleTypes via the Config file
Resolves #692
🔗 What I've Done
Write a description of the steps taken to resolve the issue
💬 Comments
A place to write any comments to the reviewer.
🛫 Checklist
- [ ] Updated docs
- [ ] Added unit-tests
- [ ] Sample tests pass
- [ ] W3C tests pass
Quality Gate passed
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
a1e5502) 100.00% compared to head (8bd754c) 100.00%.
Additional details and impacted files
@@ Coverage Diff @@
## main #935 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 105 105
Lines 8768 8775 +7
Branches 2082 2084 +2
=========================================
+ Hits 8768 8775 +7
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@tefra Am I on a good track by modifying config settings to introduce the simpleTypes to keep ?
@tefra Am I on a good track by modifying config settings to introduce the simpleTypes to keep ?
@untereiner yes
Please reopen when you are ready
@tefra I am not able to go further. I don't understand where the simpleTypes are catched and where I could filter them. Could you help me, or point me where I have to look ?
- I think it is in one of the handlers of the FLATTEN step.
- Also
reset_attribute_typeandcopy_attribute_propertieshave similar behavior
Please take a look at this branch, it's not complete, 74 tests fail in w3c-test-suite but it should give you some idea on how to proceed.
https://github.com/tefra/xsdata/tree/generate-simple-types
I am afraid I have other priorities to finish this one and I won't accept contributions that break the w3c-test-suite