Re: revXMLNodeContents
Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII On 8/19/05 7:37 PM, Martin BLACKMAN [EMAIL PROTECTED] wrote: Could anyone comment on whether the behaviour of the first example below is correct ? I would have thought that both outputs should be the same ?? put rootThis is childa test/child/root into tXML put revcreateXMLtree(tXML,false,true,true) into tID put revXMLRootNode(tID) into tnode answer revXMLNodeContents(tID,tnode) --Outputs 'this is a test' put rootThis is wrapchilda test/child/wrap/root into tXML put revcreateXMLtree(tXML,false,true,true) into tID put revXMLRootNode(tID) into tnode answer revXMLNodeContents(tID,tnode) --Outputs 'this is ' Personally, I think this is a bug - on two levels: 1) Since the wrap tag has no text contents, it stops revXMLNodeContents from going any deeper than This is . (If you did wrapcertainly child ... and ran it, you'd get This is certainly a test.) 2) To my understanding, revXMLNodeContents shouldn't go to any children of the node you identify - it should always return This is . Personally, I'd log it is a bug in Bugzilla... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] OK I will bugzilla it. Wow, my first BZ ! aside I've written thousands of lines of transcript in the project I'm working on and while this is maybe not the first Rev bug I've come across, its the only one that could affect the data processing. So its still a big two thumbs up for Rev/aside ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revXMLNodeContents
Bug 3072 now assigned to this. regards Martin Blackman On 20/08/05, Martin BLACKMAN [EMAIL PROTECTED] wrote: Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII On 8/19/05 7:37 PM, Martin BLACKMAN [EMAIL PROTECTED] wrote: Could anyone comment on whether the behaviour of the first example below is correct ? I would have thought that both outputs should be the same ?? put rootThis is childa test/child/root into tXML put revcreateXMLtree(tXML,false,true,true) into tID put revXMLRootNode(tID) into tnode answer revXMLNodeContents(tID,tnode) --Outputs 'this is a test' put rootThis is wrapchilda test/child/wrap/root into tXML put revcreateXMLtree(tXML,false,true,true) into tID put revXMLRootNode(tID) into tnode answer revXMLNodeContents(tID,tnode) --Outputs 'this is ' Personally, I think this is a bug - on two levels: 1) Since the wrap tag has no text contents, it stops revXMLNodeContents from going any deeper than This is . (If you did wrapcertainly child ... and ran it, you'd get This is certainly a test.) 2) To my understanding, revXMLNodeContents shouldn't go to any children of the node you identify - it should always return This is . Personally, I'd log it is a bug in Bugzilla... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] OK I will bugzilla it. Wow, my first BZ ! aside I've written thousands of lines of transcript in the project I'm working on and while this is maybe not the first Rev bug I've come across, its the only one that could affect the data processing. So its still a big two thumbs up for Rev/aside ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revXMLNodeContents
On 8/19/05 7:37 PM, Martin BLACKMAN [EMAIL PROTECTED] wrote: Could anyone comment on whether the behaviour of the first example below is correct ? I would have thought that both outputs should be the same ?? put rootThis is childa test/child/root into tXML put revcreateXMLtree(tXML,false,true,true) into tID put revXMLRootNode(tID) into tnode answer revXMLNodeContents(tID,tnode) --Outputs 'this is a test' put rootThis is wrapchilda test/child/wrap/root into tXML put revcreateXMLtree(tXML,false,true,true) into tID put revXMLRootNode(tID) into tnode answer revXMLNodeContents(tID,tnode) --Outputs 'this is ' Personally, I think this is a bug - on two levels: 1) Since the wrap tag has no text contents, it stops revXMLNodeContents from going any deeper than This is . (If you did wrapcertainly child ... and ran it, you'd get This is certainly a test.) 2) To my understanding, revXMLNodeContents shouldn't go to any children of the node you identify - it should always return This is . Personally, I'd log it is a bug in Bugzilla... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution