sabriallani / ticpp

Automatically exported from code.google.com/p/ticpp
0 stars 0 forks source link

The dump_to_stdout example from the TinyXML tutorial does not work with TinyXML++. #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Build the TinyXML tutorial

http://www.grinninglizard.com/tinyxmldocs/tutorial0.html 

2. Replace 

#include "tinyxml.h" 

with 

#define TIXML_USE_TICPP
#include "ticpp.h" 

3. Use the Hello world example file as input 

What is the expected output? What do you see instead?
Produces:

Observed:

example.xml:
Document
+ Declaration
+ Element [Hello]

Expected:

example.xml:
Document
+ Declaration
+ Element [Hello]
 (No attributes)
  + Text: [World] 

What version of the product are you using? On what operating system?

Using tinyxml_2_4_2 with TinyXML++ from the read only repository.  The
checks in xmltest.cpp completed successfully.

Environment: Ubuntu, Eclipse, Intel compiler.

Please provide any additional information below.

Follow up from group discussion item:
http://groups.google.co.uk/group/ticpp/browse_thread/thread/7fbbff1bdedad5bd?hl=
en

Original issue reported on code.google.com by altena...@gmail.com on 7 Jul 2009 at 11:27