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 |