XML Merge

I am attempting to merge two xml documents, listed below.
XML1
<PERSON>
<GPMSMarker>40</GPMSMarker>
<Force GPMSMarker="40">62</Force>
<SourceId GPMSMarker="40">1234</SourceId>
<Surname GPMSMarker="40">BLOGGS</Surname>
<Forename1 GPMSMarker="40">FRED</Forename1>
<Gender GPMSMarker="40">MALE</Gender>
<DOB GPMSMarker="40">1921-01-01</DOB>
<Ethnic_Origin GPMSMarker="40">WHITE EUROPEAN</Ethnic_Origin>
</PERSON>
XML2
<PERSON>
<GPMSMarker>40</GPMSMarker>
<Force GPMSMarker="40">61</Force>
<SourceId>abd</SourceId>
<Surname GPMSMarker="40">BLOGGS</Surname>
<Forename1 GPMSMarker="40">FRED</Forename1>
<Forename2 GPMSMarker="40">JOE</Forename2>
<Gender GPMSMarker="40">Male</Gender>
<DOB GPMSMarker="40">1921-01-01</DOB>
<Ethnic_Origin GPMSMarker="40">1- White European</Ethnic_Origin>
<Self_Defined_Ethnicity GPMSMarker="40">British</Self_Defined_Ethnicity>
<Marks_Scars>
<Mark>TATTOO</Mark>
</Marks_Scars>
</PERSON>
The merge uses the following XSLT:
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file was generated by Altova MapForce 2007r3
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="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:variable name="xml2" select="document('/public/person/xml2.xml')"/>
<xsl:template match="/PERSON">
<PERSON>
<xsl:for-each select="GPMSMarker">
<GPMSMarker>
<xsl:value-of select="$xml2/PERSON/GPMSMarker"/>
</GPMSMarker>
</xsl:for-each>
<xsl:for-each select="Force">
<Force>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker2" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker2"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Force"/>
</Force>
</xsl:for-each>
<xsl:for-each select="SourceId">
<xsl:variable name="VmarkerloopSourceId" select="."/>
<SourceId>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker3" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker3"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/SourceId"/>
</SourceId>
</xsl:for-each>
<xsl:choose>
<xsl:when test="/PERSON/Title">
<xsl:for-each select="Title">
<xsl:variable name="VmarkerloopTitle" select="."/>
<Title>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker4" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker4"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Title"/>
</Title>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Title">
<xsl:variable name="VmarkerloopTitle" select="."/>
<Title>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker4" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker4"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Title"/>
</Title>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/Surname">
<xsl:for-each select="Surname">
<xsl:variable name="VmarkerloopSurname" select="."/>
<Surname>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker5" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker5"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Surname"/>
</Surname>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Surname">
<xsl:variable name="VmarkerloopSurname" select="."/>
<Surname>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker5" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker5"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Surname"/>
</Surname>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/Forename1">
<xsl:for-each select="Forename1">
<xsl:variable name="VmarkerloopForename1" select="."/>
<Forename1>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker6" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker6"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Forename1"/>
</Forename1>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Forename1">
<xsl:variable name="VmarkerloopForename1" select="."/>
<Forename1>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker6" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker6"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Forename1"/>
</Forename1>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/Forename2">
<xsl:for-each select="Forename2">
<xsl:variable name="VmarkerloopForename2" select="."/>
<Forename2>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker7" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker7"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Forename2"/>
</Forename2>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Forename2">
<xsl:variable name="VmarkerloopForename2" select="."/>
<Forename2>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker7" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker7"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Forename2"/>
</Forename2>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/Forename3">
<xsl:for-each select="Forename3">
<xsl:variable name="VmarkerloopForename3" select="."/>
<Forename3>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker8" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker8"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Forename3"/>
</Forename3>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Forename3">
<xsl:variable name="VmarkerloopForename3" select="."/>
<Forename3>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker8" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker8"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Forename3"/>
</Forename3>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/Forename4">
<xsl:for-each select="Forename4">
<xsl:variable name="VmarkerloopForename4" select="."/>
<Forename4>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker9" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker9"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Forename4"/>
</Forename4>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Forename4">
<xsl:variable name="VmarkerloopForename4" select="."/>
<Forename4>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker9" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker9"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Forename4"/>
</Forename4>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/Gender">
<xsl:for-each select="Gender">
<xsl:variable name="VmarkerloopGender" select="."/>
<Gender>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker10" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker10"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Gender"/>
</Gender>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Gender">
<xsl:variable name="VmarkerloopGender" select="."/>
<Gender>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker10" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker10"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Gender"/>
</Gender>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/DOB">
<xsl:for-each select="DOB">
<xsl:variable name="VmarkerloopDOB" select="."/>
<DOB>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker11" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker11"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/DOB"/>
</DOB>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/DOB">
<xsl:variable name="VmarkerloopDOB" select="."/>
<DOB>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker11" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker11"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/DOB"/>
</DOB>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/Place_Of_Birth">
<xsl:for-each select="Place_Of_Birth">
<xsl:variable name="VmarkerloopPlace_Of_Birth" select="."/>
<Place_Of_Birth>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker12" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker12"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Place_Of_Birth"/>
</Place_Of_Birth>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Place_Of_Birth">
<xsl:variable name="VmarkerloopPlace_Of_Birth" select="."/>
<Place_Of_Birth>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker12" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker12"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Place_Of_Birth"/>
</Place_Of_Birth>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/Ethnic_Origin">
<xsl:for-each select="Ethnic_Origin">
<xsl:variable name="VmarkerloopEthnic_Origin" select="."/>
<Ethnic_Origin>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker13" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker13"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Ethnic_Origin"/>
</Ethnic_Origin>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Ethnic_Origin">
<xsl:variable name="VmarkerloopEthnic_Origin" select="."/>
<Ethnic_Origin>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker13" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker13"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Ethnic_Origin"/>
</Ethnic_Origin>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/Occupation">
<xsl:for-each select="Occupation">
<xsl:variable name="VmarkerloopOccupation" select="."/>
<Occupation>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker14" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker14"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Occupation"/>
</Occupation>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Occupation">
<xsl:variable name="VmarkerloopOccupation" select="."/>
<Occupation>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker14" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker14"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Occupation"/>
</Occupation>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/Self_Defined_Ethnicity">
<xsl:for-each select="Self_Defined_Ethnicity">
<xsl:variable name="VmarkerloopSelf_Defined_Ethnicity" select="."/>
<Self_Defined_Ethnicity>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker15" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker15"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Self_Defined_Ethnicity"/>
</Self_Defined_Ethnicity>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Self_Defined_Ethnicity">
<xsl:variable name="VmarkerloopSelf_Defined_Ethnicity" select="."/>
<Self_Defined_Ethnicity>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker15" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker15"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Self_Defined_Ethnicity"/>
</Self_Defined_Ethnicity>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/CRO_No">
<xsl:for-each select="CRO_No">
<xsl:variable name="VmarkerloopCRO_No" select="."/>
<CRO_No>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker16" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker16"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/CRO_No"/>
</CRO_No>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/CRO_No">
<xsl:variable name="VmarkerloopCRO_No" select="."/>
<CRO_No>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker16" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker16"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/CRO_No"/>
</CRO_No>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/PNC_Id">
<xsl:for-each select="PNC_Id">
<xsl:variable name="VmarkerloopPNC_Id" select="."/>
<PNC_Id>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker17" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker17"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/PNC_Id"/>
</PNC_Id>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/PNC_Id">
<xsl:variable name="VmarkerloopPNC_Id" select="."/>
<PNC_Id>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker17" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker17"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/PNC_Id"/>
</PNC_Id>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/Officer">
<xsl:for-each select="Officer">
<Officer>
<xsl:choose>
<xsl:when test="/PERSON/Officer/Pin">
<xsl:for-each select="Pin">
<xsl:variable name="VmarkerloopPin" select="."/>
<Pin>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker18" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker18"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Officer/Pin"/>
</Pin>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Officer/Pin">
<xsl:variable name="VmarkerloopPin" select="."/>
<Pin>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker18" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker18"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Officer/Pin"/>
</Pin>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="/PERSON/Officer/Rank">
<xsl:for-each select="Rank">
<xsl:variable name="VmarkerloopRank" select="."/>
<Rank>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker19" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker19"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Officer/Rank"/>
</Rank>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Officer/Rank">
<xsl:variable name="VmarkerloopRank" select="."/>
<Rank>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker19" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker19"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Officer/Rank"/>
</Rank>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</Officer>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Officer">
<Officer>
<xsl:for-each select="$xml2/PERSON/Officer/Pin">
<xsl:variable name="VmarkerloopPin" select="."/>
<Pin>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker18" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker18"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Officer/Pin"/>
</Pin>
</xsl:for-each>
<xsl:for-each select="$xml2/PERSON/Officer/Rank">
<xsl:variable name="VmarkerloopRank" select="."/>
<Rank>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker19" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker19"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Officer/Rank"/>
</Rank>
</xsl:for-each>
</Officer>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:for-each select="Warning">
<xsl:variable name="VmarkerloopWarning" select="."/>
<Warning>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker20" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker20"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="/PERSON/Warning"/>
</Warning>
</xsl:for-each>
<xsl:for-each select="$xml2/PERSON/Warning">
<xsl:variable name="VmarkerloopWarning" select="."/>
<Warning>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker20" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker20"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="."/>
</Warning>
</xsl:for-each>
<xsl:for-each select="Marks_Scars">
<Marks_Scars>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker21" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker21"/>
</xsl:attribute>
</xsl:for-each>
<xsl:for-each select="Mark">
<Mark>
<xsl:value-of select="$xml2/PERSON/Marks_Scars/Mark"/>
</Mark>
</xsl:for-each>
<xsl:for-each select="Description">
<Description>
<xsl:value-of select="$xml2/PERSON/Marks_Scars/Description"/>
</Description>
</xsl:for-each>
<xsl:for-each select="Position">
<Position>
<xsl:value-of select="$xml2/PERSON/Marks_Scars/Position"/>
</Position>
</xsl:for-each>
</Marks_Scars>
</xsl:for-each>
<xsl:for-each select="$xml2/PERSON/Marks_Scars">
<Marks_Scars>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker21" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker21"/>
</xsl:attribute>
</xsl:for-each>
<xsl:for-each select="Mark">
<Mark>
<xsl:value-of select="."/>
</Mark>
</xsl:for-each>
<xsl:for-each select="Description">
<Description>
<xsl:value-of select="."/>
</Description>
</xsl:for-each>
<xsl:for-each select="Position">
<Position>
<xsl:value-of select="."/>
</Position>
</xsl:for-each>
</Marks_Scars>
</xsl:for-each>
<xsl:choose>
<xsl:when test="/PERSON/Image_Id">
<xsl:for-each select="Image_Id">
<xsl:variable name="VmarkerloopImage_Id" select="."/>
<Image_Id>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker22" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker22"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Image_Id"/>
</Image_Id>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="$xml2/PERSON/Image_Id">
<xsl:variable name="VmarkerloopImage_Id" select="."/>
<Image_Id>
<xsl:for-each select="@GPMSMarker">
<xsl:variable name="VmarkerloopGPMSMarker22" select="."/>
<xsl:attribute name="GPMSMarker">
<xsl:value-of select="$VmarkerloopGPMSMarker22"/>
</xsl:attribute>
</xsl:for-each>
<xsl:value-of select="$xml2/PERSON/Image_Id"/>
</Image_Id>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</PERSON>
</xsl:template>
</xsl:stylesheet>
When I test the merge using ARCHTAG the results are a per XML3.
XML3
<?xml version="1.0"?>
<PERSON>
<GPMSMarker>40</GPMSMarker>
<Force GPMSMarker="40">61</Force>
<SourceId GPMSMarker="40">abd</SourceId>
<Surname GPMSMarker="40">BLOGGS</Surname>
<Forename1 GPMSMarker="40">FRED</Forename1>
<Forename2 GPMSMarker="40">JOE</Forename2>
<Gender GPMSMarker="40">Male</Gender>
<DOB GPMSMarker="40">1921-01-01</DOB>
<Ethnic_Origin GPMSMarker="40">1- White European</Ethnic_Origin>
<Self_Defined_Ethnicity GPMSMarker="40">British</Self_Defined_Ethnicity>
<Marks_Scars>
<Mark>TATTOO</Mark>
</Marks_Scars>
</PERSON>
So far so good.
The problem that I have is when I run this using XMLTransform the results are as follows;
406112349BLOGGSFREDMALE1921-01-01WHITE EUROPEAN
The following is the code used to create the resource and perform the transform:
PROCEDURE generatechild (
prefidtxt IN VARCHAR2,
pmasterrefidtxt IN VARCHAR2,
pxml1 IN XMLType,
pxml2 IN XMLType
Set the master ref id of this record to the matching record master ref id
IS
pverrnonum error_log.err_no%TYPE := 0;
pverrmsgtxt error_log.err_msg%TYPE NULL;
pvXML3 XMLType;
pvStylesheet XMLType;
pvRes BOOLEAN := FALSE;
BEGIN
BEGIN
<<getStylesheet>>
SELECT stylesheet
INTO pvStylesheet
FROM stylesheet_table
WHERE stylesheet_type = 'GROUP NOMINAL';
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
pverrnonum := SQLCODE;
pverrmsgtxt := SUBSTR (SQLERRM, 1, 100);
reposlibrary.errhandler
(prefidtxt,
pverrnonum,
pverrmsgtxt,
'groupNominal.generateChild getStylesheet',
'groupNominal'
END getStylesheet;
BEGIN
/* To enable the stlyesheet to read in a second document for the XML merge
a reference pointer has to be created for the 2nd XML, therefoer create a resource.
<<createResource>>
IF DBMS_XDB.existsResource('/public/person/xml2.xml')
THEN
DBMS_XDB.deleteResource('/public/person/xml2.xml',DBMS_XDB.DELETE_FORCE);
END IF;
COMMIT;
pvRes := DBMS_XDB.createResource('/public/person/xml2.xml',pxml2.getClobVal());
COMMIT;
EXCEPTION WHEN OTHERS THEN
pverrnonum := SQLCODE;
pverrmsgtxt := SUBSTR (SQLERRM, 1, 100);
reposlibrary.errhandler
(prefidtxt,
pverrnonum,
pverrmsgtxt,
'groupNominal.generateChild createResource',
'groupNominal'
END createResource;
BEGIN
<<AggMaster>>
SELECT XMLTRANSFORM (pxml1, pvstylesheet)
INTO pvXML3
FROM DUAL;
COMMIT;
In theory I believe this should work has anyone any ideas as to why it is not?
Thanks

The logic works when the second document is referenced as a file as follows, and the two documents are transformed via the XSLT using Architag;
<xsl:variable name="xml2" select="document('C:\DevLaptop\Versoin1.5Build17\TestCase/xml2.xml')"/>
To enable it to work inside the database I create the resource and reference it as follows;
<xsl:variable name="xml2" select="document(/public/person/xml2.xml')"/>
I can see the contents of the resource and they are correct.
In the following thread;
XSLT Using document() reference XML DB object
Mark Drake suggested the solution I am using.
Thanks

Similar Messages

  • "A fatal error occurred during the XML merging process" - issue

    All,
    We have now been able to by pass an initial error message (Failed to add BusinessObjects XI 3.1 SharePoint 2007 PIK to SharePoint) during the PIK installation, but unfortunately another one is popping up now.
    System specs:
    - Sharepoint 2007 SP2
    - BOE XI 3.1 .NET SDK
    - BusinessObjects XI 3.1 SharePoint 2007 Portal Integration Kit
    The switch u201Csp2007=1u201D behind the setup.exe in a command prompt has to be used to overcome the initial error message.
    The new error message is "A fatal error occurred during the XML merging processu201D.
    If you would have any pointers or tips how to solve this, I would very much appreciate your help.
    Regards, Janne

    All,
    We have now been able to by pass an initial error message (Failed to add BusinessObjects XI 3.1 SharePoint 2007 PIK to SharePoint) during the PIK installation, but unfortunately another one is popping up now.
    System specs:
    - Sharepoint 2007 SP2
    - BOE XI 3.1 .NET SDK
    - BusinessObjects XI 3.1 SharePoint 2007 Portal Integration Kit
    The switch u201Csp2007=1u201D behind the setup.exe in a command prompt has to be used to overcome the initial error message.
    The new error message is "A fatal error occurred during the XML merging processu201D.
    If you would have any pointers or tips how to solve this, I would very much appreciate your help.
    Regards, Janne

  • HELP:Merging External File (JPG/PDF) into XDP/XML Merged PDF on Client

    I need some serious help pointing me in the right direction.
    What I have...and is working:
    I have an Invoice Template/PDF/Form created by LiveCycle with form fields.  When requested by the user, in real-time I send XML from my server that is merged with the PDF template to create a single PDF file with multiple pages of invoices.  Each invoice fits on one page.  Works great...technically I think this is called or used XDP to merge the two on the client computer with a PDF and XML being supplied by the server.
    The server is just a generic Unix/PHP/MySQL environment...no Adobe products are installed (or can be installed on that machine).  I rely entirely on the client's computer to assemble and create the finished PDF.
    What I NEED:
    So the client is now asking that I be able to insert receipts into the invoice PDF stream.  So in order words you would still have the invoices above, but if we happen to have scanned receipts for a given invoice, they want those embedded into the PDF.  A finished product would look like:
    Page 1 - Invoice 00001
    Page 2 - Receipt #1 for Invoice 0001
    Page 3 - Receipt #2 for Invoice 0001
    Page 4 - Invoice 00002
    Page 5 - Invoice 00003
    Page 6 - Receipt #1 for Invoice 0003
    etc.
    Can someone point me in the right direction to make this happen?
    Perfect world, I would like to have the invoices be actual images of the receipts (assume we need to have a JPG or PDF scan of the receipt)
    Okay world, I guess we could just attach the actual document so if it is XLS, DOC, PDF...etc...I don't need to convert...just attach.
    Last choice, I could just include hyperlinks back to our server for the client to click on and open the receipt document as we store it.

    From your post it sounds like you are Central Pro (a product for which I am by no means an expert), but you say you want to upgrade to a newer product from your "legacy" one. Is there a reason for this? Have your requirements change so that it no longer fits them? Central is still in the current Adobe roster and as far as I know there is no plans to get rid of it any time soon, so if it does everything you want I don't see why you would want to change.
    There is no product in the LiveCycle suite that merges xml data into a form from the command line. LiveCycle (with the exception of Designer) is a suite of server products, so the closest you would come is LiveCycle Forms (merge the xml and create a fillable PDF) or LiveCycle Print (merge the xml and print the form).
    Hope this helps somewhat.
    Chris
    Adobe Enterprise Developer Support

  • Importstring with xml merging row data

    I have a simple XML import I'm trying to do, rather than manually parsing the data. There's a problem though. The following XML generates 3 rows in the datawindow instead of 4. I'm using a default template.
    <?xml version="1.0"?><dw_tqxml>
    <dw_tqxml_row><dosetime>AM</dosetime><qty>1</qty></dw_tqxml_row>
    <dw_tqxml_row><dosetime>8pm</dosetime><qty>1.25</qty></dw_tqxml_row>
    <dw_tqxml_row><dosetime>NOON</dosetime></dw_tqxml_row>
    <dw_tqxml_row><qty>3.00</qty></dw_tqxml_row>
    </dw_tqxml>
    The first and second rows come out fine, the third row is a combination of the two last rows.
    Here's the result data
    "AM", "1"
    "8pm", "1.25"
    "NOON", "3.00"
    dw sql is:
    select space(10) as dosetime, space(10) as qty from dummy
    It's my understanding that missing data should use the default values in the datawindow.
    PB 12.5 Build 5583
    Anyone have any ideas on why it's merging rows? This is the first time I've used XML import, don't really have a clue what I'm missing.

    I have limited experience with XML import. What I have just found is:
    Column tag names are ignored during import.
    The import "finds" the data between each detail item.
    Appears to completely ignore the surrounding "row" tags.
    Your XML file needs empty detail tags when there is no data. No PowerBuiilder import function will assign default values. Only InsertRow() function does that.
    XML imports/exports works really well with nested or composite datawindows. There are templates generated that you can use.  Not sure how templates work.

  • XML Merging

    I have two XMl documents like
    document 1:
    <messages>
    <msg>
         <keyno>AAA</keyno>
         <num>01001</num>
    </msg>
    <msg>
         <keyno>BBB</keyno>
         <num>01001</num>
    </msg>
    </messages>
    document 2:
    <messages>
    <msg>
         <keyno>CCC</keyno>
         <num>01001</num>
    </msg>
    <msg>
         <keyno>BBB</keyno>
         <num>01001</num>
    </msg>
    </messages>
    <messages>
    <msg>
         <keyno>AAA</keyno>
         <num>01001</num>
    </msg>
    <msg>
         <keyno>DDD</keyno>
         <num>01001</num>
    </msg>
    </messages>
    I wanted to merge these into single document. Like i have to put the <msg> elements in
    document 2 into document 1 avoiding the repetitions. An suggesstions how i can do this.
    I am new to Java and Xml. Any help is highly appreciated.
    Thanks in advance.

    Saish, thankyou so much for your advice. As you said I parsed both xml documents. But Can you say me how i can use this.
    public Node importNode(Node importedNode,
    boolean deep)
    throws DOMException
    I have doc1(doc1.xml)and doc2(doc2.xml) parsed.
    the result should be in organize.xml(of course i take this file name from command line arguments.)
    My code:
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    try {
    File A1 = new File(argv[0]);
    File SOA = new File(argv[1]);
    File combine = new File(argv[2]);
    DocumentBuilder builderA1 =
    factory.newDocumentBuilder();
    DocumentBuilder builderSOA =
    factory.newDocumentBuilder();
    documentA1 = builderA1.parse(A1);
    documentSOA = builderSOA.parse(SOA);
    ******documentSOA.importNode(documentA1,true);****** /<msg> tags are to be imported from 2nd doc.
    TransformerFactory tFactory =
    TransformerFactory.newInstance();
    Transformer transformer = tFactory.newTransformer(?????);
    DOMSource source = new DOMSource(?????????);
    StreamResult result = new StreamResult(combine);
    transformer.transform(source, result);
    }catch(){with all exceptions here}
    If you have parsed both XML documents into DOM, then
    you simply need to use
    Document.importNode(target, true);
    See the API docs for javax.xml.parsers.* and
    org.w3c.dom.*. Both are available in the J2SE or
    J2EE API docs. If you need help with DOM, do a
    Google search. There are dozens of tutorials out
    there.
    - Saish

  • Need to merge xml o/p from different sources to generate BIP Report from OA page

    Hi,
    Currently in our product Quoting , we are using many VO queries to generate the Report
    Now we have created one data template file to combine all VO queries to generate xml o/p
    The problem we are facing is that we didn't added Contracts VO query in our DT file so we need to merge
    xml o/p coming from DT file and Contracts VO and pass to Process Template XDO api to generate the report
    Please tell how to merge the xml o/p in OAF ?

    Thanks Shridhar for reply ,  you provided code for xml coming from two VO
    but I am having scenario where getting one xml o/p from data template file and seconf xml o/p getting from contracts api as -
    ByteArrayOutputStream l_docXML = new ByteArrayOutputStream(1024);
    // Here getting xml o/p from DT file
    l_docXML = (ByteArrayOutputStream)this.getDataTemplateXML(transaction,"ASO","ASOPD",parameters1,null);
    // Here getting xml o/p from contacts api
    ContractTermsXMLGenerator.writeXML(PrintQuote,
                        (OutputStream) l_conXML,
       true,
       documentType,
       new Number(params[8]),
       new Number("0"));
    // code to merge two xml into one xml m_docXML
    try{
                 if (l_conXML.size() > 0)
                      DOMParser dp = new DOMParser();
                      l_docIP = new ByteArrayInputStream(l_docXML.toByteArray()); 
                      dp.parse(l_docIP);
                      XMLDocument xDoc = dp.getDocument();
                      l_conIP = new ByteArrayInputStream(l_conXML.toByteArray());
                      dp.parse(l_conIP);
       XMLDocument cDoc = dp.getDocument();
       Node cNode = cDoc.getDocumentElement();
                      if (cNode != null)
                           Node xDocConNode = xDoc.adoptNode(cNode);
                           Node conData = xDoc.createElement("CONTRACT_DATA");
                           conData.appendChild(xDocConNode);
                           xDoc.getDocumentElement().appendChild(conData);
                         xDoc.print(m_docXML);
                         writeLog("GenerateCLMDoc::XMLMerge Complete");
               catch(Exception e)
           writeLog("GenerateCLMDoc:: Doc contract XML Merge - " + e.getMessage());
                      throw e;
        finally{
                        l_docIP.close();
                        l_conIP.close();
    Please check if it is correct code , do I need to change it with code provided by you
    can we chat over any messenger ?
    once again thanks for your reply

  • CS2 AS: Scripted "Import XML" is not working (like manual import does)

    I have problem where importing a XML (merge import + delete unmatched) by script simply doesnt work, where the manual import works 100% fine!!??
    (I'm exporting the XML, refill it with new text data (localisation process actually), and bring the xml back to commit the change in the Indesign document).
    With the script, the XML get imported as a child in the XML
    I have xml structure like:
    root
    node
    and get something like
    root
    node
    root
    node
    My code looks like this (sorry for the formatting):
    tell application "Adobe InDesign CS2"
    tell XML import preferences
    set create link to XML to false
    set ignore unmatched incoming to true
    set ignore whitespace to false
    set import style to merge import
    set import text into tables to false
    set import to selected to false
    set repeat text elements to false
    set remove unmatched existing to true
    end tell
    try
    import XML (document 1) from pFilePath
    on error pmsg
    display dialog pmsg
    end try
    end tell
    Is there something obvious that i'm misssing??
    ps: I have checked the XML structure correspondance already.. but i dont think that's the cause of problem as the manual import is working.
    Thanks for any help!
    Eric

    Hi Eric,
    If you can see the behavior in the user interface, you can see it in scripting. I think it makes perfect sense to have the XML import preferences set at the document level, because some documents need one set of preferences; other documents need another. I think (hope) that the user documentation covers the differences between application and document preferences (if not, I do, in my book).
    If you see a preferences object on both the application and the document, assume you want to use the document preferences. Unless you're trying to set preferences for new documents.
    Thanks,
    Ole

  • Merge APPL_TOP: java.lang.NoClassDefFoundError: XMLPrintDriver

    Hello,
    I am trying to merge appl_top on a secondary node as per note 233428.1 by running "perl adpreclone.pl appltop merge". The script though ends with the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLPrintDriver
    at oracle.apps.ad.util.LogFile.createLogFile(LogFile.java:443)
    at oracle.apps.ad.util.LogFile.createLogFile(LogFile.java:406)
    at oracle.apps.ad.clone.MergeApplTop.main(MergeApplTop.java:1251)
    ERROR while running Merge...
    ERROR while running perl D:\oracle\<sid>appl\ad\11.5.0\bin\adclone.pl java=d:\jdk5\jdk mode=stage stage=D:\oracle\<sid>comn\clone component=appltop method=CUSTOM
    appctx=D:\oracle\<sid>appl\admin\<sid>_<host>.xml merge showProgress ... Please check the log for more details..
    The script crashes before the log file is created as implied by the above error message. I have checked the CLASSPATH and AF_CLASSPATH variables, the context file (for s_adovar_classpath and s_adovar_afclasspath), and the jserv.properties to ensure the path to the xmlparserv2.zip is in the relevant CLASSPATH(s).
    The command "unzip -l %JAVA_TOP%\xmlparserv2.zip| grep -i xmlprint" shows
    8323 08-29-05 16:23 oracle/xml/parser/v2/XMLPrintDriver.class
    Appreciate any help.
    Raj

    Hi raj;
    What is your OS and EBS version?Also db version,did you check log file for more details?
    Please check below notes:
    Java.Lang.NoClassDefFoundError: Oracle/Xml/Parser/V2/Xmlprintdriver [ID 352305.1]
    Autoconfig Failed: java.lang.NoClassDefFoundError: org/xml/sax/HandlerBase [ID 352823.1]
    Bug 10130661: NOCLASSDEFFOUNDERROR: ORACLE/XML/PARSER/V2/XMLPRINTDRIVER WHILE RUNNING EMJMXCLI
    https://support.oracle.com/CSP/main/article?cmd=show&type=BUG&id=10130661&productFamily=Oracle
    Also see:
    Error When Running adpreclone.pl APPL_TOP merge: Fatal: Error Occurred In Mergeappltop: Rc--50004 [ID 283769.1]
    Hope it helps you
    Regard
    Helios

  • Use XML-Diff Elsewhere

    I have been looking for XML Diff for quite some time.
    I was pleased to see the feature in a free application and it encouraged me to use JDeveloper
    http://geoffadf.blogspot.com/2010/02/xml-merge-showing-automatically.html
    What are the licence considerations for using this code (xml-compare.jar) elsewhere?
    E.g. if I wanted to create a Swing Application to just do XML Diff or create a plugin for other IDEs?

    You can't pick up code libraries from the core of JDeveloper and use it in your own application. The code belongs to Oracle.

  • [SOLVED] libgtop-2.30.0-1 no longer contains libgtop-2.0.so.7?

    Hey All,
    I use Psensor and it seems it requires libgtop-2.0.so.7 but when I check to see if I have libgtop installed, it says that I do.
    Has the updated version of the software stopped creating this wonderful shared object file? And if so, what temperature monitoring devices do you guys recommend? I do love my Psensor though... T_T
    Last edited by MutantJohn (2014-06-04 07:04:49)

    There might still be some issues with the PKGBUILD
    From namcap
    $ namcap psensor-0.8.0.6
    psensor-0.8.0.6-1-x86_64.pkg.tar.xz psensor-0.8.0.6.tar.gz
    [user@arch ~/build/psensor]$ namcap psensor-0.8.0.6-1-x86_64.pkg.tar.xz
    psensor E: Files in /usr/share/icons/hicolor but no call to gtk-update-icon-cache or xdg-icon-resource to update the icon cache
    psensor W: Description should not contain the package name.
    psensor W: File (usr/etc/) exists in a non-standard directory.
    psensor W: File (usr/etc/xdg/) exists in a non-standard directory.
    psensor W: File (usr/etc/gconf/) exists in a non-standard directory.
    psensor W: File (usr/etc/gconf/schemas/) exists in a non-standard directory.
    psensor W: File (usr/etc/gconf/schemas/psensor.schemas) exists in a non-standard directory.
    psensor W: File (usr/etc/xdg/autostart/) exists in a non-standard directory.
    psensor W: File (usr/etc/xdg/autostart/psensor.desktop) exists in a non-standard directory.
    psensor W: Dependency libgtop detected but optional (libraries ['usr/lib/libgtop-2.0.so.10'] needed in files ['usr/bin/psensor'])
    psensor W: Dependency libnotify detected but optional (libraries ['usr/lib/libnotify.so.4'] needed in files ['usr/bin/psensor'])
    psensor W: Dependency json-c detected but optional (libraries ['usr/lib/libjson-c.so.2'] needed in files ['usr/bin/psensor'])
    psensor W: Dependency curl detected but optional (libraries ['usr/lib/libcurl.so.4'] needed in files ['usr/bin/psensor'])
    psensor W: Dependency libatasmart detected but optional (libraries ['usr/lib/libatasmart.so.4'] needed in files ['usr/bin/psensor'])
    psensor W: Dependency included and not needed ('help2man')
    and from the makepkg install
    make[3]: Entering directory '/home/user/build/psensor/src/psensor-0.8.0.6/src'
    /usr/bin/mkdir -p '/home/user/build/psensor/pkg/psensor/usr/bin'
    /usr/bin/install -c psensor '/home/user/build/psensor/pkg/psensor/usr/bin'
    GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults /usr/bin/gconftool-2 --makefile-install-rule ../src/psensor.schemas
    (gconftool-2:3985): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
    Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
    Attached schema `/schemas/apps/psensor/graph/alpha_channel_enabled' to key `/apps/psensor/graph/alpha_channel_enabled'
    WARNING: failed to install schema `/schemas/apps/psensor/graph/alpha_channel_enabled', locale `C': Unable to store a value at key '/schemas/apps/psensor/graph/alpha_channel_enabled', as the configuration server has no writable databases. There are some common causes of this problem: 1) your configuration path file /etc/gconf/2/path doesn't contain any databases or wasn't found 2) somehow we mistakenly created two gconfd processes 3) your operating system is misconfigured so NFS file locking doesn't work in your home directory or 4) your NFS client machine crashed and didn't properly notify the server on reboot that file locks should be dropped. If you have two gconfd processes (or had two at the time the second was launched), logging out, killing all copies of gconfd, and logging back in may help. If you have stale locks, remove ~/.gconf*/*lock. Perhaps the problem is that you attempted to use GConf from two machines at once, and ORBit still has its default configuration that prevents remote CORBA connections — put "ORBIIOPIPv4=1" in /etc/orbitrc. As always, check the user.* syslog for details on problems gconfd encountered. There can only be one gconfd per home directory, and it must own a lockfile in ~/.gconfd and also lockfiles in individual storage locations such as ~/.gconf

  • Forms Server ES - Pass By Value XDP

    I have a need to pass by value the XDP (XDP and Data XML Merged together) to the forms web service renderPDFForm method.
    We had this working fine in Adobe 6 and Adobe 7.X (Livecycle).
    We are in process of upgrading to Adobe 8 (LiveCycle ES).
    When I make the render call below I pass the XDP and XML data together in one XDP package to the service. It renders the PDF Form, but I do not see my data like I did in Adobe 7.X.
    Any Ideas/Suggestions?
    fs.renderPDFForm("",data,pdfFormRenderSpec,uriValues,attachments,outRenderPDFFormResultDoc ,longHolder,stringHolder,formsResult);

    Typically its pass by value. Thanks to class loaders and the JMS specification, you pretty much have to serialize any Object in an ObjectMessage before sending.
    Sending around 20K to 10Mb is no big deal these days - but if you're worried about message size, send around a URL to the resource instead.

  • Running ant build scripts from cmd fails on Windows Server

    Hi all!
    I'm trying to build and package ME on a Windows Server calling the ant build script targets from cmd. This works fine on a Windows XP machine. On a Windows Server machine however the ant internal calls to nwcetool.bat are failing because -files are not found in DEPLOYARCHIVES. And these files are really not there although they should have been created by nwcetool.
    Does anyone have a clue why calling ant build script in cmd on a Windows XP machine will work but fails on Window Server?
    Thanks a lot!

    And this is part 2 :
    package.sca.impl:
       delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\package.sca
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\ear
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\BUILDARCHIVES
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\DEPLOYARCHIVES
       delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\create.application.xml
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\create.application.xml
         echo 2011-04-07 09:33:45 Creating application descriptor.
         xslt Processing C:\SAP\SAPME\SDK\extension\META-INF\application.xml to C:\SAP\SAPME\SDK\build\results\server\create.application.xml\application.xml
         xslt Loading stylesheet C:\SAP\SAPME\SDK\build\xslt\create-application-xml.xslt
         xslt ejbModule=
         xslt webModule=salt-webservice
         copy Copying 1 file to C:\SAP\SAPME\SDK\extension\META-INF
       delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\merge.application.xml
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\merge.application.xml
         echo 2011-04-07 09:33:45 Merging application descriptor "C:\SAP\SAPME\SDK\extension\META-INF/application.xml" with "C:\SAP\SAPME\SDK\build\results\server\master\resources\xml/application.xml".
         xslt Processing C:\SAP\SAPME\SDK\build\results\server\master\resources\xml\application.xml to C:\SAP\SAPME\SDK\build\results\server\merge.application.xml\merged.xml
         xslt Loading stylesheet C:\SAP\SAPME\SDK\build\xslt\jee-application-merge.xslt
         xslt jee-application-merge: file to merge is C:\SAP\SAPME\SDK\extension\META-INF/application.xml
         xslt jee-application-merge: checking for module conflicts...
         xslt jee-application-merge: Base EJBs=me.activity.ejb-5.2.5.3-Base.jar m
    e.alarm.ejb-5.2.5.3-Base.jar me.appconfig.ejb-5.2.5.3-Base.jar me.backgroundproc
    ess.ejb-5.2.5.3-Base.jar me.browse.ejb-5.2.5.3-Base.jar me.common.frame.ejb-5.2.
    5.3-Base.jar me.container.ejb-5.2.5.3-Base.jar me.correctiveaction.ejb-5.2.5.3-B
    ase.jar me.customdata.ejb-5.2.5.3-Base.jar me.datacollection.ejb-5.2.5.3-Base.ja
    r me.dbsequence.ejb-5.2.5.3-Base.jar me.defaultvalue.ejb-5.2.5.3-Base.jar me.dem
    and.ejb-5.2.5.3-Base.jar me.integration.xml.ejb-5.2.5.3-Base.jar me.inventory.ej
    b-5.2.5.3-Base.jar me.nonconformance.ejb-5.2.5.3-Base.jar me.productdefinition.e
    jb-5.2.5.3-Base.jar me.production.ejb-5.2.5.3-Base.jar me.status.ejb-5.2.5.3-Bas
    e.jar me.numbering.ejb-5.2.5.3-Base.jar me.diagnostics.ejb-5.2.5.3-Base.jar me.d
    ocument.ejb-5.2.5.3-Base.jar me.httpserver.ejb-5.2.5.3-Base.jar me.integration.c
    nc.ejb-5.2.5.3-Base.jar me.integration.collaboration.ejb-5.2.5.3-Base.jar me.int
    egration.sap.ejb-5.2.5.3-Base.jar me.labor.ejb-5.2.5.3-Base.jar me.user.ejb-5.2.
    5.3-Base.jar me.ods.ejb-5.2.5.3-Base.jar me.plant.ejb-5.2.5.3-Base.jar me.produc
    tiondate.ejb-5.2.5.3-Base.jar me.reasoncode.ejb-5.2.5.3-Base.jar me.reporting.ej
    b-5.2.5.3-Base.jar me.rtw.ejb-5.2.5.3-Base.jar me.script.ejb-5.2.5.3-Base.jar me
    .security.ejb-5.2.5.3-Base.jar me.solutionverification.ejb-5.2.5.3-Base.jar me.t
    imegranularity.ejb-5.2.5.3-Base.jar me.tooling.ejb-5.2.5.3-Base.jar
         xslt jee-application-merge: SSP EJBs=
         copy Copying 1 file to C:\SAP\SAPME\SDK\build\results\server\sda\META-INF
         copy Copying 163 files to C:\SAP\SAPME\SDK\build\results\server\package.sca\ear
          jar Building jar: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\BUILDARCHIVES\me.ear
         echo 2011-04-07 09:33:45 nwce.tool=C:\SAP\SAPME\SDK\build\tools\ceclt\nwcetool\nwcetool.bat, nwce.tool.lib=C:\SAP\SAPME\SDK\build\tools\ceclt\lib, CECLT JDK=C:Program Files (x86)Javajdk1.5.0_22
         echo 2011-04-07 09:33:45 Executing CECLT with the following arguments:
    -c "createsda -n me/ear -v sap.com -l local -type J2EE -counter 5.2.5.3.330 -scn
    ME -scv sap.com -deps sap.com:me/security/loginmodule BUILDARCHIVES\me.ear DEPLOYARCHIVES\me.web-ext.sda-5.2.5.3-Base" -e
         exec The filename, directory name, or volume label syntax is incorrect.
         exec Result: 1
    BUILD FAILED
    C:\SAP\SAPME\SDK\build\script\build.dev.sobsap2.xml:1665: The following error occurred while executing this line:
    C:\SAP\SAPME\SDK\build\script\build.dev.sobsap2.xml:1723: Warning: Could not find file C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\DEPLOYARCHIVES\me.web-ext.sda-5.2.5.3-Base.ear to copy.

  • Can't run compiz-check script or any application ?!!!

    hi all
    I am new user in Arch .
    I am trying to install the Gpointing app so that I can set up the Cursor sensitivity in KDE but I get this:
    1st :
    ./configure >> and the result is bellow
    [yasser@(none) gpointing-device-settings-1.5.1]$ sudo ./configure
    Password:
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking how to create a pax tar archive... gnutar
    checking how to create a pax tar archive... (cached) gnutar
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking dependency style of gcc... (cached) gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking dependency style of gcc... (cached) gcc3
    checking how to run the C preprocessor... gcc -E
    checking whether make sets $(MAKE)... (cached) yes
    checking whether NLS is requested... yes
    checking for intltool >= 0.35.0... 0.50.2 found
    checking for intltool-update... /usr/bin/intltool-update
    checking for intltool-merge... /usr/bin/intltool-merge
    checking for intltool-extract... /usr/bin/intltool-extract
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for perl... /usr/bin/perl
    checking for perl >= 5.8.1... 5.16.1
    checking for XML::Parser... ok
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking for LC_MESSAGES... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking for ngettext in libc... yes
    checking for dgettext in libc... yes
    checking for bind_textdomain_codeset... yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for locale.h... (cached) yes
    checking for LC_MESSAGES... (cached) yes
    checking for libintl.h... (cached) yes
    checking for ngettext in libc... (cached) yes
    checking for dgettext in libc... (cached) yes
    checking for bind_textdomain_codeset... (cached) yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... (cached) yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking for GTK+ - version >= 2.14.0... yes (version 2.24.11)
    checking for glib-genmarshal... /usr/bin/glib-genmarshal
    checking for glib-mkenums... /usr/bin/glib-mkenums
    checking pkg-config is at least version 0.9.0... yes
    checking for GNOME_SETTINGS_DAEMON... yes
    checking for GCONF2... yes
    Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
    Using $(sysconfdir)/gconf/schemas as install directory for schema files
    checking for gconftool-2... /usr/bin/gconftool-2
    checking for XINPUT... yes
    checking for X11... yes
    checking for an ANSI C-conforming const... yes
    checking whether to use Cutter... (cached) auto
    checking for CUTTER... no
    checking for lcov... no
    checking for genhtml... no
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating modules/Makefile
    config.status: creating modules/common/Makefile
    config.status: creating modules/gnome-settings-daemon-plugins/Makefile
    config.status: creating data/Makefile
    config.status: creating data/gpointing-device-settings.desktop.in
    config.status: creating test/Makefile
    config.status: creating doc/Makefile
    config.status: creating po/Makefile.in
    config.status: creating libgpointing-device-settings.pc
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing default-1 commands
    config.status: executing default-2 commands
    config.status: executing po/stamp-it commands
    [yasser@(none) gpointing-device-settings-1.5.1]$ make
    make all-recursive
    make[1]: Entering directory `/home/yasser/gpointing-device-settings-1.5.1'
    Making all in src
    make[2]: Entering directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    CCLD gpointing-device-settings
    /usr/bin/ld: cannot open output file .libs/gpointing-device-settings: Permission denied
    collect2: error: ld returned 1 exit status
    make[2]: *** [gpointing-device-settings] Error 1
    make[2]: Leaving directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/yasser/gpointing-device-settings-1.5.1'
    make: *** [all] Error 2
    [yasser@(none) gpointing-device-settings-1.5.1]$ make install
    Making install in src
    make[1]: Entering directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    CCLD gpointing-device-settings
    /usr/bin/ld: cannot open output file .libs/gpointing-device-settings: Permission denied
    collect2: error: ld returned 1 exit status
    make[1]: *** [gpointing-device-settings] Error 1
    make[1]: Leaving directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    make: *** [install-recursive] Error 1
    [yasser@(none) gpointing-device-settings-1.5.1]$ ?????
    bash: ?????: command not found
    [yasser@(none) gpointing-device-settings-1.5.1]$ clear
    [yasser@(none) gpointing-device-settings-1.5.1]$ ./configure
    ./configure: line 2100: config.log: Permission denied
    ./configure: line 2110: config.log: Permission denied
    [yasser@(none) gpointing-device-settings-1.5.1]$ sudo ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking how to create a pax tar archive... gnutar
    checking how to create a pax tar archive... (cached) gnutar
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking dependency style of gcc... (cached) gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking dependency style of gcc... (cached) gcc3
    checking how to run the C preprocessor... gcc -E
    checking whether make sets $(MAKE)... (cached) yes
    checking whether NLS is requested... yes
    checking for intltool >= 0.35.0... 0.50.2 found
    checking for intltool-update... /usr/bin/intltool-update
    checking for intltool-merge... /usr/bin/intltool-merge
    checking for intltool-extract... /usr/bin/intltool-extract
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for perl... /usr/bin/perl
    checking for perl >= 5.8.1... 5.16.1
    checking for XML::Parser... ok
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking for LC_MESSAGES... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking for ngettext in libc... yes
    checking for dgettext in libc... yes
    checking for bind_textdomain_codeset... yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for locale.h... (cached) yes
    checking for LC_MESSAGES... (cached) yes
    checking for libintl.h... (cached) yes
    checking for ngettext in libc... (cached) yes
    checking for dgettext in libc... (cached) yes
    checking for bind_textdomain_codeset... (cached) yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... (cached) yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking for GTK+ - version >= 2.14.0... yes (version 2.24.11)
    checking for glib-genmarshal... /usr/bin/glib-genmarshal
    checking for glib-mkenums... /usr/bin/glib-mkenums
    checking pkg-config is at least version 0.9.0... yes
    checking for GNOME_SETTINGS_DAEMON... yes
    checking for GCONF2... yes
    Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
    Using $(sysconfdir)/gconf/schemas as install directory for schema files
    checking for gconftool-2... /usr/bin/gconftool-2
    checking for XINPUT... yes
    checking for X11... yes
    checking for an ANSI C-conforming const... yes
    checking whether to use Cutter... (cached) auto
    checking for CUTTER... no
    checking for lcov... no
    checking for genhtml... no
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating modules/Makefile
    config.status: creating modules/common/Makefile
    config.status: creating modules/gnome-settings-daemon-plugins/Makefile
    config.status: creating data/Makefile
    config.status: creating data/gpointing-device-settings.desktop.in
    config.status: creating test/Makefile
    config.status: creating doc/Makefile
    config.status: creating po/Makefile.in
    config.status: creating libgpointing-device-settings.pc
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing default-1 commands
    config.status: executing default-2 commands
    config.status: executing po/stamp-it commands.
    2nd >>> make .
    [yasser@(none) gpointing-device-settings-1.5.1]$ make
    make all-recursive
    make[1]: Entering directory `/home/yasser/gpointing-device-settings-1.5.1'
    Making all in src
    make[2]: Entering directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    CCLD gpointing-device-settings
    /usr/bin/ld: cannot open output file .libs/gpointing-device-settings: Permission denied
    collect2: error: ld returned 1 exit status
    make[2]: *** [gpointing-device-settings] Error 1
    make[2]: Leaving directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/yasser/gpointing-device-settings-1.5.1'
    make: *** [all] Error 2.
    3rd >> make install
    [yasser@(none) gpointing-device-settings-1.5.1]$ make install
    Making install in src
    make[1]: Entering directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    CCLD gpointing-device-settings
    /usr/bin/ld: cannot open output file .libs/gpointing-device-settings: Permission denied
    collect2: error: ld returned 1 exit status
    make[1]: *** [gpointing-device-settings] Error 1
    make[1]: Leaving directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    make: *** [install-recursive] Error 1.
    I know this problem might be a silly problem for u guys but I really need to decrease the Cursor sensitivity because it's annoying .
    Moderator edit: Changed the [ quote ] tags to [ code ] ones for you to keep this readable. Please do so yourself in future. -- bernarcher
    Last edited by bernarcher (2012-09-02 16:44:51)

    I don't think you need to compile and install this yourself as it appears to already be in the AUR. You should download an AUR helper and use it to install gpointing-device-settings.
    Example using packer:
    sudo pacman -S wget # wget is for downloading packer, you can download it manually if you'd like
    mkdir ~/builds # Where you want to put packer's files, change if you'd like
    cd ~/builds
    wget http://aur.archlinux.org/packages/pa/packer/packer.tar.gz
    makepkg -s # Make sure you have the base-devel group installed
    sudo pacman -U packer
    packer -S gpointing-device-settings
    If this solves the problem, remember to edit your original post and add [Solved] to the beginning of the title.
    Last edited by Mindstormscreator (2012-09-02 18:52:08)

  • GConf: "saving configuration settings will not be possible"

    Hello folks.
    I'm new to Arch, but not new to Linux. This problem has me stumped.
    I've just installed Gnome on top of a fresh Arch install, apart from Firefox, a few daemons (HAL, FAM), and some laptop related settings (cpufreq, pm-utils), there's nothing else on here at the minute. I've followed the instructions on the wiki, and I've Googled my heart out about this problem without a solution.
    Gnome starts fine and appears to work okay, but it refuses to save certain settings, specifically in the Sessions tool (I'm trying to setup Compiz). When I start the GConf Editor tool, these errors appear in everything.log:
    Aug 18 03:32:18 gconfd (dane-7460): starting (version 2.22.0), pid 7460 user 'dane'
    Aug 18 03:32:18 gconfd (dane-7460): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
    Aug 18 03:32:18 gconfd (dane-7460): Resolved address "xml:readwrite:/home/dane/.gconf" to a writable configuration source at position 1
    Aug 18 03:32:18 gconfd (dane-7460): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
    Aug 18 03:32:18 gconfd (dane-7460): Resolved address "xml:readwrite:/home/dane/.gconf" to a writable configuration source at position 0
    Aug 18 03:32:41 lap-de dhcpcd[4889]: eth0: adding IP address 169.254.60.234/16
    Aug 18 03:33:22 lap-de dhcpcd[4889]: eth0: adding IP address 169.254.60.234/16
    Aug 18 03:34:03 lap-de dhcpcd[4889]: eth0: adding IP address 169.254.60.234/16
    Aug 18 03:34:44 lap-de dhcpcd[4889]: eth0: adding IP address 169.254.60.234/16
    --- These following errors occur after GConf Editor is started
    Aug 18 03:35:11 gconfd (dane-7460): Resolved address "xml:merged:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 0
    Aug 18 03:35:11 gconfd (dane-7460): None of the resolved addresses are writable; saving configuration settings will not be possible
    Aug 18 03:35:11 gconfd (dane-7460): Resolved address "xml:merged:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
    Aug 18 03:35:11 gconfd (dane-7460): None of the resolved addresses are writable; saving configuration settings will not be possible
    I've deleted my ~/.gnome* and ~/.gconf* directories and started again, and this error still appears.
    Short of changing the permissions on /etc/gconf (which I presume is The Wrong Thing to do), I'm not sure how else to approach this problem.

    When you update to Firefox 4 it will use your existing bookmarks, passwords and other user data.
    Firefox 4 is currently scheduled to be released next week.

  • Facing a problem during the clone process

    Dear All,
    I'm facing error during the clone process and i couldn't found any useful information in the log, the error message is:
    | 2% completed
    ERROR while running Merge...
    ERROR while running perl e:\oracle\prodappl\ad\11.5.0\bin\adclone.pl java=e:\oracle\prodcomn\util\java\1.4\j2s
    dk1.4.2_04 mode=stage stage=e:\oracle\prodcomn\clone component=appltop method=CUSTOM appctx=E:\oracle\prodappl
    \admin\PROD_odb.xml merge showProgress ... Please check the log for more details..
    The logfile :
    RC-50208: Exception in method TimedProcessProcess.run
    Raised by oracle.apps.ad.util.TimedProcess$TimedProcessProcess: java.io.IOException: CreateProcess: zip -h error=2
    System information: DB 9i (9.2.0)
    APPS 11i (11.5.10)
    Thanks and Kind regards

    What is the version of the "zip" you are running?
    Please make sure you meet all pre-req. software and version in (Using AutoConfig to Manage System Configurations with Oracle Applications 11i [ID 165195.1]).

Maybe you are looking for