Skip to content

Conversation

@glarrain
Copy link
Contributor

Augment and improve it to consider more cleaning operations.

Backwards compatibility

Breaks compatibility.

Signature changed from

clean_dte_xml(xml_doc: lxml.etree.ElementBase) -> bool

to

clean_dte_xml(xml_doc: lxml.etree.ElementBase, set_missing_xmlns: bool = False, remove_doc_personalizado: bool = True) -> Tuple[lxml.etree.ElementBase, bool]

Details

  • Add _set_dte_xml_missing_xmlns.
  • Refactor _remove_dte_xml_doc_personalizado out of clean_dte_xml.

Tests have not been implemented (just a full "integration test" has).

Tests have not been implemented.
Augment and improve it to consider more cleaning operations.

- Add `_set_dte_xml_missing_xmlns`.
- Refactor `_remove_dte_xml_doc_personalizado` out of `clean_dte_xml`.

Tests have not been implemented.
Test have not been implemented.
@glarrain glarrain self-assigned this Apr 16, 2019
@glarrain glarrain merged commit b14f0d0 into develop Apr 16, 2019
@glarrain glarrain deleted the feature/dte/parse/improve-clean_dte_xml branch April 16, 2019 16:31
@glarrain glarrain mentioned this pull request Apr 16, 2019
@jtrobles-cdd jtrobles-cdd added enhancement New feature or request and removed feature labels Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: dte enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants