WIP. syncing machines.
diff --git a/tinyxml2.cpp b/tinyxml2.cpp
index a8a7be3..827bc36 100644
--- a/tinyxml2.cpp
+++ b/tinyxml2.cpp
@@ -608,6 +608,15 @@
XMLStreamer::XMLStreamer( FILE* file ) : fp( file ), depth( 0 ), elementJustOpened( false )
{
+ for( int i=0; i<ENTITY_RANGE; ++i ) {
+ entityFlag[i] = false;
+ }
+ for( int i=0; i<NUM_ENTITIES; ++i ) {
+ TIXMLASSERT( entities[i].value < ENTITY_RANGE );
+ if ( entities[i].value < ENTITY_RANGE ) {
+ entityFlag[ entities[i].value ] = true;
+ }
+ }
}
@@ -619,6 +628,12 @@
}
+void XMLStreamer::PrintString( const char* )
+{
+
+}
+
+
void XMLStreamer::OpenElement( const char* name, bool textParent )
{
if ( elementJustOpened ) {