BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions
BeeeOn::SecureXmlParser Class Reference

#include <SecureXmlParser.h>

Public Member Functions

Poco::XML::Document * parse (const char *input, std::size_t length)
 
Poco::XML::Document * parse (const std::string &input)
 
Poco::XML::Document * parse (std::istream &in)
 

Detailed Description

The parser prevents parsing documents containing DTD definitions. The purpose is to protect the system against XML attacks like:

The parser throws InvalidArgumentException when a DTD section is encountered.

Parsing is thread-safe as for each parsing step a new parser is allocated.


The documentation for this class was generated from the following files: