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> |