13:46:58 #startmeeting jQuery/Xpath for MD-SAL intern 13:46:58 Meeting started Mon Jul 7 13:46:58 2014 UTC. The chair is colindixon. Information about MeetBot at http://ci.openstack.org/meetbot.html. 13:46:58 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:46:58 The meeting name has been set to 'jquery_xpath_for_md_sal_intern' 13:47:16 #info Neel_B has code that shows we didn’t quite understand what we needed to make things work 13:48:30 #info it appears as though ThrowExceptionNode should have extended Element instead of Node 13:49:06 All the functions in Node and Element are same(almost) 13:49:13 Note: In my quick testing, it doesn’t appear we need to implement any of the new methods, just has to be that interface. 13:50:51 yup 13:50:58 i just observed 13:51:00 tjat 13:51:05 that* 13:51:38 but one or 2 functions to be implemented 13:52:13 i will complete it and we will know if this problem is solved or not 13:53:07 #info also for whatever reason we’re still getting “#document” when we call getNodeName() on the root 13:53:27 #action Neel_B to make ThrowExceptionNode extend Element 13:53:33 colindixon: i guess that is how it should be 13:53:43 #document should be the root 13:54:00 followed by a then its children 13:54:09 #action Neel_B to also figure out what function on the root node actually returns “a” and change that test case to match reality 13:54:30 yeah, I wonder if the root has one child who’s nodeName is “a” 13:54:34 but you can check that 13:54:35 yeah 13:54:37 it has 13:54:42 ok 13:54:50 i checked while iwas playing 13:55:07 so, change the test to assertEquals(a, root.getFirstChild().getNodeName() ); 13:55:08 or something 13:55:21 yeah 13:55:23 that works 13:55:34 that fixes it 13:56:05 i will implement the element node functions and get back to you tomorrow 13:56:19 also i tried ping example mean while 13:56:33 now we need .getNodeValue() 13:56:51 i was getting some errors 13:57:10 will ask you those too 13:57:17 next time we meet 13:58:00 yeah 13:58:12 presently i put node value as null to all 14:00:03 well, you have a String nodeValue in NodeBuilder 14:00:44 so just return that 14:01:09 HardCodedNodeBuilder() i put that arguement as null 14:01:16 i will change it soon 14:05:29 now I’m getting a NullPointerException 14:06:05 what did you try ? 14:07:36 adding the implementation for getNodeValue() 14:11:57 I did the following: 14:11:58 all the element nodes should have node value null 14:12:21 1.) added implements Element instead of implements Node 14:13:05 okay 14:13:37 2.) added all of those element 14:14:07 methods 14:14:16 I should add throws to them 14:14:37 actually turns out that what i have written in HardCodedNodeBuilder() are right 14:14:46 nothing has to be changed 14:15:08 in terms of getNodeValue() 14:15:13 ok 14:15:17 I had to add getNodeValue() 14:16:21 here are the diffs I have so far: https://gist.github.com/anonymous/5d09817275d3b9659ef2 14:16:27 I think that the NullPointerException 14:16:34 is coming from one of the methods from Element 14:16:37 but I’m not getting an exception 14:16:41 because I didn’t do that right 14:17:09 so if you could add throw new NotSupportedException() to all the new methods in the ThrowsExceptionNode 14:17:10 that would be great 14:17:17 sorry i forgot to push the value part 14:17:24 i added it last 14:17:43 i thought i pushed it 14:18:16 i have to implement getTextContent() 14:18:37 which is a bit complex but will try to implement ot 14:19:20 #action Neel_B to make sure that all the new methods (from Element) in ThrowsExceptionNode (which should really now be ThrowsExceptionElement) actually throw exceptions so that we can quickly tell which ones we need to implement 14:19:33 i am having a powercut here i battery will last only some time so if wecan wrap fast that would be great 14:19:35 #info Neel_B says he has to also implement getTextContent() 14:19:40 sure 14:19:41 my battery* 14:19:47 so these seem like good action times 14:19:51 can we touch base tomorrow again 14:19:56 sure 14:19:58 ok 14:19:59 sounds good 14:20:03 will e-mail these notes 14:20:05 #endmeeting