Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

after endDocument vector gets emptied

 
Pinda Ros
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,

I have built an xml parser that uses a vector to store the values of each tag.

while the class is parsing i can see the vector getting bigger and filling up with values.

However i noticed that after endDocument everything in the vector is lost.
That is i have an empty vector.

Any suggestions why this might be happening?

thank you in advance.

pinda
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is these some sample code that you want to share with us, please/
I am a little confused with the description that you provided....

- m
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic