Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

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

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 7 Jul 2009 at 11:27

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant