Evolution 2.0

help guys, I've got a problem with evolution 2.0
evolution-shell-Message: Killing old version of evolution-data-server....
*** glibc detected *** corrupted double-linked list: 0x080b7f18 ***
plz help guys.

im not sure if its the same problem but it may help anyway..
I was having evolution-2.0 hang during the initial new account set at the `world location' screen..
updating to the latest gtk2.X package has fixed that..
edit: this post also refers to the problem
http://bbs.archlinux.org/viewtopic.php?t=9179

Similar Messages

  • Follow up the evolution of one or several variables on time

    Hello all,
    I'd like to know how can I follow up the evolution of certains fields on a report. I guess I should build a pivot table but the problem is that I do not what to choose for the agregation rules in order to get all the historical values and not only the firs or the last one.... HELP please !
    Cheers

    I was wondering if this iPod "crashes' or stops working due to the hole, can I use the back up of the data of the iPod on another 4th generation 32GB iPod Touch to have my previous data(from the original iPod) on the new iPod?
    Yes. That is completely correct and the expected result of having to replace an iPod.
    Given the damage you describe, it might not be cost effective to bring it to anyone other than Apple. They have a flat rate exchange program: http://www.apple.com/support/ipod/service/prices/
    Looks like $149 Could be worse, if you had not synced it with your computer.
    Now consider what would happen if your Windows computer broke. Given the prevalence of viruses and such, it is a very likely possibility. Research means to back up your computer and make it a habit to keep the backups updated.

  • Is there any way to create custom views, like in Thunderbird & Evolution?

    Hi Folks,
    I have recently switched to Mac. Before this I was using Linux. For mail I used Thunderbird (TB) for many years, and then eventually switched to Evolution Mail (EM) for its smoother integration into Linux.
    On both TB and EM I revolved my work flow around custom folder views. As new email came in I would label it (on EM, or tag it on TB). I have numerous inboxes (email accounts) so I would generally be starting out in a smart folder that displays all mail in each inbox. I would most of the time view that smart folder with a Custom View filter in place. The filter would simply display ONLY mail with NO tags/labels.
    Once my filter inbox showed NO messages it meant I had labeled everything. I would them use other smart folders to display mail with certain labels AND NO "Completed" label. That way I could go to my "Reply ASAP" folder and see what needed my immediate attention. Each email I replied to I would then add the label COMPLETED and it would vanish from my view.
    I explain the above in case someone has specific suggestions on how to achieve a similar workflow on Mail.
    In short, what I am wondering is this:
    - Is there a built in way to filter a folder on the spot (with a drop down list of predefined and custom Views) --- I have looked and so far did not find this feature
    - Is there a way to do this with a script or add-on? I have looked at many and not found a suitable one yet.
    I am appealing to the knowledge of those with more experience in Mail. It is new to me.
    I am currently using TB on my Mac because it gives me the above feature. BUT it does not have the same degree of integration with the OS and other Mac specific apps that Mail has. Thus I am keen to stick with Mail.
    With thanks,
    Jonathan

    In addition to above:
    I have installed a trial of Mailtags. It certainly improves the tagging capability of Mail.
    I have also looked at the Smart Mailboxes and Smart Mailbox Folders.
    As far as I can tell, however, there is no option to set up a smart mailbox that ONLY shows message with NO LABEL or NO MAILTAG (as the case may be). I can display messages with particular TAGS but not NO tags.
    Is there any way to add more options to the Smart Mailbox filter system?
    Cheers,
    Jonathan

  • Lightbox (jQuery Lightbox Evolution) made in Adobe Edge, doesn´t work in Adobe Muse (oam file)

    Hi!, I got a problem that I can´t fix it, or I don´t know how to do it in Adobe Muse.
    First I have the Jquery Lightbox Evolution ready to do it in Adobe Edge.
    I could work the lightbox in Edge perfectly doing this:
    1. I added the JS files of the Jquery Lightbox Evolution into EDGE :
    2. I wrote this code in STAGE - COMPOSITIONREADY:
    yepnope({load: "js/lightbox/themes/classic/jquery.lightbox.css",complete: function() {}});
    3. I wrote this CLICK code into the blue box animation;
    {$.lightbox("images/4.jpg");return false;};
    4. Now, if I do a Preview, and if I click into the blue box animation, appears the Jquery Lightbox Evolution, like I want:
    5. Perfect, I publish the project like an Animate Deployment Package (.oam) to import this into Muse.
    6. Now the problems begins, I import the Edge animation into my Muse project, but when I see the preview of my page, the lightbox doesn´t work, Muse don´t recognize the lightbox CSS file because I see something like that:
    The blue box animation work perfectly into Muse!, but when I click on it and when it should appear the Jquery Lightbox, happens that problem, Muse don´t recognize the CSS file and the "lightbox" appears INTO the box animation, like if I put a "_self" code.
    Really I don´t know how to fix that, should import the CSS file into Muse? should write a code into Page Properties- Metadata?, write a code inserting a HTML?, change some code in Adobe Edge?
    Thanks!!!!

    I´m sorry, but any ideas how to fix that?

  • Evolution to start in Calendar - Work Week View

    When I open evolution calendar it always open in day view. I would like to open in the view it was when I closed the program (like it behaves on ubuntu for example).
    Any hints?
    Thanks.

    jib2 wrote:https://bugzilla.gnome.org/show_bug.cgi?id=614593
    Thank you! So, we wait for the fix upstream ...

  • How to measure the time of evolution of a signal in a graph and to compare this time measured with a known value?

    For my application, I am obliged to measure the time of evolution of a signal acquired (from T1 to t2) by an analogical entry of a module NI 9203, and to compare this value with a value known in order to judge if this time of evolution is correct or not.
    PLEASE I prefer an example for better understanding.

    Greetings Jacob,
    I am not sure what you mean with 'time of evolution' but normally you acquire at a certain acquisition rate. How much time that has passed, you can calculate by checking how much points are between your two points of interest.
    If you are acquiring at 5Hz, the time between every point is 200ms. If there are let's say 10points between your two points of interest, 2s have passed.
    Regards,
    Wouter
    National Instruments

  • Errors when using inplace schema evolution

    Hi, i have been having some issues when attempting to use inplace schema evolution to add a new element into an existing xsd file currently registered on the database and was looking for some help with this if possible.
    Firstly, Oracle details are as follows :
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE     11.2.0.2.0     Production"
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - ProductionThe xsd registered on the database is called truncheadtest2.xsd :
    <?xml version="1.0" encoding="UTF-8"?>
    <!--W3C Schema generated by XMLSpy v2009 sp1 (http://www.altova.com)-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
         <xs:element name="title">
              <xs:simpleType>
                   <xs:restriction base="xs:string"/>
              </xs:simpleType>
         </xs:element>
         <xs:element name="clientRiskEventHeader" xdb:defaultTable="EVLN_CLIENTRISKEVENTHEADER">
              <xs:complexType xdb:SQLType="EVLN_CLIENTRISKEVENTHEADER_T">
                   <xs:sequence>
                        <xs:element ref="title" xdb:SQLName="TITLE"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>registered via :
    BEGIN
      DBMS_XMLSCHEMA.registerSchema(
       SCHEMAURL => 'http://xmlns.kfis.co.uk/testevheader/xsdin/truncheadertest.xsd',
      SCHEMADOC => XDBURIType('/public/web_quotes/header/xsd/test/SchemaTest/truncheadtest2.xsd').getCLOB());
    END;i have then created a new xsd, to add the new element to the xsd (using minoccurs to allow backwards compatibility between xml files conforming to the 1st xsd and this new xsd), called truncheadtestfn3.xsd :
    <?xml version="1.0" encoding="UTF-8"?>
    <!--W3C Schema generated by XMLSpy v2009 sp1 (http://www.altova.com)-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
         <xs:element name="title">
              <xs:simpleType>
                   <xs:restriction base="xs:string"/>
              </xs:simpleType>
         </xs:element>
         <xs:element name="forename">
              <xs:simpleType>
                   <xs:restriction base="xs:string"/>
              </xs:simpleType>
         </xs:element>
         <xs:element name="clientRiskEventHeader" xdb:defaultTable="EVLN_CLIENTRISKEVENTHEADER">
              <xs:complexType xdb:SQLType="EVLN_CLIENTRISKEVENTHEADER_T">
                   <xs:sequence>
                        <xs:element ref="title" xdb:SQLName="TITLE"/>
                        <xs:element ref="forename" minOccurs="0" xdb:SQLName="FORENAME"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>I can run the following code to create the difference doc between the 2 versions of the schema document, without errors:
    DECLARE
       schemaDiff XMLType;
       res boolean;
    BEGIN
       SELECT xmlDiff
            xdburitype('/public/web_quotes/header/xsd/test/SchemaTest/truncheadtest2.xsd').getXML(),
            xdburitype('/public/web_quotes/header/xsd/test/SchemaTest/truncheadtestfn3.xsd').getXML()
       INTO schemaDiff
       FROM dual;
       IF (dbms_xdb.existsResource('/public/web_quotes/header/xsd/test/SchemaTest/header.xml')) THEN
           dbms_xdb.deleteResource('/public/web_quotes/header/xsd/test/SchemaTest/header.xml');
       END IF;
       res :=
         dbms_xdb.createResource('/public/web_quotes/header/xsd/test/SchemaTest/header.xml',schemaDiff);
         dbms_xmlschema.inPlaceEvolve('http://xmlns.kfis.co.uk/testevheader/xsdin/truncheadertest.xsd',schemaDiff,2);
    END;
    / which creates the following xml file:
    - <xd:xdiff xsi:schemaLocation="http://xmlns.oracle.com/xdb/xdiff.xsd http://xmlns.oracle.com/xdb/xdiff.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <?oracle-xmldiff operations-in-docorder="true" output-model="snapshot" diff-algorithm="global"?>
    - <xd:insert-node-before xd:node-type="element" xd:xpath="/xs:schema[1]/xs:element[2]">
    - <xd:content>
    - <xs:element name="forename">
    - <xs:simpleType>
      <xs:restriction base="xs:string" />
      </xs:simpleType>
      </xs:element>
      </xd:content>
      </xd:insert-node-before>
    - <xd:append-node xd:node-type="element" xd:parent-xpath="/xs:schema[1]/xs:element[2]/xs:complexType[1]/xs:sequence[1]">
    - <xd:content>
      <xs:element ref="forename" minOccurs="0" xdb:SQLName="FORENAME" />
      </xd:content>
      </xd:append-node>
      </xd:xdiff>However, when i then run the inplace schema evolution code for option 1, i get the following error:
    Error report:
    ORA-22324: altered type has compilation errors
    ORA-22328: object "WEB_STAGING"."EVLN_CLIENTRISKEVENTHEADER_T" has errors.
    PLS-00215: String length constraints must be in range (1 .. 32767)
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 173
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 231
    ORA-06512: at line 17
    22324. 00000 -  "altered type has compilation errors"
    *Cause:    The use of the ALTER TYPE statement caused a compilation error.
    *Action:   Correct the error reported and resubmit the statement.I am getting this issue when attempting to add any string value to the existing xsd and i was wondering if you had any idea what the issue was here and how i could resolve this.
    Thanks.

    Hi,
    When you use INPLACE_TRACE flag, it traces the operations that would be performed with option 1.
    If you look at the trace file produced in this case, you'll see where the error is coming from :
    ------------ QMTS Executing SQL ------------
    ALTER TYPE "TEST"."EVLN_CLIENTRISKEVENTHEADER_T" ADD ATTRIBUTE "FORENAME" VARCHAR2 CASCADE NOT INCLUDING TABLE DATA
    /The mandatory length specification is absent.
    I thought adding an explicit xs:maxLength restriction would solve the problem, but it happens the generated DDL still lacks the length specification.
    After some tries, I found that the issue seems related to the usage of ref elements in the schema.
    On a side note, it's not the first time we see problems associated with ref (Cf. how do i get xml db to work right with imported or included schemas?).
    The workaround is to use a named type.
    I've also added an xdb:defaultTable annotation to the top-level element ("title") so that the registration process doesn't generate a table for it :
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
         <xs:element name="title" xdb:defaultTable="">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                     <xs:maxLength value="200"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:simpleType name="forenameType">
              <xs:restriction base="xs:string">
                   <xs:maxLength value="30"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:element name="clientRiskEventHeader" xdb:defaultTable="EVLN_CLIENTRISKEVENTHEADER">
              <xs:complexType xdb:SQLType="EVLN_CLIENTRISKEVENTHEADER_T">
                   <xs:sequence>
                        <xs:element ref="title" xdb:SQLName="TITLE"/>
                        <xs:element name="forename" type="forenameType" minOccurs="0" xdb:SQLName="FORENAME"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>

  • [Solved] Any alternatives to a very buggy Evolution Mail 3.6?

    Hi All,
    I've kind-of had it with Evolution mail. I've been running 3.x for a long time, and it's always been a very "klunky" experience, with constant issues of hanging, bad HTML mail rendering, and the occasional (twice in a year) need to fix it in the terminal after upgrades (completely corrupted mail stores, etc).
    The reason why I put up with it, is that I really want to at least use an application suite where my contacts are centrally managed (Evolution Data Server) and other apps (like Empathy chat) can re-use the central contacts store. Other mail clients manage their own contacts internally in an isolated island (e.g Mozilla Thunderbird). I really want to use a Linux desktop environment where the *basics* (such as centralised contacts) are in place. I mean, we are in 2012. I've been promised flying cars and a semantic desktop :-)
    After the update to GNOME 3.6, I have well and truly had it with Evolution. Every now and then it starts to recursively spawn "Saving user interface state" and "Unknown background task" tasks that just bring it to its knees, requiring a process kill. It cannot be regarded as anything more than alpha quality software, and it's starting to cost me a lot of lost productivity.
    This is only e-mail, right? It's been around since before 1980. Surely there are alternatives for an intelligent, integrated suite of e-mail/calendar/contacts on the linux Desktop? What do you gentleman and ladies use? Mutt is starting to look real good, and that's just sad for a previous Apple user that switched to Arch Linux (which has generally been a wonderful experience in all non-mail aspects).
    I'm at my wits' end, and looking for some advice from fellow users of the thinking man's Linux...
    Surely GNOME/Evolution can't be "it" in terms of offering competition to the Apple/Microsoft desktop?
    Last edited by dawid.loubser (2012-11-05 08:09:36)

    *david_a* wrote:
    Integrated with every app on the desktop? KDE.
    I believe you are stuck choosing between desktop integration and performance/quality; apparently "both" is not an available option.
    Not necessarily integrated with every app, but integrateable at least. Something using an infrastructure designed for integration, with basic integration already done between the basic components mentioned in my original post. I feared that I would have to choose between quality and desktop integration - this really saddens me, and must be a big stumbling block for the adoption of the Linux desktop.
    *david_a* wrote:
    Emacs/Gnus/bbdb?
    Thunderbird?
    Apple? Microsoft?
    You may already have the best available.
    I believe desktop integration is losing steam as Google and similar ventures take the integration outside the machine. A bad plan IMO, constructed to support disparate and poorly-built operating systems (including those on phones) but at the same time taking users' data away from them.
    You are right, I don't want my data taken away from me, and it goes against my grain to rely on a free online service of a publicly-traded corporation 10,000km away from me for my personal communication needs. I want to own and manage my data, and I suspect so do many other Linux users...
    I can only hope a renaissance of sorts will happen when people realise that they are no longer in control of their own data, and that hopefully then we will see the emergence of better desktop communication in Linux. I don't care about the masses, who will probably never care about this. I do care about the fellow computer geeks who understand and appreciate this, and are in search of something that at least matches what a Mac/Windows box could do a decade or so ago :-)
    For the time being, I guess I have to slog it out with Evolution, and start filing bug reports in the hope that the quality may one day improve.
    What surprises me, is that this thread has not drawn a single reply from a fellow frustrated user. I'd have loved a "me too" or two - why does everybody put up with this? You can't all be happy to be stuck in 1990 as far as integration of desktop communication is concerned? I have a lot of respect for minimalist, powerful, single-purpose programs, yet such a setup demands good integration between those components. Are there at least some forward-thinking projects on the go somewhere that is working towards this that anybody knows of?
    I thank you for your reply :-)

  • [SOLUTION] Evolution doesn't print

    I ran into a problem with evolution. (Just started to use gnome since last weekend, until now it's mostly been kde for me.)
    What it did was to only allow me to "print preview", the other button was greyed out. I could not get it to make a printout on any of my printers. Not even on cups-pdf.
    If I opened the pdf file generated from evolution/evince preview (located in /tmp) with okular, I could print just fine?!
    After trying all the things I could find on the Internet, (installing libgnomeprint, gnome-cups-manager and some others. And changing some config files.) I wanted to print some test pages from gnome-cups-manager just to verify my printersetup was OK. This wasn't possible either. After that I went to the cups web interface do try it from there, and here I also had problems.
    That reminded me that I had problems already a while ago configuring my printers through the web interface. I had some weird addresses on the links, and got all kinds of "page doesn't exist" errors.
    Finally today (I am sometimes a little slow   ) I checked the weird address on the link. It started with ::1 which I at first didn't recognize at all. Now I know that it's an IPv6 address.:rolleyes:
    This got me to speculate whether this could also have something to do with my problems printing from evolution. And yes it did.
    I disabled the IPv6 module as described in the wiki, and all is now fine for me again.
    I make this post as a heads up to everyone who might get in the same situation. I did search for a solution both here and through google, but didn't turn anything up anywhere (on the IPv6 part that is).
    Wasn't really sure if this belonged here or in another section of the forum. Please feel free to move it.
    Last edited by madeye (2009-04-26 12:39:42)

    schuay wrote:editing cupsd.conf solved it for me
    Yes, but I was not focusing my attention on cups at first. Printing worked fine from KDE programs, so I thought that I had a configuration problem with Gnome somewhere.
    Thanks for the link

  • Calendar colours/colors broken in evolution

    I've just upgraded to evolution 2.12.0 and the colouring of my calendars has stopped working. They have all gone to shades of pink and even if I change them back to the colours I want, that colour goes across the current calendar then gets wiped again with the pink.
    Anyone else having this problem?
    Just for the Americans searching here.... color

    I'm having all kinds of issues with evolution as of late. Just this morning all the icons turned to a red colored X. My system also starts to lag severely after evolution has been running for more than 5 minutes or so. Pretty sure this all started with the update from earlier this week.

  • Evolution-mapi send issue

    If anyone is familiar with evolution-mapi, perhaps you can help me. I have no problem connecting to our exchange (2007) server. I have full access to my mailbox and can sync and read my mail. My issue is I cannot send. I get this error message:
    Could not send message: WriteStream: MAPI error MAPI_E_CALL_FAILED (0x80004005) occurred
    I've tried poking through my outlook profile from windows using MFCMapi, but I don't see anything glaringly obvious that would prevent me sending mail when logged into Arch using Evolution . . . especially as I can authenticate to receive mail with no issue.

    If anyone is familiar with evolution-mapi, perhaps you can help me. I have no problem connecting to our exchange (2007) server. I have full access to my mailbox and can sync and read my mail. My issue is I cannot send. I get this error message:
    Could not send message: WriteStream: MAPI error MAPI_E_CALL_FAILED (0x80004005) occurred
    I've tried poking through my outlook profile from windows using MFCMapi, but I don't see anything glaringly obvious that would prevent me sending mail when logged into Arch using Evolution . . . especially as I can authenticate to receive mail with no issue.

  • Evolution opens link in current window not in window Firefox is running in

    Ubuntu 14.04.1 LTS, Gnome 3.12.2 due to lockups of system I removed the Ubuntu version of Firefox and installed 33.1.1 from the Mozilla site. Since then whenever I click on a link in a message Firefox will open in the same window Evolution is in not in the window Firefox is currently running in. Not only that but it will open to my homepage not to the link that has been clicked on.

    Try redoing your link and, this time, deselect the link on the page and look at the inspector window to see if anything has changed. Then check the 'make hyperlinks active box". Your linked page should open in the browser when you click the link on the iWeb page.
    If this is OK do a "publish all to .Mac" and empty your browser cache before visiting your site.

  • Evolution stopped working

    Evolution has stopped working.
    I installed xgl and when I logged out of gnome using it, gnome hung.  No problem, ctrl+alt+backspace and start back in regular x (xgl is nice eye candy but I like the workspace switcher applet).
    When I went to start evolution it doesn't show any of my folders in the bar, says its fetching mail, and basically freezes immediatley.  Starting it from the command line offers no help.  So I tried running it as root and it runs fine.  So I move .evolution in my home folder to .evolution-bak... and same problem.  So I move .evolution-bak from my home to /root/.evolution.  This gives me access to my mail as root, but the account settings are still different.
    Does anyone know where the account settings are stored?  I'm guessing they must be corrupt or something, and need to be fixed.  Running evolution as root constantly is obviously not a good idea.
    Thanks for the help!

    Ok Now its working again and I didn't recompile or downgraded nspr, problem was caused by one of the following (or maybe both):
    - I setup a manual proxy on the network settings and forgot to turn it off (making all apps that use those proxy settings fail to access the internet).
    - I had a lot of mail stored locally, and after I did the restore I actually deleted a bunch of emails.
    I think that the error was most likely due to the first one.
    Anyways all good now, everything working again
    thanks for the help

  • Evolution doesn't show inboxes after update

    Hello,
    my Evolution hides the inboxes for 3 of my 5 configured imap accounts after upgrading. These are the related lines from /var/log/pacman.log:
    [2014-06-04 17:36] [PACMAN] upgraded evolution-data-server (3.12.1-2 -> 3.12.2-1)
    [2014-06-04 17:37] [PACMAN] upgraded evolution (3.12.1-1 -> 3.12.2-1)
    Subfolders and even my 2 other inboxes are working fine. The filter is set to "all messages" and I have also tried to toggle the offline mode on and off.
    Also strange: when I issue a search that does not yield any results, I get a message that no messages were found and that I should try to clear my filters.
    When I open a folder with no content I also get a warning - but for this 3 inboxes I really just get a blank list view (the headers are shown).
    The only thing that these 3 inboxes have in common are that a GPG key is assigned, but I don't see any difference when I remove it from the configuration (or even recreate the mail account).
    I also tried to delete $HOME/.cache/evolution - no difference. When I open evolution from the command line I don't get any output, so nothing obvious here.
    Maybe someone had the same problem and solved it already?
    Greetings and thanks in advance,
    Phil

    Hey,
    I have the same Problem since the Update. With upgrading Evolution something might gone wrong with our profile. I've deleted all the settings and restored a freshly created backup. The Problem remains the same.
    You can work around by going into that "empty" inbox, switch search to all accounts and search something. After some results are showing, you delete your search and Evolution will display your inbox. It happens to me everytime I start it and sometimes when switching back from an another account.
    After the upgrade I have several segfaults which I cant exactly reproduce, When it does, the window seems to have a small lag and gets killed. This is not only when switching windows within Evolution (or using the editor), it also happens when switching onto it from a another workspace.
    Greetings.

  • HOWTO: Install and use opensync-0.22 to sync Evolution to Nokia phone

    Opensync-0.3x is unstable and fraught with danger, the only relatively-safe version is opensync-0.22.  Installing opensync-0.22 is quite a task in x86-64 (i686 users might be able to use the unofficial kpiche repository on this page http://wiki.archlinux.org/index.php/Uno … ositories).
    Here's how I got it to work in arch x86-64 to sync my Nokia 6300 phone over bluetooth (obex) with Evolution contacts and calendars.  The first few steps should be fairly straightforward for most arch users.
    1. Install evolution from repo via pacman if you haven't already:
    pacman -S evolution evolution-data-server evolution-exchange
    At the time of writing these are at version 2.28.11.
    2. Load evolution and configure your default settings, you don't need to configure mail if you don't want to.  Load some test calendar and contact data if you really want to.
    3. Install and configure your bluetooth adapter and pair your phone as per http://wiki.archlinux.org/index.php/Bluetooth.  Install openobex from repo via pacman, at the time of writing it is version 1.5-1.
    From here things get a lot more difficult and a lot less arch-y.  Opensync appears to be a huge state of wonk right now, and thus libopensync in the AUR is a huge mess (from http://bbs.archlinux.org/viewtopic.php?id=45683) and there doesn't appear to be a working 0.22 suite in the repo or aur.  This issue is further complicated by not being able to mix and match opensync libs and plugin versions.  Nevermind!
    4. Get the dependency library tarballs from opensync.org:
    libwbxml: 0.10.7 compiled for me in x64; from here https://libwbxml.opensync.org/wiki/Rele … xml-0.10.7
    libsyncml: 0.4.6 is the only version that contains the openobex headers needed to make libopensync-plugin-syncml-0.22 compile; get it from here https://libsyncml.opensync.org/wiki/lib … .4.6-notes.  Any later version of libsyncml doesn't appear to have these files (ref: http://bugs.gentoo.org/269187) and makes libopensync-plugin-syncml-0.22 fail at compilation, throwing these errors:
    syncml_plugin.h:38:35: error: libsyncml/obex_client.h: No such file or directory
    syncml_plugin.h:39:35: error: libsyncml/http_server.h: No such file or directory
    5. Get the opensync-0.22 tarballs from http://www.opensync.org/download/releases/0.22/, at minimum you need the following:
    libopensync-0.22
    libopensync-plugin-evolution2-0.22
    libopensync-plugin-syncml-0.22
    msynctool-0.22
    You can try other plugins if you want to, ymmv.
    6. Build and install the depedencies using cmake as per the instructions in their INSTALL files; Build and install libopensync, msynctool and plugin-evolution, these shouldn't have any problems.  libopensync-plugin-syncml won't build with default options because it won't be able to locate libsoup while configuring; add flag --disable-http to get around this.  (if you need http I have no idea how to fix this).  libopensync-plugin-syncml will also throw a compilation warning and refuse to compile:
    % ./configure --prefix=/usr --disable-http
    % make
    cc1: warnings being treated as errors
    syncml_plugin.c: In function '_manager_event':
    syncml_plugin.c:297: error: 'smlSessionSetReceivingLimit' is deprecated (declared at /usr/include/libsyncml-1.0/libsyncml/sml_session.h:91)
    The new libsyncml library (relative to the 0.22 plugin anyway) declares this, so a quick manual patch is to comment out lines 296 and 297 in the source code in syncml_plugin:
    295 /*
    296 if (env->recvLimit)
    297 smlSessionSetReceivingLimit(session, env->recvLimit);
    298 */
    Save the file, you should now be ready to run make and make install.
    7. If all went well, you should now be able to see both plugins loaded in msynctool:
    % msynctool --listplugins
    Available plugins:
    syncml-obex-client
    evo2-sync
    I configured my phone and evolution in msynctool exactly as per this thread http://ubuntuforums.org/showthread.php?t=705103; copied here for brevity:
    1. Let's go commando with OpenSync. First we create a group to refer to our sync session with. I've called mine "evolution-n95", but you can call it whatever you want. We then create the config for the Evolution side as the first member of this group.
    $ msynctool --addgroup evolution-n95
    $ msynctool --addmember evolution-n95 evo2-sync
    $ msynctool --configure evolution-n95 1
    2. Your text editor will pop up editing member 1 of your evolution-n95 group. Edit the config to look like this:
    <config>
    <address_path>default</address_path>
    <calendar_path>default</calendar_path>
    <tasks_path>default</tasks_path>
    </config>
    3. Now do to the N95 side, adding its config as the second member of the group:
    $ msynctool --addmember evolution-n95 syncml-obex-client
    $ msynctool --configure evolution-n95 2
    4. Your text editor will pop up editing member 2 of your evolution-n95 group. Edit the config to look like this (remember to put your N95's MAC address and Channel number in):
    <config>
    <bluetooth_address>00:AA:11:BB:22:CC</bluetooth_address>
    <bluetooth_channel>10</bluetooth_channel>
    <interface>0</interface>
    <identifier>PC Suite</identifier>
    <version>1</version>
    <wbxml>1</wbxml>
    <username></username>
    <password></password>
    <type>2</type>
    <usestringtable>1</usestringtable>
    <onlyreplace>0</onlyreplace>
    <recvLimit>0</recvLimit>
    <maxObjSize>0</maxObjSize>
    <contact_db>Contacts</contact_db>
    <calendar_db>Calendar</calendar_db>
    <note_db></note_db>
    </config>
    5. Now you're ready to rock and/or roll. Let's try syncing:
    $ msynctool --sync evolution-n95
    ...and you should get a whole stream of mumbo-jumbo similar to the following:
    $ msynctool --sync evolution-n95
    Synchronizing group "evolution-n95"
    The previous synchronization was unclean. Slow-syncing
    Member 1 of type evo2-sync just connected
    received event dsession
    received contact dsession
    Member 2 of type syncml-obex-client just connected
    All clients connected or error
    Received an entry pas-id-47AA3D7000000000 with data of size 4 from member 1. Changetype ADDED
    Received an entry pas-id-47AAB03C00000000 with data of size 4 from member 1. Changetype ADDED
    Received an entry 20080206T205400Z-5332-1000-1-0@lamaar with data of size 4 from member 1. Changetype ADDED
    Received an entry 20080212T131911Z-5797-1000-1-0@lamaar with data of size 4 from member 1. Changetype ADDED
    Member 1 of type evo2-sync just sent all changes
    Received an reply to our Alert
    Received an reply to our Alert
    Going to receive 27 changes
    Received an entry 1 with data of size 4 from member 2. Changetype ADDED
    Going to receive 4 changes
    Received an entry 2 with data of size 4 from member 2. Changetype ADDED
    Received an entry 3 with data of size 4 from member 2. Changetype ADDED
    Member 2 of type syncml-obex-client just sent all changes
    All clients sent changes or error
    All conflicts have been reported
    Sent an entry pas-id-47BF9BC100000001 of size 92 to member 1. Changetype ADDED
    Sent an entry pas-id-47BF9BC100000002 of size 104 to member 1. Changetype ADDED
    Sent an entry pas-id-47BF9BC100000003 of size 113 to member 1. Changetype ADDED
    Sent an entry 20080223T040625Z-14241-1000-1-0@lamaar of size 426 to member 1. Changetype ADDED
    Sent an entry 20080223T040625Z-14241-1000-1-2@lamaar of size 252 to member 1. Changetype ADDED
    Member 1 of type evo2-sync committed all changes.
    Received an reply to our sync
    Sent an entry 29 of size 205 to member 2. Changetype ADDED
    Sent an entry 30 of size 153 to member 2. Changetype ADDED
    Received an reply to our sync
    Sent an entry 6 of size 362 to member 2. Changetype ADDED
    Sent an entry 7 of size 345 to member 2. Changetype ADDED
    Member 2 of type syncml-obex-client committed all changes.
    All clients have written
    Member 1 of type evo2-sync just disconnected
    Member 2 of type syncml-obex-client just disconnected
    All clients have disconnected
    The sync was successful
    $
    Depending on your data to sync, you may see a LOT of info. This may be done quickly or take a minute or two. In any case, you should see "The sync was successful" at the end amd be returned to the prompt.
       6. Pat yourself on the back - you're done. Sync again with the same command as much as you want.
    ps. ignore the README in libopensync-plugin-evolution2-0.22

    Shameless bump. Does anyone know if an iPhone running OS 3.0 can sync properly with iTunes version 8.0.2.20?

  • Copy Evolve Schema Evolution Fails

    Oracle 11gr2 on Linux VM
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 22 13:51:28 2012
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter user-name: jmendez
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production I've been able to get schema evolution to work without data in the table (doesnt help much). When I have data in the table I get the following error message:
    BEGIN
      2    DBMS_XMLSCHEMA.copyEvolve(
      3      xdb$string_list_t('http://localhost/xsd/test/collection_test_3.xsd'),
      4      XMLSequenceType(XDBURIType('/u01/app/xsd/test/collection_evolve_3.xsd').getXML()),
      5      XMLSequenceType(XDBURIType('/u01/app/xsd/test/collection_evolve_3.xsl').getXML()));
      6  END;
      7  /
    BEGIN
    ERROR at line 1:
    ORA-30942: XML Schema Evolution error for schema
    'http://localhost/xsd/test/collection_test_3.xsd' table
    "JMENDEZ"."COLLECTION_TEST" column 'XML_DATA'
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00601: Invalid token in: '()'
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 153
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 221
    ORA-06512: at line 2I've registered the schema's and loaded revised schema and xsl style sheets into the database. Before I try schema evolution I create the proper context and xml indexes and run a few queries with sample data. This works just fine. I drop the indexes prior to starting schema evolution and run the above command. It fails every time.
    CREATE TABLE collection_test
        NAID     NUMBER not null enable,
        opa_counter     number,
        xml_data      XMLType not null enable,
        desc_type      varchar2(25 byte),
        constraint "PK_CL_NAID" Primary key ("NAID")
      XMLTYPE COLUMN "XML_DATA" STORE AS BASICFILE CLOB
      XMLSCHEMA "http://localhost/xsd/test/collection_test_3.xsd" ELEMENT "collection";
    INSERT INTO COLLECTION_TEST(naid,XML_DATA) VALUES (111112,XMLTYPE('<collection>
          <collectionIdentifier>AAS</collectionIdentifier>
          <dataControlGroup>ou\=NW,ou\=groups,dc\=das,dc\=nara,dc\=gov</dataControlGroup>
          <dateApproved>
             <day>3</day>
             <month>12</month>
             <year>2001</year>
          </dateApproved>
          <dateEntered>
             <day>3</day>
             <month>12</month>
             <year>2001</year>
          </dateEntered>
          <descriptionType>6021989</descriptionType>
          <inclusiveEndDate>
             <year>1926</year>
          </inclusiveEndDate>
          <inclusiveStartDate>
             <year>1923</year>
          </inclusiveStartDate>
          <isUnderEdit>false</isUnderEdit>
          <naId>766</naId>
          <organizationalDonorArray>
             <organizationName>
                <naId>6505115</naId>
             </organizationName>
          </organizationalDonorArray>
          <title>American Antiquarian Society Collection</title>
          <variantControlNumberArray>
             <variantControlNumber>
                <number>AAS</number>
                <variantControlNumberType>
                   <naId>6044072</naId>
                </variantControlNumberType>
             </variantControlNumber>
          </variantControlNumberArray>
       </collection>')); I've used mapforce to generate my XSL file.
    I can't seem to find the right resource online for my problem. Any help or redirection is greatly appreciated. Thanks
    -jjm
    Edited by: jjmdb on Feb 22, 2012 10:51 AM

    I am testing schema evolution in a test environment. I'm only changing the xsd file and adding a new element (fullTitle) and having the data that copied from title to fulltitle.
    BEFORE
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    - Description : Collections XML schema
    -->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" version="0.3">
         <!--
          - Include document detailing common Archival Types
        -->
         <xs:include schemaLocation="ArchivalTypes.xsd"/>
         <!--
          - Main XML definition
        -->
         <xs:element name="collection" type="coll_type"/>
         <xs:complexType name="coll_type">
              <xs:sequence>
                   <xs:element name="approvedBy" type="xs:string" minOccurs="0"/>
                   <xs:element name="collectionIdentifier" type="xs:string" minOccurs="0"/>
                   <xs:element name="coverageEndDate" type="qualifiableDate" minOccurs="0"/>
                   <xs:element name="coverageStartDate" type="qualifiableDate" minOccurs="0"/>
                   <xs:element name="dataControlGroup" type="xs:string" minOccurs="0"/>
                   <xs:element name="dateApproved" type="dasDate" minOccurs="0"/>
                   <xs:element name="dateEntered" type="dasDate" minOccurs="0"/>
                   <xs:element name="dateNote" type="xs:string" minOccurs="0"/>
                   <xs:element name="descriptionAuthorArray" type="descriptionAuthorArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="descriptionDateArray" type="dasDateArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="descriptionType" type="xs:long" minOccurs="0"/>
                   <xs:element name="enteredBy" type="xs:string" minOccurs="0"/>
                   <xs:element name="findingAidArray" type="findingAidArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="formerlyContainedArray" type="seriesArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="inclusiveEndDate" type="qualifiableDate" minOccurs="0"/>
                   <xs:element name="inclusiveStartDate" type="qualifiableDate" minOccurs="0"/>
                   <xs:element name="isUnderEdit" type="xs:boolean" minOccurs="0"/>
                   <xs:element name="naId" type="xs:long" minOccurs="1"/>
                   <xs:element name="organizationalDonorArray" type="organizationNameArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="personalDonorArray" type="personArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="preliminaryDescriptionArray" type="preliminaryDescriptionArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="scopeAndContentNote" type="xs:string" minOccurs="0"/>
                   <xs:element name="seriesArray" type="seriesArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="staffOnlyNote" type="xs:string" minOccurs="0"/>
                   <xs:element name="title" type="xs:string" minOccurs="0"/>
                   <xs:element name="variantControlNumberArray" type="variantControlNumberArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
    </xs:schema>
    AFTER
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    - Description : Collections XML schema
    -->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" version="0.3">
         <!--
          - Include document detailing common Archival Types
        -->
         <xs:include schemaLocation="ArchivalTypes.xsd"/>
         <!--
          - Main XML definition
        -->
         <xs:element name="collection" type="coll_type"/>
         <xs:complexType name="coll_type">
              <xs:sequence>
                   <xs:element name="approvedBy" type="xs:string" minOccurs="0"/>
                   <xs:element name="collectionIdentifier" type="xs:string" minOccurs="0"/>
                   <xs:element name="coverageEndDate" type="qualifiableDate" minOccurs="0"/>
                   <xs:element name="coverageStartDate" type="qualifiableDate" minOccurs="0"/>
                   <xs:element name="dataControlGroup" type="xs:string" minOccurs="0"/>
                   <xs:element name="dateApproved" type="dasDate" minOccurs="0"/>
                   <xs:element name="dateEntered" type="dasDate" minOccurs="0"/>
                   <xs:element name="dateNote" type="xs:string" minOccurs="0"/>
                   <xs:element name="descriptionAuthorArray" type="descriptionAuthorArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="descriptionDateArray" type="dasDateArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="descriptionType" type="xs:long" minOccurs="0"/>
                   <xs:element name="enteredBy" type="xs:string" minOccurs="0"/>
                   <xs:element name="findingAidArray" type="findingAidArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="formerlyContainedArray" type="seriesArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="inclusiveEndDate" type="qualifiableDate" minOccurs="0"/>
                   <xs:element name="inclusiveStartDate" type="qualifiableDate" minOccurs="0"/>
                   <xs:element name="isUnderEdit" type="xs:boolean" minOccurs="0"/>
                   <xs:element name="naId" type="xs:long" minOccurs="1"/>
                   <xs:element name="organizationalDonorArray" type="organizationNameArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="personalDonorArray" type="personArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="preliminaryDescriptionArray" type="preliminaryDescriptionArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="scopeAndContentNote" type="xs:string" minOccurs="0"/>
                   <xs:element name="seriesArray" type="seriesArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
                   <xs:element name="staffOnlyNote" type="xs:string" minOccurs="0"/>
                   <xs:element name="title" type="xs:string" minOccurs="0"/>
                   <xs:element name="fullTitle" type="xs:string" minOccurs="0"/>
                   <xs:element name="variantControlNumberArray" type="variantControlNumberArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
    </xs:schema>XSLT
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    This file was generated by Altova MapForce 2012sp1
    YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
    OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
    Refer to the Altova MapForce Documentation for further details.
    http://www.altova.com/mapforce
    -->
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:core="http://www.altova.com/MapForce/UDF/core" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" exclude-result-prefixes="core xs fn">
         <xsl:template name="core:convert-uri-to-windows-file-path">
              <xsl:param name="uri" select="()"/>
              <xsl:choose>
                   <xsl:when test="fn:starts-with($uri, 'file://')">
                        <xsl:choose>
                             <xsl:when test="(fn:substring($uri, xs:double('6'), xs:double('3')) = '///')">
                                  <xsl:variable name="var1_resultof_url_decode" as="xs:string">
                                       <xsl:call-template name="core:url-decode">
                                            <xsl:with-param name="uri" select="fn:substring($uri, xs:double('9'), xs:double(fn:string-length($uri)))" as="xs:string"/>
                                       </xsl:call-template>
                                  </xsl:variable>
                                  <xsl:sequence select="fn:translate($var1_resultof_url_decode, '/|', '\:')"/>
                             </xsl:when>
                             <xsl:otherwise>
                                  <xsl:sequence select="$uri"/>
                             </xsl:otherwise>
                        </xsl:choose>
                   </xsl:when>
                   <xsl:otherwise>
                        <xsl:sequence select="$uri"/>
                   </xsl:otherwise>
              </xsl:choose>
         </xsl:template>
         <xsl:template name="core:url-decode">
              <xsl:param name="uri" select="()"/>
              <xsl:choose>
                   <xsl:when test="fn:contains($uri, '%')">
                        <xsl:variable name="var1_resultof_url_decode_part" as="xs:string">
                             <xsl:call-template name="core:url-decode-part">
                                  <xsl:with-param name="uripart" select="fn:substring-after($uri, '%')" as="xs:string"/>
                             </xsl:call-template>
                        </xsl:variable>
                        <xsl:sequence select="fn:concat(fn:substring-before($uri, '%'), $var1_resultof_url_decode_part)"/>
                   </xsl:when>
                   <xsl:otherwise>
                        <xsl:sequence select="$uri"/>
                   </xsl:otherwise>
              </xsl:choose>
         </xsl:template>
         <xsl:template name="core:url-decode-part">
              <xsl:param name="uripart" select="()"/>
              <xsl:variable name="var1_resultof_dec_from__digits_hex" as="xs:decimal">
                   <xsl:call-template name="core:dec-from-2digits-hex">
                        <xsl:with-param name="hex" select="$uripart" as="xs:string"/>
                   </xsl:call-template>
              </xsl:variable>
              <xsl:choose>
                   <xsl:when test="($var1_resultof_dec_from__digits_hex &lt; xs:decimal('128'))">
                        <xsl:call-template name="core:url-decode-utf8">
                             <xsl:with-param name="value" select="$var1_resultof_dec_from__digits_hex" as="xs:decimal"/>
                             <xsl:with-param name="bytes" select="xs:decimal('0')" as="xs:decimal"/>
                             <xsl:with-param name="rest" select="fn:substring($uripart, xs:double('3'), xs:double(fn:string-length($uripart)))" as="xs:string"/>
                        </xsl:call-template>
                   </xsl:when>
                   <xsl:when test="($var1_resultof_dec_from__digits_hex &lt; xs:decimal('194'))">
                        <xsl:call-template name="core:url-decode">
                             <xsl:with-param name="uri" select="fn:substring($uripart, xs:double('3'), xs:double(fn:string-length($uripart)))" as="xs:string"/>
                        </xsl:call-template>
                   </xsl:when>
                   <xsl:when test="($var1_resultof_dec_from__digits_hex &lt; xs:decimal('224'))">
                        <xsl:call-template name="core:url-decode-utf8">
                             <xsl:with-param name="value" select="$var1_resultof_dec_from__digits_hex" as="xs:decimal"/>
                             <xsl:with-param name="bytes" select="xs:decimal('1')" as="xs:decimal"/>
                             <xsl:with-param name="rest" select="fn:substring($uripart, xs:double('3'), xs:double(fn:string-length($uripart)))" as="xs:string"/>
                        </xsl:call-template>
                   </xsl:when>
                   <xsl:when test="($var1_resultof_dec_from__digits_hex &lt; xs:decimal('240'))">
                        <xsl:call-template name="core:url-decode-utf8">
                             <xsl:with-param name="value" select="$var1_resultof_dec_from__digits_hex" as="xs:decimal"/>
                             <xsl:with-param name="bytes" select="xs:decimal('2')" as="xs:decimal"/>
                             <xsl:with-param name="rest" select="fn:substring($uripart, xs:double('3'), xs:double(fn:string-length($uripart)))" as="xs:string"/>
                        </xsl:call-template>
                   </xsl:when>
                   <xsl:when test="($var1_resultof_dec_from__digits_hex &lt; xs:decimal('245'))">
                        <xsl:call-template name="core:url-decode-utf8">
                             <xsl:with-param name="value" select="$var1_resultof_dec_from__digits_hex" as="xs:decimal"/>
                             <xsl:with-param name="bytes" select="xs:decimal('3')" as="xs:decimal"/>
                             <xsl:with-param name="rest" select="fn:substring($uripart, xs:double('3'), xs:double(fn:string-length($uripart)))" as="xs:string"/>
                        </xsl:call-template>
                   </xsl:when>
                   <xsl:otherwise>
                        <xsl:sequence select="''"/>
                   </xsl:otherwise>
              </xsl:choose>
         </xsl:template>
         <xsl:template name="core:dec-from-2digits-hex">
              <xsl:param name="hex" select="()"/>
              <xsl:variable name="var1_resultof_dec_from__digit_hex" as="xs:decimal">
                   <xsl:call-template name="core:dec-from-1digit-hex">
                        <xsl:with-param name="hex" select="fn:substring($hex, xs:double('1'), xs:double('1'))" as="xs:string"/>
                   </xsl:call-template>
              </xsl:variable>
              <xsl:variable name="var2_resultof_dec_from__digit_hex" as="xs:decimal">
                   <xsl:call-template name="core:dec-from-1digit-hex">
                        <xsl:with-param name="hex" select="fn:substring($hex, xs:double('2'), xs:double('1'))" as="xs:string"/>
                   </xsl:call-template>
              </xsl:variable>
              <xsl:sequence select="(($var1_resultof_dec_from__digit_hex * xs:decimal('16')) + $var2_resultof_dec_from__digit_hex)"/>
         </xsl:template>
         <xsl:template name="core:url-decode-utf8">
              <xsl:param name="value" select="()"/>
              <xsl:param name="bytes" select="()"/>
              <xsl:param name="rest" select="()"/>
              <xsl:choose>
                   <xsl:when test="($bytes = xs:integer('0'))">
                        <xsl:variable name="var1_resultof_char_from_code" as="xs:string">
                             <xsl:call-template name="core:char-from-code">
                                  <xsl:with-param name="code" select="xs:integer($value)" as="xs:integer"/>
                             </xsl:call-template>
                        </xsl:variable>
                        <xsl:variable name="var2_resultof_url_decode" as="xs:string">
                             <xsl:call-template name="core:url-decode">
                                  <xsl:with-param name="uri" select="$rest" as="xs:string"/>
                             </xsl:call-template>
                        </xsl:variable>
                        <xsl:sequence select="fn:concat($var1_resultof_char_from_code, $var2_resultof_url_decode)"/>
                   </xsl:when>
                   <xsl:when test="(fn:substring($rest, xs:double('1'), xs:double('1')) = '%')">
                        <xsl:variable name="var3_resultof_cast" as="xs:double" select="xs:double(fn:string-length($rest))"/>
                        <xsl:variable name="var4_resultof_dec_from__digits_hex" as="xs:decimal">
                             <xsl:call-template name="core:dec-from-2digits-hex">
                                  <xsl:with-param name="hex" select="fn:substring($rest, xs:double('2'), $var3_resultof_cast)" as="xs:string"/>
                             </xsl:call-template>
                        </xsl:variable>
                        <xsl:call-template name="core:url-decode-utf8">
                             <xsl:with-param name="value" select="((($value mod xs:decimal('64')) * xs:decimal('64')) + ($var4_resultof_dec_from__digits_hex mod xs:decimal('64')))" as="xs:decimal"/>
                             <xsl:with-param name="bytes" select="($bytes - xs:decimal('1'))" as="xs:decimal"/>
                             <xsl:with-param name="rest" select="fn:substring($rest, xs:double('4'), $var3_resultof_cast)" as="xs:string"/>
                        </xsl:call-template>
                   </xsl:when>
                   <xsl:otherwise>
                        <xsl:call-template name="core:url-decode">
                             <xsl:with-param name="uri" select="$rest" as="xs:string"/>
                        </xsl:call-template>
                   </xsl:otherwise>
              </xsl:choose>
         </xsl:template>
         <xsl:template name="core:dec-from-1digit-hex">
              <xsl:param name="hex" select="()"/>
              <xsl:variable name="var1_resultof_string_length" as="xs:integer" select="fn:string-length(fn:substring-before('0123456789ABCDEFabcdef', $hex))"/>
              <xsl:choose>
                   <xsl:when test="($var1_resultof_string_length &lt;= xs:integer('15'))">
                        <xsl:sequence select="$var1_resultof_string_length"/>
                   </xsl:when>
                   <xsl:otherwise>
                        <xsl:sequence select="($var1_resultof_string_length - xs:decimal('6'))"/>
                   </xsl:otherwise>
              </xsl:choose>
         </xsl:template>
         <xsl:template name="core:char-from-code">
              <xsl:param name="code" select="()"/>
              <xsl:sequence select="fn:codepoints-to-string($code)"/>
         </xsl:template>
         <xsl:output method="xml" encoding="UTF-8" indent="yes"/>
         <xsl:template match="/">
              <xsl:variable name="var1_resultof_document" as="node()" select="."/>
              <xsl:variable name="var2_resultof_convert_uri_to_windows_file_path" as="xs:string">
                   <xsl:call-template name="core:convert-uri-to-windows-file-path">
                        <xsl:with-param name="uri" select="fn:document-uri($var1_resultof_document)" as="xs:string"/>
                   </xsl:call-template>
              </xsl:variable>
              <xsl:result-document href="{$var2_resultof_convert_uri_to_windows_file_path}" encoding="UTF-8">
                   <collection>
                        <xsl:attribute name="xsi:noNamespaceSchemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance" select="'C:/Users/Javier/Documents/XML/XSD/collection_evolve_2.xsd'"/>
                        <xsl:for-each select="$var1_resultof_document/collection">
                             <xsl:variable name="var3_title" as="node()?" select="title"/>
                             <xsl:for-each select="approvedBy">
                                  <approvedBy>
                                       <xsl:sequence select="fn:string(.)"/>
                                  </approvedBy>
                             </xsl:for-each>
                             <xsl:for-each select="collectionIdentifier">
                                  <collectionIdentifier>
                                       <xsl:sequence select="fn:string(.)"/>
                                  </collectionIdentifier>
                             </xsl:for-each>
                             <xsl:for-each select="coverageEndDate">
                                  <coverageEndDate>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </coverageEndDate>
                             </xsl:for-each>
                             <xsl:for-each select="coverageStartDate">
                                  <coverageStartDate>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </coverageStartDate>
                             </xsl:for-each>
                             <xsl:for-each select="dataControlGroup">
                                  <dataControlGroup>
                                       <xsl:sequence select="fn:string(.)"/>
                                  </dataControlGroup>
                             </xsl:for-each>
                             <xsl:for-each select="dateApproved">
                                  <dateApproved>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </dateApproved>
                             </xsl:for-each>
                             <xsl:for-each select="dateEntered">
                                  <dateEntered>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </dateEntered>
                             </xsl:for-each>
                             <xsl:for-each select="dateNote">
                                  <dateNote>
                                       <xsl:sequence select="fn:string(.)"/>
                                  </dateNote>
                             </xsl:for-each>
                             <xsl:for-each select="descriptionAuthorArray">
                                  <descriptionAuthorArray>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </descriptionAuthorArray>
                             </xsl:for-each>
                             <xsl:for-each select="descriptionDateArray">
                                  <descriptionDateArray>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </descriptionDateArray>
                             </xsl:for-each>
                             <xsl:for-each select="descriptionType">
                                  <descriptionType>
                                       <xsl:sequence select="xs:string(xs:integer(fn:string(.)))"/>
                                  </descriptionType>
                             </xsl:for-each>
                             <xsl:for-each select="enteredBy">
                                  <enteredBy>
                                       <xsl:sequence select="fn:string(.)"/>
                                  </enteredBy>
                             </xsl:for-each>
                             <xsl:for-each select="findingAidArray">
                                  <findingAidArray>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </findingAidArray>
                             </xsl:for-each>
                             <xsl:for-each select="formerlyContainedArray">
                                  <formerlyContainedArray>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </formerlyContainedArray>
                             </xsl:for-each>
                             <xsl:for-each select="inclusiveEndDate">
                                  <inclusiveEndDate>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </inclusiveEndDate>
                             </xsl:for-each>
                             <xsl:for-each select="inclusiveStartDate">
                                  <inclusiveStartDate>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </inclusiveStartDate>
                             </xsl:for-each>
                             <xsl:for-each select="isUnderEdit">
                                  <isUnderEdit>
                                       <xsl:sequence select="xs:string(xs:boolean(fn:string(.)))"/>
                                  </isUnderEdit>
                             </xsl:for-each>
                             <naId>
                                  <xsl:sequence select="xs:string(xs:integer(fn:string(naId)))"/>
                             </naId>
                             <xsl:for-each select="organizationalDonorArray">
                                  <organizationalDonorArray>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </organizationalDonorArray>
                             </xsl:for-each>
                             <xsl:for-each select="personalDonorArray">
                                  <personalDonorArray>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </personalDonorArray>
                             </xsl:for-each>
                             <xsl:for-each select="preliminaryDescriptionArray">
                                  <preliminaryDescriptionArray>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </preliminaryDescriptionArray>
                             </xsl:for-each>
                             <xsl:for-each select="scopeAndContentNote">
                                  <scopeAndContentNote>
                                       <xsl:sequence select="fn:string(.)"/>
                                  </scopeAndContentNote>
                             </xsl:for-each>
                             <xsl:for-each select="seriesArray">
                                  <seriesArray>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </seriesArray>
                             </xsl:for-each>
                             <xsl:for-each select="staffOnlyNote">
                                  <staffOnlyNote>
                                       <xsl:sequence select="fn:string(.)"/>
                                  </staffOnlyNote>
                             </xsl:for-each>
                             <xsl:for-each select="$var3_title">
                                  <title>
                                       <xsl:sequence select="fn:string(.)"/>
                                  </title>
                             </xsl:for-each>
                             <xsl:for-each select="$var3_title">
                                  <fullTitle>
                                       <xsl:sequence select="fn:string(.)"/>
                                  </fullTitle>
                             </xsl:for-each>
                             <xsl:for-each select="variantControlNumberArray">
                                  <variantControlNumberArray>
                                       <xsl:sequence select="(./@node(), ./node())"/>
                                  </variantControlNumberArray>
                             </xsl:for-each>
                        </xsl:for-each>
                   </collection>
              </xsl:result-document>
         </xsl:template>
    </xsl:stylesheet>Edited by: jjmdb on Feb 22, 2012 11:42 AM

Maybe you are looking for