From: <D.D...@ak...> - 2011-04-12 13:43:29
|
<font face="Sans Serif predefinito,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi everyone,<br><br>I'm working on the Java to Objective-C part of XMLVM, and I need to implement a DOM parser for my project. I've noticed however that only NSXMLParser is available in XMLVM,<br>whereas I was thinking about using libxml, which is a C-based parser incuded in the iOS SDK. Do you have any idea of how I could accomplish this?<br>The first step would be to add the library in the Header Search Path of the Project Setting, but I don't know where these settings are stored in XMLVM. <br>Successively I think I should create some interface for the libxml classes in the Obj-C and Java compatibility libraries.<br>Do you think it might be possible? <br>Of course I'd be very happy to share my contribution should I be able to do this.<br><br>Thank you,<br><br>Domenico<br></div></font> |
From: Panayotis K. <pan...@pa...> - 2011-04-12 14:20:23
|
On 12 Απρ 2011, at 4:43 μ.μ., D.D...@ak... wrote: > Hi everyone, > > I'm working on the Java to Objective-C part of XMLVM, and I need to implement a DOM parser for my project. I've noticed however that only NSXMLParser is available in XMLVM, > whereas I was thinking about using libxml, which is a C-based parser incuded in the iOS SDK. Do you have any idea of how I could accomplish this? > The first step would be to add the library in the Header Search Path of the Project Setting, but I don't know where these settings are stored in XMLVM. > Successively I think I should create some interface for the libxml classes in the Obj-C and Java compatibility libraries. > Do you think it might be possible? > Of course I'd be very happy to share my contribution should I be able to do this. > > Thank you, > > Domenico Have a look at the "zip" plugin. I think this should be enough to get started. |
From: Arno P. <ar...@pu...> - 2011-04-12 19:56:41
|
my suggestion would be to use the C backend and simply cross-compile a Java implementation of a DOM parser. Not sure, but there might already be one in Harmony that is bundled with XMLVM. Arno On 4/12/11 6:43 AM, D.D...@ak... wrote: > Hi everyone, > > I'm working on the Java to Objective-C part of XMLVM, and I need to > implement a DOM parser for my project. I've noticed however that only > NSXMLParser is available in XMLVM, > whereas I was thinking about using libxml, which is a C-based parser > incuded in the iOS SDK. Do you have any idea of how I could accomplish this? > The first step would be to add the library in the Header Search Path of > the Project Setting, but I don't know where these settings are stored in > XMLVM. > Successively I think I should create some interface for the libxml > classes in the Obj-C and Java compatibility libraries. > Do you think it might be possible? > Of course I'd be very happy to share my contribution should I be able to > do this. > > Thank you, > > Domenico > > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > > > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |
From: <D.D...@ak...> - 2011-04-13 08:02:01
|
<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi,<br><br>Thank you for your help, surely the zip plugin is a good reference to start. Sorry Arno, I'm not too sure I understood what you suggested.<br>Do you mean that I should create the Objective-C classes for the DOM Java parser using the existing C backend?<br><br>Thanks,<br><br>Domenico<br></div><font color="#990099">-----Arno Puder <a class="moz-txt-link-rfc2396E" href="mailto:ar...@pu..."><ar...@pu...></a> a écrit : -----<br><br></font><blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: 2px solid #000000; margin-right: 0px;">A : <a class="moz-txt-link-abbreviated" href="mailto:xml...@li...">xml...@li...</a><br>De : Arno Puder <a class="moz-txt-link-rfc2396E" href="mailto:ar...@pu..."><ar...@pu...></a><br>Date : 12/04/2011 21:56<br>Objet : Re: [xmlvm-dev] Objective-C XML Parser<br><br><font face="Courier New,Courier,monospace" size="3"><br>my suggestion would be to use the C backend and simply cross-compile a <br>Java implementation of a DOM parser. Not sure, but there might already <br>be one in Harmony that is bundled with XMLVM.<br><br>Arno<br><br><br>On 4/12/11 6:43 AM, <a class="moz-txt-link-abbreviated" href="mailto:D.D...@ak...">D.D...@ak...</a> wrote:<br>> Hi everyone,<br>><br>> I'm working on the Java to Objective-C part of XMLVM, and I need to<br>> implement a DOM parser for my project. I've noticed however that only<br>> NSXMLParser is available in XMLVM,<br>> whereas I was thinking about using libxml, which is a C-based parser<br>> incuded in the iOS SDK. Do you have any idea of how I could accomplish this?<br>> The first step would be to add the library in the Header Search Path of<br>> the Project Setting, but I don't know where these settings are stored in<br>> XMLVM.<br>> Successively I think I should create some interface for the libxml<br>> classes in the Obj-C and Java compatibility libraries.<br>> Do you think it might be possible?<br>> Of course I'd be very happy to share my contribution should I be able to<br>> do this.<br>><br>> Thank you,<br>><br>> Domenico<br>><br>><br>><br>> ------------------------------------------------------------------------------<br>> Forrester Wave Report - Recovery time is now measured in hours and minutes<br>> not days. Key insights are discussed in the 2010 Forrester Wave Report as<br>> part of an in-depth evaluation of disaster recovery service providers.<br>> Forrester found the best-in-class provider in terms of services and vision.<br>> Read this report now! <a href="http://p.sf.net/sfu/ibm-webcastpromo">http://p.sf.net/sfu/ibm-webcastpromo</a><br>><br>><br>><br>> _______________________________________________<br>> Xmlvm-developers mailing list<br>> <a class="moz-txt-link-abbreviated" href="mailto:Xml...@li...">Xml...@li...</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers">https://lists.sourceforge.net/lists/listinfo/xmlvm-developers</a><br><br>------------------------------------------------------------------------------<br>Forrester Wave Report - Recovery time is now measured in hours and minutes<br>not days. Key insights are discussed in the 2010 Forrester Wave Report as<br>part of an in-depth evaluation of disaster recovery service providers.<br>Forrester found the best-in-class provider in terms of services and vision.<br>Read this report now! <a href="http://p.sf.net/sfu/ibm-webcastpromo">http://p.sf.net/sfu/ibm-webcastpromo</a><br>_______________________________________________<br>Xmlvm-developers mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:Xml...@li...">Xml...@li...</a><br><a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers">https://lists.sourceforge.net/lists/listinfo/xmlvm-developers</a><br></font> </blockquote><br></font> |
From: Arno P. <ar...@pu...> - 2011-04-13 10:19:54
|
The Objective-C backend has many deficiencies. We are working full steam on the new C backend. There are Java implementations of DOM parsers. My suggestion is to simply cross compile this to C. I'm not sure if Harmony already has a DOM parser included. I'm not properly online to check right now. Arno On Apr 13, 2011, at 10:02 AM, "D.D...@ak..." <D.D...@ak...> wrote: Hi, Thank you for your help, surely the zip plugin is a good reference to start. Sorry Arno, I'm not too sure I understood what you suggested. Do you mean that I should create the Objective-C classes for the DOM Java parser using the existing C backend? Thanks, Domenico -----Arno Puder <ar...@pu...> <ar...@pu...> a écrit : ----- A : xml...@li... De : Arno Puder <ar...@pu...> <ar...@pu...> Date : 12/04/2011 21:56 Objet : Re: [xmlvm-dev] Objective-C XML Parser my suggestion would be to use the C backend and simply cross-compile a Java implementation of a DOM parser. Not sure, but there might already be one in Harmony that is bundled with XMLVM. Arno On 4/12/11 6:43 AM, D.D...@ak... wrote: > Hi everyone, > > I'm working on the Java to Objective-C part of XMLVM, and I need to > implement a DOM parser for my project. I've noticed however that only > NSXMLParser is available in XMLVM, > whereas I was thinking about using libxml, which is a C-based parser > incuded in the iOS SDK. Do you have any idea of how I could accomplish this? > The first step would be to add the library in the Header Search Path of > the Project Setting, but I don't know where these settings are stored in > XMLVM. > Successively I think I should create some interface for the libxml > classes in the Obj-C and Java compatibility libraries. > Do you think it might be possible? > Of course I'd be very happy to share my contribution should I be able to > do this. > > Thank you, > > Domenico > > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > > > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Xmlvm-developers mailing list Xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-developers ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Xmlvm-developers mailing list Xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |
From: <D.D...@ak...> - 2011-04-13 13:05:37
|
<font face="Sans Serif predefinito,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi Arno,<br><br>Thanks for your help. Do you think I might already be able to cross-compile all of my project to the C backend? If so, how can I do this while keeping the iPhone skeleton?<br><br>Domenico<br><br></div><font color="#990099">-----Arno Puder <a class="moz-txt-link-rfc2396E" href="mailto:ar...@pu..."><ar...@pu...></a> ha scritto: -----<br><br></font><blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: 2px solid #000000; margin-right: 0px;">Per: <a class="moz-txt-link-rfc2396E" href="mailto:D.D...@ak...">"D.D...@ak..."</a> <a class="moz-txt-link-rfc2396E" href="mailto:D.D...@ak..."><D.D...@ak...></a><br>Da: Arno Puder <a class="moz-txt-link-rfc2396E" href="mailto:ar...@pu..."><ar...@pu...></a><br>Data: 13/04/2011 12.20PM<br>Cc: <a class="moz-txt-link-rfc2396E" href="mailto:xml...@li...">"xml...@li..."</a> <a class="moz-txt-link-rfc2396E" href="mailto:xml...@li..."><xml...@li...></a><br>Oggetto: Re: [xmlvm-dev] Objective-C XML Parser<br><br><div><br></div><div>The Objective-C backend has many deficiencies. We are working full steam on the new C backend. There are Java implementations of DOM parsers. My suggestion is to simply cross compile this to C. I'm not sure if Harmony already has a DOM parser included. I'm not properly online to check right now.</div> <div><br></div><div>Arno<br><br>On Apr 13, 2011, at 10:02 AM, "<a href="mailto:D.D...@ak...">D.D...@ak...</a>" <<a href="mailto:D.D...@ak...">D.D...@ak...</a>> wrote:<br><br></div><div></div> <blockquote type="cite"><div><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi,<br><br>Thank you for your help, surely the zip plugin is a good reference to start. Sorry Arno, I'm not too sure I understood what you suggested.<br> Do you mean that I should create the Objective-C classes for the DOM Java parser using the existing C backend?<br><br>Thanks,<br><br>Domenico<br></div><font color="#990099">-----Arno Puder <a class="moz-txt-link-rfc2396E" href="mailto:ar...@pu..."><</a><a href="mailto:ar...@pu...">ar...@pu...</a>> a écrit : -----<br><br></font><blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: 2px solid #000000; margin-right: 0px;">A : <a class="moz-txt-link-abbreviated" href="mailto:xml...@li..."></a><a href="mailto:xml...@li...">xml...@li...</a><br> De : Arno Puder <a class="moz-txt-link-rfc2396E" href="mailto:ar...@pu..."><</a><a href="mailto:ar...@pu...">ar...@pu...</a>><br>Date : 12/04/2011 21:56<br>Objet : Re: [xmlvm-dev] Objective-C XML Parser<br><br><font face="Courier New,Courier,monospace" size="3"><br>my suggestion would be to use the C backend and simply cross-compile a <br>Java implementation of a DOM parser. Not sure, but there might already <br>be one in Harmony that is bundled with XMLVM.<br><br>Arno<br><br><br>On 4/12/11 6:43 AM, <a class="moz-txt-link-abbreviated" href="mailto:D.D...@ak..."></a><a href="mailto:D.D...@ak...">D.D...@ak...</a> wrote:<br>> Hi everyone,<br>><br>> I'm working on the Java to Objective-C part of XMLVM, and I need to<br> > implement a DOM parser for my project. I've noticed however that only<br>> NSXMLParser is available in XMLVM,<br>> whereas I was thinking about using libxml, which is a C-based parser<br>> incuded in the iOS SDK. Do you have any idea of how I could accomplish this?<br> > The first step would be to add the library in the Header Search Path of<br>> the Project Setting, but I don't know where these settings are stored in<br>> XMLVM.<br>> Successively I think I should create some interface for the libxml<br> > classes in the Obj-C and Java compatibility libraries.<br>> Do you think it might be possible?<br>> Of course I'd be very happy to share my contribution should I be able to<br>> do this.<br>><br>> Thank you,<br> ><br>> Domenico<br>><br>><br>><br>> ------------------------------------------------------------------------------<br>> Forrester Wave Report - Recovery time is now measured in hours and minutes<br>> not days. Key insights are discussed in the 2010 Forrester Wave Report as<br> > part of an in-depth evaluation of disaster recovery service providers.<br>> Forrester found the best-in-class provider in terms of services and vision.<br>> Read this report now! <a href="http://p.sf.net/sfu/ibm-webcastpromo"></a><a href="http://p.sf.net/sfu/ibm-webcastpromo">http://p.sf.net/sfu/ibm-webcastpromo</a><br> ><br>><br>><br>> _______________________________________________<br>> Xmlvm-developers mailing list<br>> <a class="moz-txt-link-abbreviated" href="mailto:Xml...@li..."></a><a href="mailto:Xml...@li...">Xml...@li...</a><br> > <a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers"></a><a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers">https://lists.sourceforge.net/lists/listinfo/xmlvm-developers</a><br><br>------------------------------------------------------------------------------<br>Forrester Wave Report - Recovery time is now measured in hours and minutes<br>not days. Key insights are discussed in the 2010 Forrester Wave Report as<br> part of an in-depth evaluation of disaster recovery service providers.<br>Forrester found the best-in-class provider in terms of services and vision.<br>Read this report now! <a href="http://p.sf.net/sfu/ibm-webcastpromo"></a><a href="http://p.sf.net/sfu/ibm-webcastpromo">http://p.sf.net/sfu/ibm-webcastpromo</a><br> _______________________________________________<br>Xmlvm-developers mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:Xml...@li..."></a><a href="mailto:Xml...@li...">Xml...@li...</a><br> <a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers"></a><a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers">https://lists.sourceforge.net/lists/listinfo/xmlvm-developers</a><br></font> </blockquote><br></font> </div></blockquote><blockquote type="cite"><div><span>------------------------------------------------------------------------------</span><br><span>Forrester Wave Report - Recovery time is now measured in hours and minutes</span><br> <span>not days. Key insights are discussed in the 2010 Forrester Wave Report as</span><br><span>part of an in-depth evaluation of disaster recovery service providers.</span><br><span>Forrester found the best-in-class provider in terms of services and vision.</span><br> <span>Read this report now! <a href="http://p.sf.net/sfu/ibm-webcastpromo"></a><a href="http://p.sf.net/sfu/ibm-webcastpromo">http://p.sf.net/sfu/ibm-webcastpromo</a></span></div></blockquote><blockquote type="cite"><div> <span>_______________________________________________</span><br><span>Xmlvm-developers mailing list</span><br><span><a href="mailto:Xml...@li...">Xml...@li...</a></span><br> <span><a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers">https://lists.sourceforge.net/lists/listinfo/xmlvm-developers</a></span><br></div></blockquote></blockquote><br></font> |
From: <D.D...@ak...> - 2011-04-14 15:07:41
|
<font face="Sans Serif predefinito,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi,<br><br>After reading more of the mailing list archives, I think I have a better idea of Arno's suggestions. <br>First of all, I understood that a C backend implementation for iPhone applications is not suggested yet<br>and thus not included in the documentation.<br>Secondly, I uderstood that I can cross-compile a Java parser (for instance, I have KXML) to the C backend<br>as a separate project, am I right? Successively, I should try to use the output C code in my original project,<br>although I don't have a clear idea of how to this. Do I need to create a plugin using the Java parser and the cross-compiled<br>C version?<br>Moreover, I tried to cross-compile the parser with the following command<br> <br>java -Xmx1G -jar xmlvm.jar --in=kxml --out=kxml-c --app-name=kxml --target=c<br><br>but even if the output files are generated, I obtain errors like<br><br>[04/14/11 16:36:35.058] ERROR: Vtable for java.lang.String not found!<br><br>for every java library class.<br>What am I doing wrong? <br><br>Thank you very much for your help.<br><br>Domenico<br><br><br><br></div><font color="#990099">-----Arno Puder <a class="moz-txt-link-rfc2396E" href="mailto:ar...@pu..."><ar...@pu...></a> ha scritto: -----<br><br></font><blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: 2px solid #000000; margin-right: 0px;">Per: <a class="moz-txt-link-abbreviated" href="mailto:xml...@li...">xml...@li...</a><br>Da: Arno Puder <a class="moz-txt-link-rfc2396E" href="mailto:ar...@pu..."><ar...@pu...></a><br>Data: 12/04/2011 09.56PM<br>Oggetto: Re: [xmlvm-dev] Objective-C XML Parser<br><br><font face="Courier New,Courier,monospace" size="3"><br>my suggestion would be to use the C backend and simply cross-compile a <br>Java implementation of a DOM parser. Not sure, but there might already <br>be one in Harmony that is bundled with XMLVM.<br><br>Arno<br><br><br>On 4/12/11 6:43 AM, <a class="moz-txt-link-abbreviated" href="mailto:D.D...@ak...">D.D...@ak...</a> wrote:<br>> Hi everyone,<br>><br>> I'm working on the Java to Objective-C part of XMLVM, and I need to<br>> implement a DOM parser for my project. I've noticed however that only<br>> NSXMLParser is available in XMLVM,<br>> whereas I was thinking about using libxml, which is a C-based parser<br>> incuded in the iOS SDK. Do you have any idea of how I could accomplish this?<br>> The first step would be to add the library in the Header Search Path of<br>> the Project Setting, but I don't know where these settings are stored in<br>> XMLVM.<br>> Successively I think I should create some interface for the libxml<br>> classes in the Obj-C and Java compatibility libraries.<br>> Do you think it might be possible?<br>> Of course I'd be very happy to share my contribution should I be able to<br>> do this.<br>><br>> Thank you,<br>><br>> Domenico<br>><br>><br>><br>> ------------------------------------------------------------------------------<br>> Forrester Wave Report - Recovery time is now measured in hours and minutes<br>> not days. Key insights are discussed in the 2010 Forrester Wave Report as<br>> part of an in-depth evaluation of disaster recovery service providers.<br>> Forrester found the best-in-class provider in terms of services and vision.<br>> Read this report now! <a href="http://p.sf.net/sfu/ibm-webcastpromo">http://p.sf.net/sfu/ibm-webcastpromo</a><br>><br>><br>><br>> _______________________________________________<br>> Xmlvm-developers mailing list<br>> <a class="moz-txt-link-abbreviated" href="mailto:Xml...@li...">Xml...@li...</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers">https://lists.sourceforge.net/lists/listinfo/xmlvm-developers</a><br><br>------------------------------------------------------------------------------<br>Forrester Wave Report - Recovery time is now measured in hours and minutes<br>not days. Key insights are discussed in the 2010 Forrester Wave Report as<br>part of an in-depth evaluation of disaster recovery service providers.<br>Forrester found the best-in-class provider in terms of services and vision.<br>Read this report now! <a href="http://p.sf.net/sfu/ibm-webcastpromo">http://p.sf.net/sfu/ibm-webcastpromo</a><br>_______________________________________________<br>Xmlvm-developers mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:Xml...@li...">Xml...@li...</a><br><a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers">https://lists.sourceforge.net/lists/listinfo/xmlvm-developers</a><br></font> </blockquote><br></font> |
From: Arno P. <ar...@pu...> - 2011-04-14 15:12:38
|
can you please try to cross-compile kxml using --target=posix and report back? Arno On 4/14/11 8:08 AM, D.D...@ak... wrote: > Hi, > > After reading more of the mailing list archives, I think I have a better > idea of Arno's suggestions. > First of all, I understood that a C backend implementation for iPhone > applications is not suggested yet > and thus not included in the documentation. > Secondly, I uderstood that I can cross-compile a Java parser (for > instance, I have KXML) to the C backend > as a separate project, am I right? Successively, I should try to use the > output C code in my original project, > although I don't have a clear idea of how to this. Do I need to create a > plugin using the Java parser and the cross-compiled > C version? > Moreover, I tried to cross-compile the parser with the following command > > java -Xmx1G -jar xmlvm.jar --in=kxml --out=kxml-c --app-name=kxml --target=c > > but even if the output files are generated, I obtain errors like > > [04/14/11 16:36:35.058] ERROR: Vtable for java.lang.String not found! > > for every java library class. > What am I doing wrong? > > Thank you very much for your help. > > Domenico > > > > -----Arno Puder <ar...@pu...> ha scritto: ----- > > Per: xml...@li... > Da: Arno Puder <ar...@pu...> > Data: 12/04/2011 09.56PM > Oggetto: Re: [xmlvm-dev] Objective-C XML Parser > > > my suggestion would be to use the C backend and simply cross-compile a > Java implementation of a DOM parser. Not sure, but there might already > be one in Harmony that is bundled with XMLVM. > > Arno > > > On 4/12/11 6:43 AM, D.D...@ak... wrote: > > Hi everyone, > > > > I'm working on the Java to Objective-C part of XMLVM, and I need to > > implement a DOM parser for my project. I've noticed however that only > > NSXMLParser is available in XMLVM, > > whereas I was thinking about using libxml, which is a C-based parser > > incuded in the iOS SDK. Do you have any idea of how I could > accomplish this? > > The first step would be to add the library in the Header Search > Path of > > the Project Setting, but I don't know where these settings are > stored in > > XMLVM. > > Successively I think I should create some interface for the libxml > > classes in the Obj-C and Java compatibility libraries. > > Do you think it might be possible? > > Of course I'd be very happy to share my contribution should I be > able to > > do this. > > > > Thank you, > > > > Domenico > > > > > > > > > ------------------------------------------------------------------------------ > > Forrester Wave Report - Recovery time is now measured in hours > and minutes > > not days. Key insights are discussed in the 2010 Forrester Wave > Report as > > part of an in-depth evaluation of disaster recovery service > providers. > > Forrester found the best-in-class provider in terms of services > and vision. > > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > > > > > > > _______________________________________________ > > Xmlvm-developers mailing list > > Xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and > minutes > not days. Key insights are discussed in the 2010 Forrester Wave > Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and > vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > > > > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |
From: <D.D...@ak...> - 2011-04-14 15:23:36
|
<font face="Sans Serif predefinito,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi Arno,<br><br>using the posix target i get the following error, and this time the output folder isn't ven created at all<br><br>Exception in thread "main" java.lang.reflect.InvocationTargetException<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br> at java.lang.reflect.Method.invoke(Method.java:597)<br> at com.simontuffs.onejar.Boot.run(Boot.java:306)<br> at com.simontuffs.onejar.Boot.main(Boot.java:159)<br>Caused by: java.lang.NullPointerException<br> at org.xmlvm.proc.CompilationBundle.addResources(CompilationBundle.java:44)<br> at org.xmlvm.proc.out.RecursiveResourceLoadingProcess.processPhase1(RecursiveResourceLoadingProcess.java:63)<br> at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:209)<br> at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206)<br> at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206)<br> at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206)<br> at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206)<br> at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206)<br> at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:157)<br> at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:137)<br> at org.xmlvm.Main.main(Main.java:53)<br> ... 6 more<br><br><br>Thanks<br></div><font color="#990099"><br><br><br>-----Arno Puder <a class="moz-txt-link-rfc2396E" href="mailto:ar...@pu..."><ar...@pu...></a> ha scritto: -----<br><br></font><blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: 2px solid #000000; margin-right: 0px;">Per: <a class="moz-txt-link-abbreviated" href="mailto:xml...@li...">xml...@li...</a><br>Da: Arno Puder <a class="moz-txt-link-rfc2396E" href="mailto:ar...@pu..."><ar...@pu...></a><br>Data: 14/04/2011 05.12PM<br>Oggetto: Re: [xmlvm-dev] Objective-C XML Parser<br><br><font face="Courier New,Courier,monospace" size="3"><br>can you please try to cross-compile kxml using --target=posix and report <br>back?<br><br>Arno<br><br><br>On 4/14/11 8:08 AM, <a class="moz-txt-link-abbreviated" href="mailto:D.D...@ak...">D.D...@ak...</a> wrote:<br>> Hi,<br>><br>> After reading more of the mailing list archives, I think I have a better<br>> idea of Arno's suggestions.<br>> First of all, I understood that a C backend implementation for iPhone<br>> applications is not suggested yet<br>> and thus not included in the documentation.<br>> Secondly, I uderstood that I can cross-compile a Java parser (for<br>> instance, I have KXML) to the C backend<br>> as a separate project, am I right? Successively, I should try to use the<br>> output C code in my original project,<br>> although I don't have a clear idea of how to this. Do I need to create a<br>> plugin using the Java parser and the cross-compiled<br>> C version?<br>> Moreover, I tried to cross-compile the parser with the following command<br>><br>> java -Xmx1G -jar xmlvm.jar --in=kxml --out=kxml-c --app-name=kxml --target=c<br>><br>> but even if the output files are generated, I obtain errors like<br>><br>> [04/14/11 16:36:35.058] ERROR: Vtable for java.lang.String not found!<br>><br>> for every java library class.<br>> What am I doing wrong?<br>><br>> Thank you very much for your help.<br>><br>> Domenico<br>><br>><br>><br>> -----Arno Puder <a class="moz-txt-link-rfc2396E" href="mailto:ar...@pu..."><ar...@pu...></a> ha scritto: -----<br>><br>> Per: <a class="moz-txt-link-abbreviated" href="mailto:xml...@li...">xml...@li...</a><br>> Da: Arno Puder <a class="moz-txt-link-rfc2396E" href="mailto:ar...@pu..."><ar...@pu...></a><br>> Data: 12/04/2011 09.56PM<br>> Oggetto: Re: [xmlvm-dev] Objective-C XML Parser<br>><br>><br>> my suggestion would be to use the C backend and simply cross-compile a<br>> Java implementation of a DOM parser. Not sure, but there might already<br>> be one in Harmony that is bundled with XMLVM.<br>><br>> Arno<br>><br>><br>> On 4/12/11 6:43 AM, <a class="moz-txt-link-abbreviated" href="mailto:D.D...@ak...">D.D...@ak...</a> wrote:<br>> > Hi everyone,<br>> ><br>> > I'm working on the Java to Objective-C part of XMLVM, and I need to<br>> > implement a DOM parser for my project. I've noticed however that only<br>> > NSXMLParser is available in XMLVM,<br>> > whereas I was thinking about using libxml, which is a C-based parser<br>> > incuded in the iOS SDK. Do you have any idea of how I could<br>> accomplish this?<br>> > The first step would be to add the library in the Header Search<br>> Path of<br>> > the Project Setting, but I don't know where these settings are<br>> stored in<br>> > XMLVM.<br>> > Successively I think I should create some interface for the libxml<br>> > classes in the Obj-C and Java compatibility libraries.<br>> > Do you think it might be possible?<br>> > Of course I'd be very happy to share my contribution should I be<br>> able to<br>> > do this.<br>> ><br>> > Thank you,<br>> ><br>> > Domenico<br>> ><br>> ><br>> ><br>> ><br>> ------------------------------------------------------------------------------<br>> > Forrester Wave Report - Recovery time is now measured in hours<br>> and minutes<br>> > not days. Key insights are discussed in the 2010 Forrester Wave<br>> Report as<br>> > part of an in-depth evaluation of disaster recovery service<br>> providers.<br>> > Forrester found the best-in-class provider in terms of services<br>> and vision.<br>> > Read this report now! <a href="http://p.sf.net/sfu/ibm-webcastpromo">http://p.sf.net/sfu/ibm-webcastpromo</a><br>> ><br>> ><br>> ><br>> > _______________________________________________<br>> > Xmlvm-developers mailing list<br>> > <a class="moz-txt-link-abbreviated" href="mailto:Xml...@li...">Xml...@li...</a><br>> > <a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers">https://lists.sourceforge.net/lists/listinfo/xmlvm-developers</a><br>><br>> ------------------------------------------------------------------------------<br>> Forrester Wave Report - Recovery time is now measured in hours and<br>> minutes<br>> not days. Key insights are discussed in the 2010 Forrester Wave<br>> Report as<br>> part of an in-depth evaluation of disaster recovery service providers.<br>> Forrester found the best-in-class provider in terms of services and<br>> vision.<br>> Read this report now! <a href="http://p.sf.net/sfu/ibm-webcastpromo">http://p.sf.net/sfu/ibm-webcastpromo</a><br>> _______________________________________________<br>> Xmlvm-developers mailing list<br>> <a class="moz-txt-link-abbreviated" href="mailto:Xml...@li...">Xml...@li...</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers">https://lists.sourceforge.net/lists/listinfo/xmlvm-developers</a><br>><br>><br>><br>><br>> ------------------------------------------------------------------------------<br>> Benefiting from Server Virtualization: Beyond Initial Workload<br>> Consolidation -- Increasing the use of server virtualization is a top<br>> priority.Virtualization can reduce costs, simplify management, and improve<br>> application availability and disaster protection. Learn more about boosting<br>> the value of server virtualization. <a href="http://p.sf.net/sfu/vmware-sfdev2dev">http://p.sf.net/sfu/vmware-sfdev2dev</a><br>><br>><br>><br>> _______________________________________________<br>> Xmlvm-developers mailing list<br>> <a class="moz-txt-link-abbreviated" href="mailto:Xml...@li...">Xml...@li...</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers">https://lists.sourceforge.net/lists/listinfo/xmlvm-developers</a><br><br>------------------------------------------------------------------------------<br>Benefiting from Server Virtualization: Beyond Initial Workload <br>Consolidation -- Increasing the use of server virtualization is a top<br>priority.Virtualization can reduce costs, simplify management, and improve <br>application availability and disaster protection. Learn more about boosting <br>the value of server virtualization. <a href="http://p.sf.net/sfu/vmware-sfdev2dev">http://p.sf.net/sfu/vmware-sfdev2dev</a><br>_______________________________________________<br>Xmlvm-developers mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:Xml...@li...">Xml...@li...</a><br><a href="https://lists.sourceforge.net/lists/listinfo/xmlvm-developers">https://lists.sourceforge.net/lists/listinfo/xmlvm-developers</a><br></font> </blockquote><br></font> |
From: Arno P. <ar...@pu...> - 2011-04-15 20:38:52
|
please do an update and try again. Arno On 4/14/11 8:23 AM, D.D...@ak... wrote: > Hi Arno, > > using the posix target i get the following error, and this time the > output folder isn't ven created at all > > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at com.simontuffs.onejar.Boot.run(Boot.java:306) > at com.simontuffs.onejar.Boot.main(Boot.java:159) > Caused by: java.lang.NullPointerException > at org.xmlvm.proc.CompilationBundle.addResources(CompilationBundle.java:44) > at > org.xmlvm.proc.out.RecursiveResourceLoadingProcess.processPhase1(RecursiveResourceLoadingProcess.java:63) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:209) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206) > at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:157) > at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:137) > at org.xmlvm.Main.main(Main.java:53) > ... 6 more > > > Thanks > > > > -----Arno Puder <ar...@pu...> ha scritto: ----- > > Per: xml...@li... > Da: Arno Puder <ar...@pu...> > Data: 14/04/2011 05.12PM > Oggetto: Re: [xmlvm-dev] Objective-C XML Parser > > > can you please try to cross-compile kxml using --target=posix and > report > back? > > Arno > > > On 4/14/11 8:08 AM, D.D...@ak... wrote: > > Hi, > > > > After reading more of the mailing list archives, I think I have a > better > > idea of Arno's suggestions. > > First of all, I understood that a C backend implementation for iPhone > > applications is not suggested yet > > and thus not included in the documentation. > > Secondly, I uderstood that I can cross-compile a Java parser (for > > instance, I have KXML) to the C backend > > as a separate project, am I right? Successively, I should try to > use the > > output C code in my original project, > > although I don't have a clear idea of how to this. Do I need to > create a > > plugin using the Java parser and the cross-compiled > > C version? > > Moreover, I tried to cross-compile the parser with the following > command > > > > java -Xmx1G -jar xmlvm.jar --in=kxml --out=kxml-c --app-name=kxml > --target=c > > > > but even if the output files are generated, I obtain errors like > > > > [04/14/11 16:36:35.058] ERROR: Vtable for java.lang.String not found! > > > > for every java library class. > > What am I doing wrong? > > > > Thank you very much for your help. > > > > Domenico > > > > > > > > -----Arno Puder <ar...@pu...> ha scritto: ----- > > > > Per: xml...@li... > > Da: Arno Puder <ar...@pu...> > > Data: 12/04/2011 09.56PM > > Oggetto: Re: [xmlvm-dev] Objective-C XML Parser > > > > > > my suggestion would be to use the C backend and simply > cross-compile a > > Java implementation of a DOM parser. Not sure, but there might > already > > be one in Harmony that is bundled with XMLVM. > > > > Arno > > > > > > On 4/12/11 6:43 AM, D.D...@ak... wrote: > > > Hi everyone, > > > > > > I'm working on the Java to Objective-C part of XMLVM, and I need to > > > implement a DOM parser for my project. I've noticed however > that only > > > NSXMLParser is available in XMLVM, > > > whereas I was thinking about using libxml, which is a C-based > parser > > > incuded in the iOS SDK. Do you have any idea of how I could > > accomplish this? > > > The first step would be to add the library in the Header Search > > Path of > > > the Project Setting, but I don't know where these settings are > > stored in > > > XMLVM. > > > Successively I think I should create some interface for the libxml > > > classes in the Obj-C and Java compatibility libraries. > > > Do you think it might be possible? > > > Of course I'd be very happy to share my contribution should I be > > able to > > > do this. > > > > > > Thank you, > > > > > > Domenico > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Forrester Wave Report - Recovery time is now measured in hours > > and minutes > > > not days. Key insights are discussed in the 2010 Forrester Wave > > Report as > > > part of an in-depth evaluation of disaster recovery service > > providers. > > > Forrester found the best-in-class provider in terms of services > > and vision. > > > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > > > > > > > > > > > _______________________________________________ > > > Xmlvm-developers mailing list > > > Xml...@li... > > > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > > > ------------------------------------------------------------------------------ > > Forrester Wave Report - Recovery time is now measured in hours and > > minutes > > not days. Key insights are discussed in the 2010 Forrester Wave > > Report as > > part of an in-depth evaluation of disaster recovery service > providers. > > Forrester found the best-in-class provider in terms of services and > > vision. > > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > _______________________________________________ > > Xmlvm-developers mailing list > > Xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > > > > > > > > > ------------------------------------------------------------------------------ > > Benefiting from Server Virtualization: Beyond Initial Workload > > Consolidation -- Increasing the use of server virtualization is a top > > priority.Virtualization can reduce costs, simplify management, > and improve > > application availability and disaster protection. Learn more > about boosting > > the value of server virtualization. > http://p.sf.net/sfu/vmware-sfdev2dev > > > > > > > > _______________________________________________ > > Xmlvm-developers mailing list > > Xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and > improve > application availability and disaster protection. Learn more about > boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > > > > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |