Re: Piriti xml read error

2010-09-02 Thread Harald Pehl
Hi, the idea of the XPath expression is to select an element/node/ atrtribute which contains all necessary information for the mapping. In case of Bus.PickUpPointOptions you have to select a list of Option elements: public class Bus { public interface BusReader extends XmlReaderBus {} public

Re: Piriti xml read error

2010-09-01 Thread Deepak Singh
Hi Harald, I am stuck with the problem defined below. can you pls help on that. Regards Deepak On Sun, Aug 29, 2010 at 12:25 AM, Deepak Singh deepaksingh...@gmail.comwrote: Hi Harald, While running in development mode, It works fine in IE7 but again gives the same exception in chrome. Any

Re: Piriti xml read error

2010-08-28 Thread Deepak Singh
Hi Harald, While running in development mode, It works fine in IE7 but again gives the same exception in chrome. Any solution ? Could u pls let me know the concept of writing XPath with XMLfield. i mean wat would be XPath for a particular xmlfield according to xml ? As for example : Buses

Re: Piriti xml read error

2010-08-27 Thread Deepak Singh
Hi Harald, Thank you very much. It worked fine. I am using piriti in my large project so if in future i get stuck sometime, i will ask again. Thanks Deepak On Thu, Aug 26, 2010 at 5:39 PM, Harald Pehl .p...@googlemail.com wrote: Hi Deepak I finally managed to take a closer look to your

Re: Piriti xml read error

2010-08-26 Thread Harald Pehl
Hi Deepak I finally managed to take a closer look to your issues. I created a playground project with some simple gwt tests. These tests parse the XML you supplied and map the results to StationDetails and Station class. I found out that your code / mapping annotations needed some minor

Re: Piriti xml read error

2010-08-19 Thread Harald Pehl
Could you please provide more information: - Which version of Piriti are you using? - Which browser are you using? - Does the error occur in development and/or production mode? Harald On 18 Aug., 22:03, Deepak Singh deepaksingh...@gmail.com wrote: Hi All, I am using piriti for xml to java

Re: Piriti xml read error

2010-08-19 Thread Deepak Singh
Hi Harald, I am using 0.4 version. Browser is IE7 and chrome, tested on both It happened in development and production bothe modes. Regards Deepak On Thu, Aug 19, 2010 at 2:46 PM, Harald Pehl harald.p...@googlemail.comwrote: Could you please provide more information: - Which version of

Re: Piriti xml read error

2010-08-19 Thread Harald Pehl
Could you please update to Piriti 0.4.1 and make sure that you use the latest version of Totoe (http://code.google.com/p/totoe/). Even if you already use version 0.1, please download again as I there are some small bugfixes which didn't increase the version number (compare the file size of your

Re: Piriti xml read error

2010-08-19 Thread Deepak Singh
Hi Harald, I am using 0.4.1 for piriti and 0.1 for totoe. Still i have the same issue. When i run it on chrome , i get Following plugin has crashed .GWT DMP plugin and on the console Exception in thread Code server for ctshub from Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)

Re: Piriti xml read error

2010-08-19 Thread Deepak Singh
Hi Harald, Apart from this exception mentioned in last post. i am describing my original issue as I have xml as StationDetails Station id12/id nameasd/name /Station Station id12/id nameasd/name /Station Station id12/id

Piriti xml read error

2010-08-18 Thread Deepak Singh
Hi All, I am using piriti for xml to java mapping for my project. I mapped my xml to java and it was working fine. Suddenly i run my application and i got this exception name.pehl.totoe.client.XPathException: (Error): TypeError: Object #an Element has no method 'selectSingleNode' stack: Error: