Skip to content

Conversation

mweinelt
Copy link

@mweinelt mweinelt commented Feb 4, 2025

When retrieving large XML responses over Netconf we need to use lxml with huge_trees, because the default XML parser bails out.

Fixes: #255

SUMMARY
ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

netconf RPC

ADDITIONAL INFORMATION

Long XML responses without huge_tree run into the an exception:

lxml.etree.XMLSyntaxError: xmlSAX2Characters: huge text node

When retrieving large XML responses over Netconf we need to use lxml
with huge_trees, because the default XML parser bails out.

Fixes: ansible-collections#255
@mweinelt
Copy link
Author

mweinelt commented Aug 5, 2025

@rohitthakur2590 Any chance you can take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

netconf connections do not support huge_tree

1 participant