xmlpp-common Mailing List for xmlpp
Brought to you by:
pit22
You can subscribe to this list here.
2002 |
Jan
(6) |
Feb
(1) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jan P. <jan...@ya...> - 2006-06-05 15:08:33
|
hi :) I know this is a dumb question ... but apparently there is no obvious answers, and I don't want to write something to go through all the "text" children ... I tried the following: xmlpp::Node *frob_node = get_nontext_node( root->get_children() ); // i wrote this utility function to search for the first non "text" child, is there an easier way ? if ( ! frob_node || frob_node->get_name() != "frob" ) throw runtime_error( "FlickrAPI::getFrob(): missing \"frob\" child for root \"rsp\" node, got "+frob_node->get_name() ); xmlpp::ContentNode content( frob_node->cobj() ); string result = content.get_content(); but as expected, I got memory errors because of and object being freed twice (frob_node->cobj() I believe): *** glibc detected *** double free or corruption (out): 0x00007fffffb14cf0 *** Aborted thanks for any hints - jan |
From: Karl P. <pi...@ro...> - 2003-02-25 09:57:53
|
hi. i finally found some short time to imcorporate some suggestions and small fixes. see news at sourceforge.net/xmlpp pit. |
From: Karl P. <pi...@ro...> - 2002-04-29 10:13:41
|
From: Karl P. <pi...@ro...> - 2002-04-11 17:15:31
|
hi. i found some spare time to sync my local modifications into sourceforge cvs. please see the log message there. xmlpp can now be considered beta, we use it in production systems without any problems. i was somehow not subscribed in my own mailinglist :-) if the guy who foud bugs in the build system could review this again, i'll gladly include fixes. thansk, regards, karl. :wq |
From: Sergey M. <se...@ci...> - 2002-02-19 11:17:47
|
It's look like a neglected project. At least I'v got no answer in forum. Try copy my message to here. Can't understand how can I get a node date. Really XMLNode::data() returns "" always. I don't know is it bug or I move wrong way? nodetest.cpp has no example for extraction data from a node. ---- Sem. |
From: Kevin M. <ke...@vr...> - 2002-01-31 15:12:15
|
you've got LGPL on your SF.net webpage. but hyour COPYING file in the recent xmlpp-gnu cvs says that it is GPL. Are you maintaining two versions, one that is LGPL, and the other that is GPL? confused, sorry, Kevin -- @--@---@---@----@-----@------@------@-----@----@---@---@--@ Kevin Meinert __ _ __ http://www.vrac.iastate.edu/~kevn \ || \| \ / ` Virtual Reality Applications Center \ ||.-'|--\\ Howe Hall, Iowa State University, Ames Iowa \|| \| \`__, ----------------------------------------------------------- |
From: Kevin M. <ke...@vr...> - 2002-01-31 15:08:01
|
I noticed that 0.6 was LGPL, and now 0.7 is GPL. Any plans to go back to LGPL? I'd rather not use the old code, and I'd like to be able to get updates... (I will need to depend on LGPL libs for my project). This section is what bothers me: Section 2 ... b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. ... > But when you > distribute the same sections as part of a whole which is a work based > on the Program, the distribution of the whole must be on the terms of > this License, whose permissions for other licensees extend to the > entire whole, and thus to each and every part regardless of who wrote > it. ... I'm making a game that right now is free, but who knows... Also, I want to use LGPL for my game engine, but I think if I use xmlpp, then I have to make my game engine also GPL... I guess I'm fuzzy on what constitutes "based on this work" in section 2 of the GPL. I.e. my game engine isn't _based_ on an xml reader, rather it uses one to get it's data, and then it moves on to do millions of other game related things that have nothing to do with XML... so, the basic question is, will I be able (under GPL license of xmlpp) to make my game engine LGPL if it uses xmlpp? (the more complex question is would xmlpp like to go back to LGPL? :) thanks for the advice, Kevin |
From: Kevin M. <ke...@vr...> - 2002-01-31 14:26:10
|
I found why it didn't work for me. I had assumes that nodetest would work on any generic xml file. I was wrong. It actually looks for certain nodes in the file, and core dumps if they aren't found. :( oh well... I suppose I can write more robust code than nodetest (hopefully). interesting looking software by the way. Kevin On Thu, 31 Jan 2002, Kevin Meinert wrote: > > When I run node test against my own .xml file it coredumps: > > $ nodetest.C > succesfully loaded hamlet.xml > Abort (core dumped) > > > this is the content I put into hamlet.xml: > > > <?xml version="1.0"?> > > <gameinput> > <bind action="Accelerate" device="Keyboard" input="KEY_UPARROW" /> > <bind action="Backstep" device="Keyboard" input="KEY_DOWNARROW" /> > <bind action="StraefLeft" device="Keyboard" input="KEY_LEFTARROW" /> > <bind action="StraefRight" device="Keyboard" input="KEY_RIGHTARROW" /> > <bind action="Jump" device="Keyboard" input="KEY_SPACE" /> > <bind action="Crouch" device="Keyboard" input="KEY_Q" /> > <bind action="Run" device="Keyboard" input="KEY_LSHIFT" /> > <bind action="MouseLookX" device="Mouse" input="MOUSEAXIS_X" /> > <bind action="MouseLookY" device="Mouse" input="MOUSEAXIS_Y" /> > </gameinput> > > > > > > -- @--@---@---@----@-----@------@------@-----@----@---@---@--@ Kevin Meinert __ _ __ http://www.vrac.iastate.edu/~kevn \ || \| \ / ` Virtual Reality Applications Center \ ||.-'|--\\ Howe Hall, Iowa State University, Ames Iowa \|| \| \`__, ----------------------------------------------------------- |
From: Kevin M. <ke...@vr...> - 2002-01-31 14:14:09
|
copy this text to a file "p.txt", and apply with "patch < p.txt" you'll need to autogen.sh again... Index: Makefile.am =================================================================== RCS file: /cvsroot/xmlpp/xmlpp-gnu/test/Makefile.am,v retrieving revision 1.1.1.1 diff -r1.1.1.1 Makefile.am 6c6 < LDADD = -L../src/.libs/ -lxmlpp --- > LDADD = -L../src/ -lxmlpp |
From: Kevin M. <ke...@vr...> - 2002-01-31 14:07:09
|
When I run node test against my own .xml file it coredumps: $ nodetest.C succesfully loaded hamlet.xml Abort (core dumped) this is the content I put into hamlet.xml: <?xml version="1.0"?> <gameinput> <bind action="Accelerate" device="Keyboard" input="KEY_UPARROW" /> <bind action="Backstep" device="Keyboard" input="KEY_DOWNARROW" /> <bind action="StraefLeft" device="Keyboard" input="KEY_LEFTARROW" /> <bind action="StraefRight" device="Keyboard" input="KEY_RIGHTARROW" /> <bind action="Jump" device="Keyboard" input="KEY_SPACE" /> <bind action="Crouch" device="Keyboard" input="KEY_Q" /> <bind action="Run" device="Keyboard" input="KEY_LSHIFT" /> <bind action="MouseLookX" device="Mouse" input="MOUSEAXIS_X" /> <bind action="MouseLookY" device="Mouse" input="MOUSEAXIS_Y" /> </gameinput> -- @--@---@---@----@-----@------@------@-----@----@---@---@--@ Kevin Meinert __ _ __ http://www.vrac.iastate.edu/~kevn \ || \| \ / ` Virtual Reality Applications Center \ ||.-'|--\\ Howe Hall, Iowa State University, Ames Iowa \|| \| \`__, ----------------------------------------------------------- |
From: Kevin M. <ke...@vr...> - 2002-01-31 14:04:15
|
When I build current CVS, it didn't work. It tries to find the .so in src/.libs/.libs/libxmlpp.so I edited the generated makefile at line 84 to read: LDADD = -L../src/ -lxmlpp (it had been LDADD = -L../src/.libs/ -lxmlpp) Now, the nodetest generates as "nodetest.C" which is executable. the .C must be the $(OBJEXT) variable... -- @--@---@---@----@-----@------@------@-----@----@---@---@--@ Kevin Meinert __ _ __ http://www.vrac.iastate.edu/~kevn \ || \| \ / ` Virtual Reality Applications Center \ ||.-'|--\\ Howe Hall, Iowa State University, Ames Iowa \|| \| \`__, ----------------------------------------------------------- |