Currently, My code uses Xerces-C 2.7, but due to requirement I was asked to migrate to Xerces-c 3.X. I couldn't find any official detailed document that can help me in achieving the same.I am using wrapper on the top of xerces-C 2.X that makes me more uncomfortable to port my code to use Xerces-C 3.X.With different link I was able to write the standalone code to Read and write XML using latest Xerces.(Took help : Xerces-C: Migration from v2.x to v3.x?).
Does is it right choice whether to port my code for 2.X to 3.X or write a new library?
I am not aware, if any Xerces 2.X code is compatible with stdC++11 ?If yes, Kindly Let me know the version along with the Link from where I can get the code.
Thanks in Advance
We didn't migrate the code.As a temporary way,to support C++11 feature, we build the xerces2.X with c++11 flag and was able to successfully link to the library.
Related
I'm newbie in Opendaylight. I'm trying the very first example of ODL controller application by following this tutorial:
Controller Core Functionality Tutorials
Of course it was not updated so I had to modify something for the newest version (Carbon SR3, on Ubuntu 16.04 LTS). However, when I executed the program, I couldn't find the message
HelloProvider Session Initiated
by typing
log:display | grep Hello
It means my application was not started. On the other hand, I verified features but there was only odl-hello-api by default (no restconf, dlux, etc.). I had to modified karaf/pom.xml (karaf4-parent version 3.0.2-SNAPSHOT, adding dependencies for dlux-core and dluxapps) to install these features but of course I coudln't find my application in ODL graphic application.
Anyone has the same issues? Thanks in advance.
The core tutorials project is no longer maintained. I would suggest looking at the toaster sample documented at https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Toaster_Step-By-Step. To try your own project, use the startup archetype documented at https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Startup_Project_Archetype.
I saw some post on SO referring to xPath templates for PHP. But the version I am currently using (4.1.1) does not have those templates anymore.
Does somebody know how to add custom rules from this version on?
Thanks in advance
It is no longer possible to add custom rules for PHP. We'll eventually add the support of writing custom rules in Java (as it is currently the case for Java and COBOL). See http://docs.codehaus.org/display/SONAR/Extending+Coding+Rules.
Note that if you think that your custom rules might benefit others, you can submit them on the developer list (http://www.sonarqube.org/resources/join-our-community/). If we find them valuable, we'll implement them.
I have a problem with my phonegap-based project, and I'm suspecting I'm running a different version than I think. the config.xml file I'm using states it's 2.0.0, while I thought it's 2.9.
Is there a way to actually check the phonegap version in xcode, and not relay on a comment in a single file?
Thank you!
you can use device object's cordova(device.cordova) property to get the version of phonegap.
Below link provides more information for same.
http://docs.phonegap.com/en/3.0.0/cordova_device_device.md.html#Device
I thought I would add to #user1279357's answer, which demonstrates how to acquire the version of Cordova from the JavaScript side. However, on the Objective-C side, if you add #import <Cordova/CDVAvailability.h> you can call the constant: CORDOVA_VERSION_MIN_REQUIRED.
This constant is an int that will provide you with the version of Cordova you are using. The value is in the form of: 20000 = 2.0, 20800 = 2.8 e.t.c.
If you need to do checks against this value, there are other constants defined in this file for each of the versions, e.g. __CORDOVA_2_0_0 = 2.0.
Look here to see the source file for CDVAvailability.h.
Look in your cordova.js file at the top in the comments.
If you're using a really old version of cordova, it will be in the listed in the filename like "Cordova2.7.js"
I am trying to create a program using the postgresql database with lazarus.
I got the following error in compiling:
registersqldb.pas(72,3) Fatal: Can not find unit mysql55conn used by registersqldb.
what is wrong?
The project was probably created with a development version of FPC. (2.7.1 or 2.6.1), and you are probably trying to compile it with a stock release (2.6.0) version.
Solution: install a 2.6.1 based lazarus snapshot, or change the program to use an older mysql library.
I would recommend against 2.7.1 based snapshots. Too much is broken atm.
Disclaimer: I don't use mysql, so don't know exact compatibility details between versions, except that it is not always easy.
Hi
I have to integrate Compass with the Spring. First I thougth to implement the Compass using its core apis, I have also read the documentation
but i am not getting some application from where i can learn the process to implement.
Can any one provide some links to applications to learn the implementation.
Thanks
Download the 2.2.0 version. The zip file has a samples directory and there are complete examples of compass configuring with spring. I have also provided sample config and code at my wiki here
Honestly, compass is dead now. there is no support anymore. If you are starting a new project then I suggest you look at Hibernate Search or ElasticSearch (from the same guy who created compass)