Python Forum
xml element inside text node
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
xml element inside text node
#2
If using internal XML library, be aware of the warning:

Quote:Warning

The XML modules are not secure against erroneous or maliciously constructed data. If you need to parse untrusted or unauthenticated data see XML vulnerabilities.

with that said, also be aware of:
Quote:These external packages are recommended for any code that parses untrusted XML data.

defusedxml is a pure Python package with modified subclasses of all stdlib XML parsers that prevent any potentially malicious operation. The package also ships with example exploits and extended documentation on more XML exploits like xpath injection

As to your question, do you have a URL we can visit to look at the file structure? You don't show enough of it to answer properly.
Reply


Messages In This Thread
xml element inside text node - by SgtPembry - Oct-21-2018, 01:37 PM
RE: xml element inside text node - by Larz60+ - Oct-21-2018, 02:59 PM
RE: xml element inside text node - by SgtPembry - Oct-21-2018, 03:11 PM
RE: xml element inside text node - by Larz60+ - Oct-21-2018, 03:45 PM
RE: xml element inside text node - by SgtPembry - Oct-21-2018, 03:56 PM
RE: xml element inside text node - by snippsat - Oct-21-2018, 05:13 PM
RE: xml element inside text node - by SgtPembry - Oct-21-2018, 07:47 PM
RE: xml element inside text node - by SgtPembry - Oct-21-2018, 10:17 PM
RE: xml element inside text node - by snippsat - Oct-21-2018, 11:05 PM
RE: xml element inside text node - by SgtPembry - Oct-21-2018, 11:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to locate element no such element gahhon 6 4,570 Feb-18-2019, 02:09 PM
Last Post: gahhon
  how to enter text in text box inside a program? Astronometria 0 2,485 Mar-10-2018, 11:54 PM
Last Post: Astronometria
  Change single element in 2D list changes every 1D element AceScottie 9 12,179 Nov-13-2017, 07:05 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020