diff options
Diffstat (limited to 'xml/parser.hxx')
-rw-r--r-- | xml/parser.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xml/parser.hxx b/xml/parser.hxx index 1d45e8c..6f90522 100644 --- a/xml/parser.hxx +++ b/xml/parser.hxx @@ -99,8 +99,11 @@ namespace xml receive_attributes_map; // Parse std::istream. Input name is used in diagnostics to identify - // the document being parsed. std::ios_base::failure exception is - // used to report io errors (badbit and failbit). + // the document being parsed. + // + // If stream exceptions are enabled then std::ios_base::failure + // exception is used to report io errors (badbit and failbit). + // Otherwise, those are reported as the parsing exception. // parser (std::istream&, const std::string& input_name, |