You can subscribe to this list here.
2011 |
Jan
|
Feb
|
Mar
(38) |
Apr
(34) |
May
(20) |
Jun
(46) |
Jul
(6) |
Aug
(13) |
Sep
(50) |
Oct
(27) |
Nov
(10) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2012 |
Jan
(7) |
Feb
(3) |
Mar
(4) |
Apr
|
May
|
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(1) |
Oct
(2) |
Nov
|
Dec
|
2013 |
Jan
(1) |
Feb
|
Mar
(4) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Markus H. <ma...@ti...> - 2011-05-13 20:04:00
|
Hi, I can build my project fine fpr the simulator. But building for the actual device fails. I'm using the iphonec target. I get the following error: In file included from /Users/markus/Documents/workspace/Kinderlieder/dist/../build/xcode/src/lib/iphone/xmlvm-sock.h:24, from /Users/markus/Documents/workspace/Kinderlieder/dist/../build/xcode/src/app/native_java_net_InetAddress.m:8: /Users/markus/Documents/workspace/Kinderlieder/dist/../build/xcode/src/lib/iphone/hysock.h:43:27: error: sys/socketvar.h: No such file or directory I can just remove the include, and the file is compiled than, but I get another error, that I'm not able to fix: CompileC /Users/markus/Library/Developer/Xcode/DerivedData/Kinderlieder-dqzgewranxvdwnbmzbsuizxevalc/Build/Intermediates/Kinderlieder.build/Debug-iphoneos/Kinderlieder.build/Objects-normal/armv6/atomic_ops_stack.o ../build/xcode/src/lib/boehmgc/atomic_ops_stack.c normal armv6 c com.apple.compilers.gcc.4_2 cd /Users/markus/Documents/workspace/Kinderlieder/dist setenv LANG en_US.US-ASCII setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -x c -arch armv6 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk -gdwarf-2 -fvisibility=hidden -mno-thumb -miphoneos-version-min=3.1 -iquote /Users/markus/Library/Developer/Xcode/DerivedData/Kinderlieder-dqzgewranxvdwnbmzbsuizxevalc/Build/Intermediates/Kinderlieder.build/Debug-iphoneos/Kinderlieder.build/Kinderlieder-generated-files.hmap -I/Users/markus/Library/Developer/Xcode/DerivedData/Kinderlieder-dqzgewranxvdwnbmzbsuizxevalc/Build/Intermediates/Kinderlieder.build/Debug-iphoneos/Kinderlieder.build/Kinderlieder-own-target-headers.hmap -I/Users/markus/Library/Developer/Xcode/DerivedData/Kinderlieder-dqzgewranxvdwnbmzbsuizxevalc/Build/Intermediates/Kinderlieder.build/Debug-iphoneos/Kinderlieder.build/Kinderlieder-all-target-headers.hmap -iquote /Users/markus/Library/Developer/Xcode/DerivedData/Kinderlieder-dqzgewranxvdwnbmzbsuizxevalc/Build/Intermediates/Kinderlieder.build/Debug-iphoneos/Kinderlieder.build/Kinderlieder-project-headers.hmap -I/Users/markus/Library/Developer/Xcode/DerivedData/Kinderlieder-dqzgewranxvdwnbmzbsuizxevalc/Build/Products/Debug-iphoneos/include -I../build/xcode/src/lib/boehmgc/libatomic_ops/src -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/armcc -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/gcc -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/hpc -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/ibmc -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/icc -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/msftc -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/sunc -I../build/xcode/src/lib/boehmgc/include -I../build/xcode/src/lib/boehmgc/include/private -I/Users/markus/Library/Developer/Xcode/DerivedData/Kinderlieder-dqzgewranxvdwnbmzbsuizxevalc/Build/Intermediates/Kinderlieder.build/Debug-iphoneos/Kinderlieder.build/DerivedSources/armv6 -I/Users/markus/Library/Developer/Xcode/DerivedData/Kinderlieder-dqzgewranxvdwnbmzbsuizxevalc/Build/Intermediates/Kinderlieder.build/Debug-iphoneos/Kinderlieder.build/DerivedSources -F/Users/markus/Library/Developer/Xcode/DerivedData/Kinderlieder-dqzgewranxvdwnbmzbsuizxevalc/Build/Products/Debug-iphoneos -c /Users/markus/Documents/workspace/Kinderlieder/dist/../build/xcode/src/lib/boehmgc/atomic_ops_stack.c -o /Users/markus/Library/Developer/Xcode/DerivedData/Kinderlieder-dqzgewranxvdwnbmzbsuizxevalc/Build/Intermediates/Kinderlieder.build/Debug-iphoneos/Kinderlieder.build/Objects-normal/armv6/atomic_ops_stack.o {standard input}:337:even register required -- `strexd lr,r1,[r0]' Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 Any hints, what is wrong here? Regards, Markus |
From: Panayotis K. <pan...@pa...> - 2011-05-13 18:21:20
|
Hello all! I believe you remembered that I have introduced a check mechanism for XMLVM, in order to perform some trivial tests before committing. Since it started to become bigger and bigger, I decided to make it modular and be able to create small parts of bash magic, which perform specific tasks. Please be free to comment, use it and add your own check scripts! For example, I'll create a new plugin which will (finally) automate the Java source code indentation. |
From: Arno P. <ar...@pu...> - 2011-05-13 17:46:58
|
I'm OK with this patch. Needless to say you should only commit it when the C side works as well. Please take a look at the current C implementation of performSel... and ask me any questions you have in understanding the inner workings. The one thing that might help you to understand the C code is the dispatcherObject. Its purpose is to be used as a stand-in to perform the actual performSelec... method on the Objective-C side. Arno On 5/13/11 10:33 AM, Panayotis Katsaloulis wrote: > Hello all! > I have created the patch for strongly typed performSelector(OnMainThread) > > I have tried it with ObjC backend. > On the C backend I have some problems to understand how to call a specific C function. > Since this might break some older code, until it is 100% finished, I didn't delete the old method, but I marked it as obsolete. > > Please have a look : > > http://xmlvm-reviews.appspot.com/125001 > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |
From: Panayotis K. <pan...@pa...> - 2011-05-13 17:33:19
|
Hello all! I have created the patch for strongly typed performSelector(OnMainThread) I have tried it with ObjC backend. On the C backend I have some problems to understand how to call a specific C function. Since this might break some older code, until it is 100% finished, I didn't delete the old method, but I marked it as obsolete. Please have a look : http://xmlvm-reviews.appspot.com/125001 |
From: Panayotis K. <pan...@pa...> - 2011-05-04 18:48:10
|
On May 4, 2011, at 9:28 PM, Domenico De Fano wrote: > Hi, > > That's exactly what I'm doing, but unfortunately it doesn't work. Do you think I need to set any particular > configuration in the XMLVM project or to put my files in another folder? > Also, I don't understand why I don't need to add the "res/" to the path when loading images using the > UIIMage. I know it depends on the fact that when I created the project I set that folder as the one > containing the resources, but I don't clearly see the connection. > > Thanks, > > Domenico Just a quick comment: I have used folders with resources in the main bundle and elsewhere and works perfectly. I suspect that you don't do something correctly. As a first step, have a look at the produces *.app directory and make sure that the file hierarchy is correct. |
From: Domenico De F. <dom...@gm...> - 2011-05-04 18:28:58
|
Hi, That's exactly what I'm doing, but unfortunately it doesn't work. Do you think I need to set any particular configuration in the XMLVM project or to put my files in another folder? Also, I don't understand why I don't need to add the "res/" to the path when loading images using the UIIMage. I know it depends on the fact that when I created the project I set that folder as the one containing the resources, but I don't clearly see the connection. Thanks, Domenico On 4 May 2011 19:37, Panayotis Katsaloulis <pan...@pa...> wrote: > > On May 4, 2011, at 7:06 PM, Domenico De Fano wrote: > > Hi all, > > I'm encountering a problem while reading files from my java2objc > application. I have a number of files stored in a res > folder of my project which I set in the configuration file as to be the > resources folder. > When I try to load icons I use in the application, using the UIImage class, > everything works fine. > If I try to read files using the FileInputStream class, I need to specify > the absolute file path, or there is no way the files can be found. > I couldn't understand why this happens, thus, I looked into the Objective-C > compatibility libraries for the implementation of the classes. Following the > FileInputStream implementation, > I ended up in the java_io_File.m class, and the following method: > > - (void) __init_java_io_File___java_lang_String: (java_lang_String*) > pathname > { > if (pathname==JAVA_NULL || [pathname length] == 0 || [pathname > characterAtIndex:0] != '/') { > // For relative paths, prepend the base directory of > <App>/Documents/ > // > http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/FilesandNetworking/FilesandNetworking.html > NSArray *paths = > NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, > YES); > path = [[NSMutableString alloc] init]; > [path setString:[paths objectAtIndex:0]]; > [path appendFormat:@"/%@", pathname]; > } else { > path = [[pathname copyWithZone: NULL] retain]; > } > } > > Which appends my file path to the Documents base directory of the app. How > should I set the relative path for files located > in a resources subfolder? > > Thanks > > > Probably I didn't understand the question, byt why not prepend the "res/" > part before the filename? > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > -- Domenico De Fano |
From: Panayotis K. <pan...@pa...> - 2011-05-04 17:38:00
|
On May 4, 2011, at 7:06 PM, Domenico De Fano wrote: > Hi all, > > I'm encountering a problem while reading files from my java2objc application. I have a number of files stored in a res > folder of my project which I set in the configuration file as to be the resources folder. > When I try to load icons I use in the application, using the UIImage class, everything works fine. > If I try to read files using the FileInputStream class, I need to specify the absolute file path, or there is no way the files can be found. > I couldn't understand why this happens, thus, I looked into the Objective-C compatibility libraries for the implementation of the classes. Following the FileInputStream implementation, > I ended up in the java_io_File.m class, and the following method: > > - (void) __init_java_io_File___java_lang_String: (java_lang_String*) pathname > { > if (pathname==JAVA_NULL || [pathname length] == 0 || [pathname characterAtIndex:0] != '/') { > // For relative paths, prepend the base directory of <App>/Documents/ > // http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/FilesandNetworking/FilesandNetworking.html > NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); > path = [[NSMutableString alloc] init]; > [path setString:[paths objectAtIndex:0]]; > [path appendFormat:@"/%@", pathname]; > } else { > path = [[pathname copyWithZone: NULL] retain]; > } > } > > Which appends my file path to the Documents base directory of the app. How should I set the relative path for files located > in a resources subfolder? > > Thanks Probably I didn't understand the question, byt why not prepend the "res/" part before the filename? |
From: Domenico De F. <dom...@gm...> - 2011-05-04 16:06:42
|
Hi all, I'm encountering a problem while reading files from my java2objc application. I have a number of files stored in a res folder of my project which I set in the configuration file as to be the resources folder. When I try to load icons I use in the application, using the UIImage class, everything works fine. If I try to read files using the FileInputStream class, I need to specify the absolute file path, or there is no way the files can be found. I couldn't understand why this happens, thus, I looked into the Objective-C compatibility libraries for the implementation of the classes. Following the FileInputStream implementation, I ended up in the java_io_File.m class, and the following method: - (void) __init_java_io_File___java_lang_String: (java_lang_String*) pathname { if (pathname==JAVA_NULL || [pathname length] == 0 || [pathname characterAtIndex:0] != '/') { // For relative paths, prepend the base directory of <App>/Documents/ // http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/FilesandNetworking/FilesandNetworking.html NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); path = [[NSMutableString alloc] init]; [path setString:[paths objectAtIndex:0]]; [path appendFormat:@"/%@", pathname]; } else { path = [[pathname copyWithZone: NULL] retain]; } } Which appends my file path to the Documents base directory of the app. How should I set the relative path for files located in a resources subfolder? Thanks -- Domenico De Fano |
From: Arno P. <ar...@pu...> - 2011-04-28 23:08:53
|
UTF encoding is certainly a "dark spot" in XMLVM. Neither the Objective-C nor the C backend handle this correctly. I recently implemented a string constant pool for the C backend that should use a proper default encoding for string constants. But it will probably not work for strings you read from files. If you have any spare cycles to look into this, may I suggest you try to fix this for the C backend? We are finally very close to switching to the new C backend (only the GC integration is missing right now) and I would much rather invest resources in the C backend. To guide you (or anyone else interested in looking into this), take a look at class java.lang.String in source folder xmlvm/src/xmlvm2c/lib/proxies. The source of java.lang.String is taken from the Apache Harmony Project and the cross-compiled version will be included in any C project that uses java.lang.String. Take a look at line 308 of String.java. I commented out that constructor. As you can see, this constructor uses a Charset for proper UTF conversion. The job basically boils down to uncommenting that constructor and "making it work". This means that classes such as Charset have to be taken off the red list. Take a look at the slides in xmlvm/doc/slides (look for the slides entitled "J2SE Library") to understand what I mean by "red list". Any UTF gurus out there who might be willing to look into this? Arno On 4/28/11 3:27 PM, Domenico De Fano wrote: > Hi all, > > I'm having an issue displaying special characters on an > internationalization process. I'm not sure if I need to do something at > Cocoa level > or if there is something missing in XMLVM. > I have some plain internationalization files containing the text for my > application in different languages, following the UTF8 standard. > >From my java application, I load these files using InputStream and > then convert the read data to strings. > The problem is that on the iPhone simulator this text is not showed > correctly as I think the ASCII encoding is used instead of UTF8. > > I tried to have a look at the java_lang_InputStream.m file but all I > found is a call to xmlvmSubclassResponsibility > which I really don't know what is (searching the whole xmlvm project I > couldn't match any implementation of this function). > I also checked the java_lang_String.m file to see how a string is > created from an array of bytes. Here there seems to be no problems > too as the bytes are appended one by one as char; still I have the doubt > wether I need an NSUTF8String or not to obtain the > correct visualization of the string. > > Do you have any ideas? > > > Thanks > > -- > Domenico De Fano > > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > > > > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |
From: Domenico De F. <dom...@gm...> - 2011-04-28 22:28:05
|
Hi all, I'm having an issue displaying special characters on an internationalization process. I'm not sure if I need to do something at Cocoa level or if there is something missing in XMLVM. I have some plain internationalization files containing the text for my application in different languages, following the UTF8 standard. >From my java application, I load these files using InputStream and then convert the read data to strings. The problem is that on the iPhone simulator this text is not showed correctly as I think the ASCII encoding is used instead of UTF8. I tried to have a look at the java_lang_InputStream.m file but all I found is a call to xmlvmSubclassResponsibility which I really don't know what is (searching the whole xmlvm project I couldn't match any implementation of this function). I also checked the java_lang_String.m file to see how a string is created from an array of bytes. Here there seems to be no problems too as the bytes are appended one by one as char; still I have the doubt wether I need an NSUTF8String or not to obtain the correct visualization of the string. Do you have any ideas? Thanks -- Domenico De Fano |
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 |
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-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: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: <D.D...@ak...> - 2011-04-14 07:37:36
|
<font face="Sans Serif predefinito,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi,<br>I'm sorry to bother you with topics already solved. Until recently I didn't have the internet connection and it's been a pain to update xmlvm without losing the changes I made.<br>I'll try to start from a fresh version, manually apply my changes and submit a patch as soon as possible.<br>Anyway, everything seems to work with the strings now, at least for what I'm doing. I'l let you know if I find some other problem.<br><br>Thanks!<br><br>Domenico<br><br><br><br></div><font color="#990099">-----Panayotis Katsaloulis <a class="moz-txt-link-rfc2396E" href="mailto:pan...@pa..."><pan...@pa...></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: Panayotis Katsaloulis <a class="moz-txt-link-rfc2396E" href="mailto:pan...@pa..."><pan...@pa...></a><br>Data: 14/04/2011 12.53AM<br>Oggetto: Re: [xmlvm-dev] Obj-C String conversion bug<br><br><br><div><div>On Apr 14, 2011, at 12:38 AM, Sascha Haeberling wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Don't you mean UTF-8?<div><br><div class="gmail_quote">On Wed, Apr 13, 2011 at 10:00 PM, Arno Puder <span dir="ltr"><<a href="mailto:ar...@pu...">ar...@pu...</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex; position: static; z-index: auto;"> <br> UTF-16 is currently not supported (both in Objective-C and C backend).<br> I'll look into it.<br><br> Arno<br> <div><div></div><div class="h5"><br><br></div></div></blockquote></div></div></blockquote></div><br><div>I think it should be UTF-16.</div><div>That's the native encoding of strings in java, and inside java classes </div><font face="Courier New,Courier,monospace" size="3">------------------------------------------------------------------------------<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></font><font face="Courier New,Courier,monospace" size="3">_______________________________________________<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: Panayotis K. <pan...@pa...> - 2011-04-13 22:53:28
|
On Apr 14, 2011, at 12:38 AM, Sascha Haeberling wrote: > Don't you mean UTF-8? > > On Wed, Apr 13, 2011 at 10:00 PM, Arno Puder <ar...@pu...> wrote: > > UTF-16 is currently not supported (both in Objective-C and C backend). > I'll look into it. > > Arno > > I think it should be UTF-16. That's the native encoding of strings in java, and inside java classes |
From: Sascha H. <sa...@gm...> - 2011-04-13 21:38:36
|
Don't you mean UTF-8? On Wed, Apr 13, 2011 at 10:00 PM, Arno Puder <ar...@pu...> wrote: > > UTF-16 is currently not supported (both in Objective-C and C backend). > I'll look into it. > > Arno > > > On 4/13/11 11:16 AM, Panayotis Katsaloulis wrote: > > > > On Apr 13, 2011, at 9:00 PM, Paul Poley wrote: > > > >> Arno submitted a fix in March that should address this issue. Namely > >> see revisions 1534, 1535 & 1563. > >> > >> But if there are other unicode issues, yes, please bring them to > >> light. I want to say unicode characters should escape properly, but I > >> wouldn't make a huge wager on it. > > > > Well, it *is* for me, since my native language is greek and > > unfortunately if I want to create an application, I have to do a custom > > i18n, so that I would be able to display anything in my own language. > > > > Let's take an example: > > > > public static void main(String[] args) { > > System.out.println("Γεια!"); > > UIApplication.main(args, null, Main.class); > > } > > > > > > and in ObjC > > > > + (void) main___java_lang_String_ARRAYTYPE :(XMLVMArray*)n1 > > { > > XMLVMElem _r0; > > XMLVMElem _r1; > > XMLVMElem _r2; > > _r2.o = n1; > > _r0.o = JAVA_NULL; > > _r1.o = JAVA_NULL; > > [_r2.o retain]; > > _r0.o= [java_lang_System_GET_out]; > > [_r0.o retain]; > > _r1.o= @"\1623\1665\1671\1661!"; > > [((java_io_PrintStream*) _r0.o) println___java_lang_String:_r1.o]; > > [_r0.o release]; > > _r0.o = JAVA_NULL; > > [_r1.o release]; > > _r1.o = [my_food_Main getClass__]; > > > [org_xmlvm_iphone_UIApplicationmain___java_lang_String_ARRAYTYPE_java_lang_Class_java_lang_Class:_r2.o:_r0.o:_r1.o]; > > [_r0.o release]; > > [_r1.o release]; > > [_r2.o release]; > > return; > > } > > > > which prints > > *r3v5w1v1!* > > *instead of something like* > > *Γεια!* > > > > > > > > > ------------------------------------------------------------------------------ > > 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: Arno P. <ar...@pu...> - 2011-04-13 21:00:24
|
UTF-16 is currently not supported (both in Objective-C and C backend). I'll look into it. Arno On 4/13/11 11:16 AM, Panayotis Katsaloulis wrote: > > On Apr 13, 2011, at 9:00 PM, Paul Poley wrote: > >> Arno submitted a fix in March that should address this issue. Namely >> see revisions 1534, 1535 & 1563. >> >> But if there are other unicode issues, yes, please bring them to >> light. I want to say unicode characters should escape properly, but I >> wouldn't make a huge wager on it. > > Well, it *is* for me, since my native language is greek and > unfortunately if I want to create an application, I have to do a custom > i18n, so that I would be able to display anything in my own language. > > Let's take an example: > > public static void main(String[] args) { > System.out.println("Γεια!"); > UIApplication.main(args, null, Main.class); > } > > > and in ObjC > > + (void) main___java_lang_String_ARRAYTYPE :(XMLVMArray*)n1 > { > XMLVMElem _r0; > XMLVMElem _r1; > XMLVMElem _r2; > _r2.o = n1; > _r0.o = JAVA_NULL; > _r1.o = JAVA_NULL; > [_r2.o retain]; > _r0.o= [java_lang_System_GET_out]; > [_r0.o retain]; > _r1.o= @"\1623\1665\1671\1661!"; > [((java_io_PrintStream*) _r0.o) println___java_lang_String:_r1.o]; > [_r0.o release]; > _r0.o = JAVA_NULL; > [_r1.o release]; > _r1.o = [my_food_Main getClass__]; > [org_xmlvm_iphone_UIApplicationmain___java_lang_String_ARRAYTYPE_java_lang_Class_java_lang_Class:_r2.o:_r0.o:_r1.o]; > [_r0.o release]; > [_r1.o release]; > [_r2.o release]; > return; > } > > which prints > *r3v5w1v1!* > *instead of something like* > *Γεια!* > > > > ------------------------------------------------------------------------------ > 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: Paul P. <bay...@gm...> - 2011-04-13 18:41:34
|
Okay - gotcha. If that's still the case, you're right that unicode is not fully supported. I'm not sure I understand your first sentence though as I was not discounting it as an issue. I was only stating that Domenico's issue has been fixed recently. Paul On Wed, Apr 13, 2011 at 1:16 PM, Panayotis Katsaloulis < pan...@pa...> wrote: > > On Apr 13, 2011, at 9:00 PM, Paul Poley wrote: > > Arno submitted a fix in March that should address this issue. Namely see > revisions 1534, 1535 & 1563. > > But if there are other unicode issues, yes, please bring them to light. I > want to say unicode characters should escape properly, but I wouldn't make a > huge wager on it. > > > Well, it *is* for me, since my native language is greek and unfortunately > if I want to create an application, I have to do a custom i18n, so that I > would be able to display anything in my own language. > > Let's take an example: > > public static void main(String[] args) { > System.out.println("Γεια!"); > UIApplication.main(args, null, Main.class); > } > > > and in ObjC > > + (void) main___java_lang_String_ARRAYTYPE :(XMLVMArray*)n1 > { > XMLVMElem _r0; > XMLVMElem _r1; > XMLVMElem _r2; > _r2.o = n1; > _r0.o = JAVA_NULL; > _r1.o = JAVA_NULL; > [_r2.o retain]; > _r0.o = [java_lang_System _GET_out]; > [_r0.o retain]; > _r1.o = @"\1623\1665\1671\1661!"; > [((java_io_PrintStream*) _r0.o) println___java_lang_String:_r1.o]; > [_r0.o release]; > _r0.o = JAVA_NULL; > [_r1.o release]; > _r1.o = [my_food_Main getClass__]; > [org_xmlvm_iphone_UIApplication > main___java_lang_String_ARRAYTYPE_java_lang_Class_java_lang_Class:_r2.o > :_r0.o:_r1.o]; > [_r0.o release]; > [_r1.o release]; > [_r2.o release]; > return; > } > > which prints > *r3v5w1v1!* > *instead of something like* > *Γεια!* > > > ------------------------------------------------------------------------------ > 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: Panayotis K. <pan...@pa...> - 2011-04-13 18:16:51
|
On Apr 13, 2011, at 9:00 PM, Paul Poley wrote: > Arno submitted a fix in March that should address this issue. Namely see revisions 1534, 1535 & 1563. > > But if there are other unicode issues, yes, please bring them to light. I want to say unicode characters should escape properly, but I wouldn't make a huge wager on it. Well, it *is* for me, since my native language is greek and unfortunately if I want to create an application, I have to do a custom i18n, so that I would be able to display anything in my own language. Let's take an example: public static void main(String[] args) { System.out.println("Γεια!"); UIApplication.main(args, null, Main.class); } and in ObjC + (void) main___java_lang_String_ARRAYTYPE :(XMLVMArray*)n1 { XMLVMElem _r0; XMLVMElem _r1; XMLVMElem _r2; _r2.o = n1; _r0.o = JAVA_NULL; _r1.o = JAVA_NULL; [_r2.o retain]; _r0.o = [java_lang_System _GET_out]; [_r0.o retain]; _r1.o = @"\1623\1665\1671\1661!"; [((java_io_PrintStream*) _r0.o) println___java_lang_String:_r1.o]; [_r0.o release]; _r0.o = JAVA_NULL; [_r1.o release]; _r1.o = [my_food_Main getClass__]; [org_xmlvm_iphone_UIApplication main___java_lang_String_ARRAYTYPE_java_lang_Class_java_lang_Class:_r2.o:_r0.o:_r1.o]; [_r0.o release]; [_r1.o release]; [_r2.o release]; return; } which prints r3v5w1v1! instead of something like Γεια! |
From: Paul P. <bay...@gm...> - 2011-04-13 18:01:01
|
Arno submitted a fix in March that should address this issue. Namely see revisions 1534, 1535 & 1563. But if there are other unicode issues, yes, please bring them to light. I want to say unicode characters should escape properly, but I wouldn't make a huge wager on it. Thanks, Paul On Wed, Apr 13, 2011 at 12:13 PM, Panayotis Katsaloulis < pan...@pa...> wrote: > > On Apr 13, 2011, at 5:42 PM, Paul Poley wrote: > > > Hi Domenico, > > > > It appears you have an outdated version. Please update to head & this > should be resolved. > > > > Thanks, > > Paul > > In any case, I think there is still a bug in the procedure. > I don't have any idea at all how this could be solved, but I believe we > need to implement a method which is more unicode safe. > > > > ------------------------------------------------------------------------------ > 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: Panayotis K. <pan...@pa...> - 2011-04-13 17:13:17
|
On Apr 13, 2011, at 5:42 PM, Paul Poley wrote: > Hi Domenico, > > It appears you have an outdated version. Please update to head & this should be resolved. > > Thanks, > Paul In any case, I think there is still a bug in the procedure. I don't have any idea at all how this could be solved, but I believe we need to implement a method which is more unicode safe. |
From: Paul P. <bay...@gm...> - 2011-04-13 14:42:35
|
Hi Domenico, It appears you have an outdated version. Please update to head & this should be resolved. Thanks, Paul On Wed, Apr 13, 2011 at 4:50 AM, <D.D...@ak...> wrote: > Hi all, > > I think I spotted a little bug you might be interested in. In my project, I > send SOAP requests to a server that I compose in a stringbuffer, like the > following > > query.append("<TripInformationRequest xmlns=\ > "http://xml.amadeus.com/ori/bpel/TripInformation/schema/TripInformationRequest\"<http://xml.amadeus.com/ori/bpel/TripInformation/schema/TripInformationRequest%5C> > ><recordLocator>"); > > When sending the request however, I was receiving a Routing Error from the > server that I couldn't understand. > After some packet sniffing I found out that, in the Objectve-C version of > the project, the line was translated as > > _r3.o = @"<TripInformationRequest xmlns=\\042 > http://xml.amadeus.com/ori/bpel/TripInformation/schema/TripInformationRequest\\042 > ><recordLocator>"; > > The \" pattern in the string was converted to \\042 which caused the > problem. > I solved the problem by modifying the xslt sheet as follows (at line 2944) > > <xsl:value-of > select="replace(replace(replace(replace(replace(replace(replace(replace(@value,'\\','\\\\'), > > '\\\\011','\\t'),'\\\\012','\\n'),'\\\\015','\\r'),'\\\\014','\\f'),'\\\\010','\\b'), > '"','\\"'), '\\\\042','\\"')"/> > > Practically I just added a new replace pattern at the end of all the > others. Do you think it might be a good solution? > > Thanks, > > 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 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: 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 |