From 3a5dcaf8ef88bca1dc0d1ed6ee581d915df728c8 Mon Sep 17 00:00:00 2001 From: jez_higgins <> Date: Tue, 9 Aug 2005 15:46:01 +0000 Subject: [PATCH] *** empty log message *** --- SAX/filter/Writer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SAX/filter/Writer.h b/SAX/filter/Writer.h index fae94717..05e42bfd 100644 --- a/SAX/filter/Writer.h +++ b/SAX/filter/Writer.h @@ -94,8 +94,8 @@ class basic_Writer : public basic_XMLFilterImpl, stream_(&stream), lexicalHandler_(0), declHandler_(0), - lastTag_(startTag), - encoding_(encoding) + encoding_(encoding), + lastTag_(startTag) { } // basic_Writer @@ -154,7 +154,6 @@ class basic_Writer : public basic_XMLFilterImpl, bool isDtd(const stringT& name); private: - stringT encoding_; bool inCDATA_; bool inDTD_; bool internalSubset_; @@ -163,6 +162,7 @@ private: ostreamT* stream_; LexicalHandlerT* lexicalHandler_; DeclHandlerT* declHandler_; + stringT encoding_; enum { startTag, endTag, docTag } lastTag_; const SAX::PropertyNames properties_;