I've used TinyXML for a month now and I'm loving it. I was using a few global functions of mine for throwing errors, etc. Now when I've baked everything to a class my current TiXmlElement* always has location (0,0). I can read elements, attributes, etc. from my file all fine, but it's location never change.
Does somebody know what I did wrong?
I've checked the post "TiXmlDocument::ErrorRow allways gives one", I've tried setting the SetTabSize() and it didn't work.
Thank you
// John-Philip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've been working on my code. And now I have separated the classes that are most essential. I don't think I can cut out any more content, as I'm construction a I/O binder (save and load works the same) for XML on top of TinyXML. So my small test project is probably kinda big =/ I'll submit it to the "bugs" section as you requested.
In the test project, as I create/read the XML file I print out the current element's name and location. always 1,1. No matter what element, root or root child... It's the same in bigger docs.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.. I had my Internet Explorer window open on the report bugg page, and I reloaded to see if you had answered. And the darn thing just posted my bug report again! So there's two now, sorry about that =)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
I've used TinyXML for a month now and I'm loving it. I was using a few global functions of mine for throwing errors, etc. Now when I've baked everything to a class my current TiXmlElement* always has location (0,0). I can read elements, attributes, etc. from my file all fine, but it's location never change.
Does somebody know what I did wrong?
I've checked the post "TiXmlDocument::ErrorRow allways gives one", I've tried setting the SetTabSize() and it didn't work.
Thank you
// John-Philip
Odd. If you have a small test cases, submit it to "bugs"
thanks!
lee
Hi!
I've been working on my code. And now I have separated the classes that are most essential. I don't think I can cut out any more content, as I'm construction a I/O binder (save and load works the same) for XML on top of TinyXML. So my small test project is probably kinda big =/ I'll submit it to the "bugs" section as you requested.
In the test project, as I create/read the XML file I print out the current element's name and location. always 1,1. No matter what element, root or root child... It's the same in bigger docs.
Hi.. I had my Internet Explorer window open on the report bugg page, and I reloaded to see if you had answered. And the darn thing just posted my bug report again! So there's two now, sorry about that =)