summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-04 18:50:26 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-04 18:50:26 +0000
commit9fa82b15f53f0f20363f50b5b1adf1a762ed96d6 (patch)
treee01329629402f8d57eb41ebd55f06a58663a7121 /src/pugixml.hpp
parentf9c78551437bace4404cafdde632af947309161c (diff)
Optimized attribute parsing; behavior of parse_wconv changed, it now assumes that parse_eol is set
git-svn-id: http://pugixml.googlecode.com/svn/trunk@503 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 6f4cece..398dd77 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -235,17 +235,18 @@ namespace pugi
#if !defined(__INTEL_COMPILER) || __INTEL_COMPILER > 800
PUGIXML_DEPRECATED
#endif
- const unsigned int parse_wnorm_attribute = 0x0040;
+ const unsigned int parse_wnorm_attribute = 0x0080;
/**
* This flag determines if attribute value normalization should be performed for all attributes.
* This means, that whitespace characters (new line, tab and space) are replaced with space (' ').
* Note, that the actions performed while this flag is on are also performed if parse_wnorm_attribute
* is on, so this flag has no effect if parse_wnorm_attribute flag is set.
+ * New line characters are always treated as if parse_eol is set, i.e. \r\n is converted to single space.
*
* This flag is on by default.
*/
- const unsigned int parse_wconv_attribute = 0x0080;
+ const unsigned int parse_wconv_attribute = 0x0040;
/**
* This flag determines if XML document declaration (this node has the form of <?xml ... ?> in XML)