Using XPath for associatios into BPMN process??

Hello everybody:
I'm using Oracle SOA and BPM Suite 11.1.1.5
I have a BPMN process that have an entry variable of type CBEFF_BIR_Type (the xml declaration is shown below)
<xsd:complexType name="CBEFF_BIR_Type">
                 <xsd:sequence>
                    <xsd:element name="FormatOwner" type="xsd:positiveInteger" minOccurs="1" maxOccurs="1"/>
                    <xsd:element name="FormatType" type="xsd:positiveInteger" minOccurs="1" maxOccurs="1"/>
                    <xsd:element name="BIR_Information" minOccurs="0" maxOccurs="1">
                        <xsd:complexType>
                            <xsd:sequence>
                                <xsd:element name="BIR_Info" type="iso-iec19785-3-7:BIRInfoType" minOccurs="0"
                                     maxOccurs="1"/>
                                <xsd:element name="BDB_Info" type="iso-iec19785-3-7:BDBInfoType" minOccurs="0"
                                     maxOccurs="1"/>
                                <xsd:element name="SB_Info" type="iso-iec19785-3-7:SBInfoType" minOccurs="0"
                                     maxOccurs="1"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:element>
                    *<xsd:element name="BIR" type="tns:BaseBIRType"/>*
                </xsd:sequence>
            </xsd:complexType>* BaseBIRType xml declaration*
<xsd:complexType name="BaseBIRType"/>According to the business logic that BIR sould contain a node of type URI_BIR or BinaryBIR (xml declaration is shown below), it will never a self BaseBIRType.
<xsd:complexType name="URI_BIR">
                <xsd:complexContent>
                    *<xsd:extension base="tns:BaseBIRType">*
                        <xsd:sequence>
                            <xsd:element name="URI" type="xsd:anyURI"/>
                        </xsd:sequence>
                    </xsd:extension>
                </xsd:complexContent>
            </xsd:complexType>
<xsd:complexType name="BinaryBIR">
                <xsd:complexContent>
                    *<xsd:extension base="tns:BaseBIRType">*
                        <xsd:sequence>
                            <xsd:element name="Binary" type="xsd:base64Binary"/>
                        </xsd:sequence>
                    </xsd:extension>
                </xsd:complexContent>
            </xsd:complexType>As you can see, the bolded code in the first block illustrate a node of type BaseBIRType and the bolded code in the second block shows that the complex type URI_BIR and BinaryBIR are an extension of BaseBIRType. So it looks like a inheritance, as I see it.
Inside my process I need to know what kind of node is coming inside de BIR (URI or Binary) to copy it to the correct variable type. I've tryed using the XPath Expessions provided by the IDE (+ora:instanceOf(XpathExpression, QName)+) but I had no results.
Please someone who can guide me?, I'll appreciate any help. I'm new in XPath.
Regards,
isabelbernely

As I see it you should use transformations not associations in such case. Within transformation (xslt) you should use XPath expression to test which of the concrete instance of the base type you are dealing with and proceed accordingly. That's bit ugly (depending on actual subelements to distinguish types) so there are two alternatives:
1. use xsi:type in xml instance - an attribute which will directly indicate the type of the element (many java xml binding frameworks can output such attribute while marshalling types to xml)
2. remodel your xsd to use substitution groups - the construct is similar but due to nature of substitution groups each concrete type will have a separate named element - easy to distinguish later in transformation

Similar Messages

  • Getting outOfMemory while using Xpath for 6MB file

    Hi ,
    Requirement:
    I have thousands of xml files of variable size (mostly around 5MB), Total size is around 20GB .The structure of xml content is as follows.
    filename: xaaaa
    <file>
    <page>
    <title>AmericanSamoa</title>
    <id>6</id>
    <revision>
    <id>133452270</id>
    <timestamp>2007-05-25T17:12:06Z</timestamp>
    <contributor>
    <username>Gurch</username>
    <id>241822</id>
    </contributor>
    <minor />
    <comment>Revert edit(s) by [[Special:Contributions/Ngaiklin|Ngaiklin]] to last version by [[Special:Contributions/Docu|Docu]]</comment>
    <text xml:space="preserve">#REDIRECT [[American Samoa]]{{R from CamelCase}}</text>
    </revision>
    </page>
    My task is to retrieve the ID , filename in which it exists and the position of node in the page, and i have to write it to a file.
    ex: 6:xaaaa:1
    My approach:
    I am using Xpath for this. The code is as follows.
    */*XPathReader.java*/*
    package preprocess;
    import java.io.IOException;
    import javax.xml.XMLConstants;
    import javax.xml.namespace.QName;
    import javax.xml.parsers.*;
    import javax.xml.xpath.*;
    import org.w3c.dom.Document;
    import org.xml.sax.SAXException;
    public class XPathReader {
    private String xmlFile;
    private Document xmlDocument;
    private XPath xPath;
    public XPathReader(String xmlFile) {
    this.xmlFile = xmlFile;
    initObjects();
    private void initObjects(){       
    try {
    xmlDocument = DocumentBuilderFactory.
                   newInstance().newDocumentBuilder().
                   parse(xmlFile);
    xPath = XPathFactory.newInstance().
                   newXPath();
    } catch (IOException ex) {
    ex.printStackTrace();
    } catch (SAXException ex) {
    ex.printStackTrace();
    } catch (ParserConfigurationException ex) {
    ex.printStackTrace();
    public Object read(String expression,
                   QName returnType){
    try {
    XPathExpression xPathExpression =
                   xPath.compile(expression);
    return xPathExpression.evaluate
                   (xmlDocument, returnType);
    } catch (XPathExpressionException ex) {
    ex.printStackTrace();
    return null;
    XpathReaderTest.java
    /* it takes directory name as argument, this directory contains xml file*/
    package preprocess;
    import java.io.*;
    import javax.xml.xpath.XPathConstants;
    import org.w3c.dom.*;
    public class XPathReaderTest {
    public XPathReaderTest() {
    public static void main(String[] args) throws IOException{
         if (args.length <= 0) {
              System.out.println(
              "Usage: java PreProcess dir_name"
              return;
              String dir=null;
              if (args.length >= 1) dir = args[0];
              int indexno=0;
              File directory = new File(dir);
              File[] files = directory.listFiles();
              FileWriter fstream = new FileWriter("index"+indexno+".txt");
         BufferedWriter out = new BufferedWriter(fstream);
         XPathReaderTest xt=new XPathReaderTest();
              /*for (int index = 0; index < files.length; index++)
                   System.out.println(files[index].toString());
              for (int index = 0,i=1; index < files.length; index++)
                   /*if(index/100>indexno){
                        indexno++;
                        out.close();
                        fstream = new FileWriter("index"+indexno+".txt");
                   out = new BufferedWriter(fstream);
                   xt.extract(files[index].toString(),index,i,out);
                   System.gc();
              out.close();
    public void extract(String completepath,int index,int i,BufferedWriter out)
    throws IOException
         System.out.println(index+" "+completepath);
              XPathReader reader = new XPathReader(completepath);
              String separator = File.separator;
              int pos = completepath.lastIndexOf(separator);
              String temp_fname=completepath.substring(0,pos);
              pos=temp_fname.lastIndexOf(separator);
              String f_name= completepath.substring(pos+1);
              i=1;
              while(true)
              String expression = "/file/page["+i+"]/id";
              String id_value= (String) reader.read(expression, XPathConstants.STRING);
              if(id_value=="")
                   break;
              out.write( id_value + ":"+ f_name+ ":"+i+ "\n" );
    i++;
    Problem:
    This code works fine for xml files < 6MB, but its giving outOfMemory for 6MB and above file.
    I have tried with -Xms256m -Xmx512m option.
    Please suggest the work around , or any modification to code that will resolve my problem.
    I am new to java world , so problem root cause will be very helpful for me.
    Thanks

    Hi ,
    Requirement:
    I have thousands of xml files of variable size (mostly around 5MB), Total size is around 20GB .The structure of xml content is as follows.
    /*filename: xaaaa*/
    <file>
    <page>
        <title>AmericanSamoa</title>
        <id>6</id>
        <revision>
          <id>133452270</id>
          <timestamp>2007-05-25T17:12:06Z</timestamp>
          <contributor>
            <username>Gurch</username>
            <id>241822</id>
          </contributor>
          <minor />
          <comment>Revert edit(s) by [[Special:Contributions/Ngaiklin|Ngaiklin]] to last version by [[Special:Contributions/Docu|Docu]]</comment>
          <text xml:space="preserve">#REDIRECT [[American Samoa]]{{R from CamelCase}}</text>
        </revision>
      </page>
    </file>My task is to retrieve the ID , filename in which it exists and the position of node in the page, and i have to write it to a file.
    ex: 6:xaaaa:1
    My approach:
    I am using Xpath for this. The code is as follows.
    */*XPathReader.java*/*
    package preprocess;
    import java.io.IOException;
    import javax.xml.XMLConstants;
    import javax.xml.namespace.QName;
    import javax.xml.parsers.*;
    import javax.xml.xpath.*;
    import org.w3c.dom.Document;
    import org.xml.sax.SAXException;
    public class XPathReader {
        private String xmlFile;
        private Document xmlDocument;
        private XPath xPath;
        public XPathReader(String xmlFile) {
            this.xmlFile = xmlFile;
            initObjects();
        private void initObjects(){       
            try {
                xmlDocument = DocumentBuilderFactory.
                   newInstance().newDocumentBuilder().
                   parse(xmlFile);           
                xPath =  XPathFactory.newInstance().
                   newXPath();
            } catch (IOException ex) {
                ex.printStackTrace();
            } catch (SAXException ex) {
                ex.printStackTrace();
            } catch (ParserConfigurationException ex) {
                ex.printStackTrace();
        public Object read(String expression,
                   QName returnType){
            try {
                XPathExpression xPathExpression =
                   xPath.compile(expression);
                return xPathExpression.evaluate
                   (xmlDocument, returnType);
            } catch (XPathExpressionException ex) {
                ex.printStackTrace();
                return null;
    XpathReaderTest.java
    /* *it takes directory name as argument, this directory contains xml file**/
    package preprocess;
    import java.io.*;
    import javax.xml.xpath.XPathConstants;
    import org.w3c.dom.*;
    public class XPathReaderTest {
        public XPathReaderTest() {
        public static void main(String[] args) throws IOException{
             if (args.length <= 0) {
                    System.out.println(
                     "Usage: java PreProcess dir_name"
                    return;
              String dir=null;
              if (args.length >= 1) dir = args[0];
              int indexno=0;
              File directory = new File(dir); 
              File[] files = directory.listFiles();
              FileWriter fstream = new FileWriter("index"+indexno+".txt");
             BufferedWriter out = new BufferedWriter(fstream);
             XPathReaderTest xt=new XPathReaderTest();
              /*for (int index = 0; index < files.length; index++)
                   System.out.println(files[index].toString()); 
              for (int index = 0,i=1; index < files.length; index++)
                   /*if(index/100>indexno){
                        indexno++;
                        out.close();
                        fstream = new FileWriter("index"+indexno+".txt");
                       out = new BufferedWriter(fstream);
                   xt.extract(files[index].toString(),index,i,out);
                   System.gc();
              out.close();
        public void extract(String completepath,int index,int i,BufferedWriter out)
        throws IOException
             System.out.println(index+" "+completepath);
              XPathReader reader = new XPathReader(completepath);
              String separator = File.separator;
              int pos = completepath.lastIndexOf(separator);
              String temp_fname=completepath.substring(0,pos);
              pos=temp_fname.lastIndexOf(separator);
              String f_name= completepath.substring(pos+1);
              i=1;
              while(true)
              String expression = "/file/page["+i+"]/id";
              String id_value= (String) reader.read(expression, XPathConstants.STRING);
              if(id_value=="")
                   break;
              out.write( id_value + ":"+ f_name+ ":"+i+ "\n" );
            i++;
    }Problem:
    This code works fine for xml files < 6MB, but its giving outOfMemory for 6MB and above file.
    I have tried with -Xms256m -Xmx512m option.
    Please suggest the work around , or any modification to code that will resolve my problem.
    I am new to java world , so problem root cause will be very helpful for me.
    Thanks

  • Using XPath for DOM traversal

    This question falls into the category of 'I know it's possible, I just need to find the idom in Java'.
    I'm coming from a MSFT world were the DOM-centric model of XML processing makes heavy use of XPATH for node selection. Basically using the method element.selectNodes(XPathExpresson) allows one to quickly extract the relevant subset of the parsed tree in the DOM as a nodeList. I've become accustomed to using XML for all strucutured storage that doesn't require a full database.
    The W3C DOM Level 3 spec supports evaluateExpression() for this purpose, but I can't believe that Java developers are still using tree traversal waiting for the spec to be implemented. I suppose that I could use getNodesByTagName(), but this is a chainsaw, and I need a scalpel. Anyway, I'm trying to figure out how, exactly, this gets done in Java.
    I figure the following are possibilities:
    1) It's in JAXP and I missed it
    2) One or more of the XML parsers supports XPATH as an extention
    3) There's a common package that sits on top of the DOM Document.
    4) There's a standard way to apply and XSLT methods to the DOM document
    5) Something I've never thought of.
    This is a generalized problem for me, so I can't rely on object serialization, Java-XML data mapping, etc. Any guidance would be greatly appreciated.

    I've written a Config file reader for XML in java,
    and it extracts values using XPath. This is
    some of the code you'll need:
    imports:
    import javax.xml.transform.TransformerException;
    import org.w3c.dom.*;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import org.apache.xerces.parsers.DOMParser;
    import org.apache.xpath.XPathAPI;
    import org.apache.xpath.objects.*;
    Document doc=....;
    * returns a single DOM Node from the config file.
    public Node getNode(String xpath) throws ConfigException {
    try {
    return XPathAPI.selectSingleNode(doc, xpath);
    } catch (TransformerException e) {
    throw new ConfigException("Can't find '"+xpath+"' ("+e.getMessage()+")");

  • Using certificate for signing into portal

    Hello experts,
    we want to implement the functionality of certificate in the portal.
    If we have SAP passport then the pop up window lists the certificate from "User Certificate store", when i log on to service marketplace.
    We have a similar kind of requirement in our portal, that whenever user tries to log on into the portal a pop up should come which will list the certificates available in the store of his browser.
    This functionality should be similar to service marketplace one.
    If anybody has done this previously, please let me know the direction to proceed.
    thanks in advance, useful solution will be rewarded.
    rgds,
    Kedar Kulkarni

    Hi Kedar,
    I have configured SAP NetWeaver Portal using client certificates for user authentication. The configuration is a fairly straight forward process.
    Find the necessary information in the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/62/881e3e3986f701e10000000a114084/frameset.htm">SAP Library</a>.
    Best regards,
    Martin

  • Why not keep Forms Central as a separate product to stand and sell on its own. I use it for client information to process their data-ptocessing in my mailing business; do not need or want electronic tabulation. I would be happy to pay several hundred doll

    I use a Forms Central form to ask questions of clients to return with their mailing database; tabulation is not wanted or required. From the answers and boxes marked, I have most or all the information to process data in accordance with the United States Postal Service. After, I return the data and paperwork including eDoc worked so that my company wins, the US Postal Service and my client (and possibly their client) wins! If Forms central was simply an interactive forms builder used for direct B2B or B2C information, it would be a winner. If I wanted SurveyMonkey, then would get it but I and others like me do not need or want tabulation services as I assume Adobe looked at Forms Central as a cash cow; it isn't that at all for me.

    I use a Forms Central form to ask questions of clients to return with their mailing database; tabulation is not wanted or required. From the answers and boxes marked, I have most or all the information to process data in accordance with the United States Postal Service. After, I return the data and paperwork including eDoc worked so that my company wins, the US Postal Service and my client (and possibly their client) wins! If Forms central was simply an interactive forms builder used for direct B2B or B2C information, it would be a winner. If I wanted SurveyMonkey, then would get it but I and others like me do not need or want tabulation services as I assume Adobe looked at Forms Central as a cash cow; it isn't that at all for me.

  • How to use Xpath effectively with Java

    I am using Xpath for parsing a String with following syntax.This is a string suppose String xmlShopstring.
    <shopper>
                <upc>0123456789</upc>
                <desc>Planeters Peanutus</desc>
                <regprice>1.99</regprice>           
                <errorcode></errorcode>
            </shopper>In this case how can I use xpath parsing ?

    You can use classes from javax.xml, org.w3c.dom packages for performing XML operations in java.
    These APIs have very rich set of classes and methods for performing XML operations effectively.
    pravi.pravi wrote: how can I use xpath parsing?You need to parse XML String to org.w3c.dom.Document with use of following classes:
    javax.xml.parsers.DocumentBuilderFactory
    javax.xml.parsers.DocumentBuilderOnce you parse XML String to org.w3c.dom.Document you can use following classes and others for very effective XPath parsing.
    javax.xml.xpath.XPathFactory
    javax.xml.xpath.XPath
    javax.xml.xpath.XPathExpression
    javax.xml.xpath.XPathConstantsI have listed some classes which can help you to perform XPath parsing, you should also explore other classes in the API for more XML operations.
    Refer thread: http://forums.sun.com/thread.jspa?threadID=5357836
    Thanks,
    Tejas Purohit

  • Experience Using CE for publishing BPMN Processes for documentation?

    Dear all,
    has anybody some experience in using the Netweaver CE for publishing BPMN Processes only for documentation purpose? One part of our process pools contains only processes, that will not be used for process automation within CE Applications. We want to do do it this way, because theese processes describes our business on a higher level.

    You can write a Java program using the BOE SDK that does that. HEre are some examples:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/JavaBusinessObjectsEnterpriseSDKSamples
    Regards,
    Stratos

  • SSMS 2012:FOR XML PATH Using XPath Node Tests-Columnn name 'test()' contains an invalid XML identifier as required by FOR XML?

    Hi all,
    I am learning XPATH and XQUERY from the Book "Pro T-SQL 2008 Programmer's Guide" written by Michael Coles, (published by apress). I copied the Code Listing 12-8 FOR XML PATH Using XPath Node Tests (listed below) and executed it in my
    SQL Server 2012 Management Studio:
    --Coles12_8.sql // saved in C:/Documemnts/SQL Server Management Studio
    -- Coles Listing 12-8 FOR XML PATH Using XPATH Node Tests
    -- Retrieving Name and E-mail Addresses with FOR XML PATH in AdvantureWorks
    -- 16 March 2015 0935 AM
    USE AdventureWorks;
    GO
    SELECT
    p.NameStyle AS "processing-instruction(nameStyle)",
    p.BusinessEntityID AS "Person/@ID",
    p.ModifiedDate AS "comment()",
    pp.PhoneNumber AS "test()",
    FirstName AS "Person/Name/First",
    MiddleName AS "Person/Name/Middle",
    LastName AS "Person/Name/Last",
    EmailAddress AS "Person/Email"
    FROM Person.Person p
    INNER JOIN Person.EmailAddress e
    ON p.BusinessEntityID = e.BusinessEntityID
    INNER JOIN Person.PersonPhone pp
    ON p.BusinessEntityID = pp.BusinessEntityID
    FOR XML PATH;
    I got the following error message:
    Msg 6850, Level 16, State 1, Line 2
    Column name 'test()' contains an invalid XML identifier as required by FOR XML; '('(0x0028) is the first character at fault.
    I have no ideas why I got this error message.  Please kindly help and advise me how to resolve this error.
    Thanks in advance,  Scott Chang

    Hi Michelle, Thanks for your nice response.
    I corrected the mistake and executed the revised code. It worked nicely.
    I just have one question to ask you about the appearance of the xml output of my Co;les12_8.sql:
    <row>
    <?nameStyle 0?>
    <Person ID="1" />
    <!--2003-02-08T00:00:00-->697-555-0142<Person><Name><First>Ken</First><Middle>J</Middle><Last>Sánchez</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="2" />
    <!--2002-02-24T00:00:00-->819-555-0175<Person><Name><First>Terri</First><Middle>Lee</Middle><Last>Duffy</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="3" />
    <!--2001-12-05T00:00:00-->212-555-0187<Person><Name><First>Roberto</First><Last>Tamburello</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="4" />
    <!--2001-12-29T00:00:00-->612-555-0100<Person><Name><First>Rob</First><Last>Walters</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="5" />
    <!--2002-01-30T00:00:00-->849-555-0139<Person><Name><First>Gail</First><Middle>A</Middle><Last>Erickson</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="6" />
    <!--2002-02-17T00:00:00-->122-555-0189<Person><Name><First>Jossef</First><Middle>H</Middle><Last>Goldberg</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="7" />
    <!--2003-03-05T00:00:00-->181-555-0156<Person><Name><First>Dylan</First><Middle>A</Middle><Last>Miller</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="8" />
    <!--2003-01-23T00:00:00-->815-555-0138<Person><Name><First>Diane</First><Middle>L</Middle><Last>Margheim</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="9" />
    <!--2003-02-10T00:00:00-->185-555-0186<Person><Name><First>Gigi</First><Middle>N</Middle><Last>Matthew</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="10" />
    <!--2003-05-28T00:00:00-->330-555-2568<Person><Name><First>Michael</First><Last>Raheem</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="11" />
    <!--2004-12-29T00:00:00-->719-555-0181<Person><Name><First>Ovidiu</First><Middle>V</Middle><Last>Cracium</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    I feel this xml output is not like the regular xml output.  Do you know why it is diffrent from the regular xml xml output?  Please comment on this matter.
    Thanks,
    Scott Chang
    What do you mean by regular xml document? Are you referring to fact that its missing a root element? if yes it can be added as below
    USE AdventureWorks;
    GO
    SELECT
    p.NameStyle AS "processing-instruction(nameStyle)",
    p.BusinessEntityID AS "Person/@ID",
    p.ModifiedDate AS "comment()",
    pp.PhoneNumber AS "text()",
    FirstName AS "Person/Name/First",
    MiddleName AS "Person/Name/Middle",
    LastName AS "Person/Name/Last",
    EmailAddress AS "Person/Email"
    FROM Person.Person p
    INNER JOIN Person.EmailAddress e
    ON p.BusinessEntityID = e.BusinessEntityID
    INNER JOIN Person.PersonPhone pp
    ON p.BusinessEntityID = pp.BusinessEntityID
    FOR XML PATH('ElementName'),ROOT('RootName');
    replace ElementName and RootName with whatever name you need to set for element as well as the root element
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Using Xpath in Receiver Determination for greater than 500

    Hi,
    I am trying to use Xpath in the receiver Determination step and I want to check a field which is at item level and comes multiple times(0-unbounded) greater than 500.I tried with different options per SDN blogs,Xpath functions,but still I couldn't able to get what i am trying.I want to process the message when "quantity" is greater than 500,else I want to ignore the message with no errors.
    I gave like this    /p1: /LIST/item[quantity>499]     EX
    item loop is 0-unbounded and I need to check for every quantity.I selected the check box multi line as well.
    I played around different options,but still did not get what I am looking for.
    please suggest in this regard ,how I need to give the expression.
    Thank you,
    Sri

    Hi,
    For validating that the item field is occuring more than 500 times you need to choose the
    2.The exact XPath would be in your case *(/p1: /LIST/itemquantity[499]EX)*
    This means if the 500 th occurance of the item exists then the condition satisfies that is always true for 500 and above occurance of the item.
    Please revert if the suggestion proves to be helpful.
    cheers,
    Abhishek.
    Edited by: Abhishek  Paul on May 6, 2010 10:55 PM
    Edited by: Abhishek  Paul on May 6, 2010 11:02 PM
    Edited by: Abhishek  Paul on May 6, 2010 11:08 PM

  • Hopefully useful tips for endless processing

    I also posted this in reply to another user, but I think it might be useful enough to others that I will post it here so it's not so buried.
    I'm just starting, after many, many hours, to see the light at the end of the tunnel with Aperture 3. I think A3 offers some great options, and is a diamond in the rough -- very, very rough, even in v3.0.1.
    But I think I have some VERY USEFUL TIPS for you here (again this is after a lot of learning by pain... 4 different attempts to "upgrade" my A2.1.4 library (42K images about 200GB of images).
    1st, and possibly most importantly the "SHIFT" key is your friend. You can use it when you restart A3 to stop the endless processing loop that A3 would fall into every time I upgraded or imported my library to A3 (or 3.01). All you need to do is hold down the "SHIFT" key while restarting A3, this should top all previously stuck processing as you upgrade your library. So use this tip after you first upgrade/import your library, if the processing bug hits. Then you have to be patient and go though your library and figure out where the problem files are (Apple has done a LOUSY job in not identifying what specific images A3 is processing in the "Activity Window" -- Let Apple know if this really bugs you)
    2nd, at this point you will need to systematically go through your library and figure out where the "problem" files are and "fix" them (in my case all of these worked just fine in 2.1.4 - go figure). I would start by generating thumbnails for all of the images in a project, one project at a time (I had 150 some in my library). When you get stuck in the "processing" loop again, you can restart A3 using the "SHIFT" trick, and maybe just try a chunk of images within that same project until you find where things fail again, and until you can get to the offending image (if it's a problem you won't be able to generate a thumbnail for the image -- and A3 will go into endless "processing" mode)
    3rd, this sound like a horribly tedious process and it is. But I can offer you some useful tips. In my case, and others as well apparently, a lot of the offending files are 16-bit PSD or TIFF images, especially if they had adjustments applied in A2.1.4. In my case I had fewer than 50 of these, so I exported an original and a jpg for each of these files. I re-imported the jpg and deleted the PSD/TIFF from A3 (I kept the exported original for future use). These files would then generate thumbs without endlessly processing. The other type of file that I ran into problems with were stitched panoramic images (often over 30MP) that I had applied adjustments to in A2.1.4. I simply removed the adjustments and the generated thumbs for them (worked like a charm).
    4th, download some good podcast, music or audiobook... this will take a long time.
    Cheers, and look me up in FaceBook I started a group called "Apple Please Fix Aperture"

    Danny,
    Funny you should mention this.... (actually it makes you look a bit like a "schill", even though you are not)... nope, as far as I can tell there is no way to tell which specific images are causing A3 to grind to a halt.
    Hence my comment:
    "(Apple has done a LOUSY job in not identifying what specific images A3 is processing in the "Activity Window" -- Let Apple know if this really bugs you)" and similar previous ones in other posts.
    I wonder if Steve, yes that one, knew about this, being the perfectionist he seems to be, if he would have this feature included in Activity Monitor ASAP, or more likely it would have just been fixed by now (more of a "one-button" solution). Anyone have his house #?
    In any case, I please let me (us) know if this helps resolve your problems... and consider joining the Facebook group as well and maybe we can hope for a much better 3.x.x version in the very near future.

  • There are a sample for loop data out using xpath-querie?

    hello,
    i have a web service that contains multiple rows. i transfered these data in a variable tInput. Now i want to transfer these data in a output variable.
    Is There a sample or tutorial, that shows how to loop data out of a variable (array) in a
    second variable using xpath-querie?
    regards,
    rala

    Hi,
    thanks for the Link, but it doesn't work at all.
    I have a variable tOutput with follow content:
    tOutput>
    <part name="parameters" >
    <SchedulForwardResponse>
    <SchedulForwardResult>
    <ArrayType>
    <plnnr>50001203</plnnr>
    <vornr>1</vornr>
    <starttime>20.08.2006 09:00:00</starttime>
    </ArrayType>
    <ArrayType>
    <plnnr>50001203</plnnr>
    <vornr>2</vornr>
    <starttime>20.08.2006 09:10:00</starttime>
    </ArrayType>
    <ArrayType>
    <plnnr>50001203</plnnr>
    <vornr>3</vornr>
    <starttime>20.08.2006 09:35:00</starttime>
    </ArrayType>
    </SchedulForwardResult>
    </SchedulForwardResponse>
    </part>
    </tOutput>
    I want to copy these content in the output Variable of my BPEL Prozess. But just the first <ArrayType> is copy to output:
    <ArrayTpe>
    <plnnr>50001203</plnnr>
    <vornr>1</vornr>
    <starttime>20.08.2006 09:00:00</starttime>
    </ArrayType>
    The other two <ArrayType> fail.
    I create 3 variables:
    <variable name="bufferOutput" messageType="ns0:SchedulForwardSoapOut"/> (MessageType of the invokeing WS)
              <variable name="count" type="xsd:integer"/>
              <variable name="n" type="xsd:integer"/>
    Count and n are counter for the while loop. Count is initial 1. For n i have follow expression:
    <assign name="prepareLoop">
    <copy>
    <from expression="ora:countNodes('bufferOutput','parameters','/ns0:SchedulForwardResponse/ns0:SchedulForwardResult/ns0:ArraySchedulType[1]')"></from>
    <to variable="n"/>
    </copy>
    </assign>
    In the BPEL Console i saw, that the value of n is1 and not 3 as i thought. When i set ora.countNodes to SchedulForwardResult n is null in the console.
    Does anybody try befor to copy such a content of a variable into another variable or has a idea how i can implement these?
    regards,
    rala

  • After closing Firefox to use IE8 or any other program, everything is very choppy and slow. I have to go into Taskbar, Processes, and close firefox.exe manually (which is using up all the memory/CPU). Then, and only then, does everything behave normally. W

    After closing Firefox to use IE8 or any other program (like InterVideo to watch a DVD), everything is very choppy and slow. I have to go into Taskbar, Processes, and close firefox.exe manually (which is using up all the memory/CPU and should have closed before). Then, and only then, does everything behave normally. What is going on and what am I doing wrong or missing??
    == This happened ==
    Every time Firefox opened
    == about a couple months ago and happens every time I close Firefox.

    <u>'''Kill Application'''</u>
    In Task Manager, does firefox.exe show in the <u>'''Processes'''</u> tab?
    See: '''[http://kb.mozillazine.org/Kill_application Kill Application]'''
    '''<u>Causes and solutions for Firefox hanging at exit:</u>'''
    '''[[Firefox hangs]]'''
    '''[http://kb.mozillazine.org/Firefox_hangs#Hang_at_exit Firefox hangs at exit (Mozillazine article)]'''
    '''[[Firefox is already running but is not responding]]'''
    <u>'''Safe Mode'''</u>
    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox SafeMode is a diagnostic mode that disables extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes before starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your extensions and then try to find which is causing it by enabling one at a time until the problem reappears. You have to close and restart Firefox after each change via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.
    <u>'''''Other Issues''''': to correct security/stability issues</u>
    <u>'''Update Java'''</u>: your ver. 1.6.0.19; current ver. 1.6.0.20 (<u>important security update 04-15-2010</u>)
    ''(Windows users: Do the manual update; very easy.)''
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed.

  • I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have manged to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the pr

    I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the projects, what I would like is a piece of text  or icon that when you roll over it and then click a separate window pops up with additional information in, once finished reading the info you can then click to close the box, any advice on how to do this?

    The best way to do what you're asking is with the Composition widget. Start with the Tooltip preset, which, by default shows the info on rollover. You can change the option to show on click, which is what you're after. You can also add the close button or have the info disappear on rollout.
    David

  • I have bought an iPhone4 and to be able to use it for the first time I connected into a friends itunes. Now when I want to buy itunes stuff on the phone it asks me her password. How can I set up again my itunes account?

    I have bought an iPhone4 and to be able to use it for the first time I connected into a friends' itunes. Now when I want to buy itunes stuff on the phone it asks me her password. How can I set up again my itunes account?
    Now I also have a macbook where I can sync my iphone but it doesn't allow me

    first of all only sync it with 1 computers itune account
    second settings->general->store click the appleID box with her appleID in it and log out

  • I have a very old (by computer standards) MacBook Pro, and a newer one.  I've been using the old one mostly for iTunes, into which I have only CD entries.  For a long time, years, the old MacBook pro ceased entering the song titles.  This is very time con

    I have a very old (by computer standards) MacBook Pro, and a newer one.  I've been using the old one mostly for iTunes, into which I have only CD entries.  For a long time, years, the old MacBook pro ceased entering the song titles.  This is very time consuming for me, so I finally investigated a bit further.
    I discovered how to enter the track titles onto my newer MacBook Pro, and was so pleased!  But when I tried to do the same with the other laptop, it failed. 
    What I did, basically, was what the Apple Help suggested--choose iTunes General Preferences, etc.etc.  And yes, I did upgrade the old laptop to the newest iTunes version.
    Am I just wasting my time here? Is there some reason why an older Mac Pro will not do what the newer one will, with regard to iTunes?
    My older laptop is a 2.6 GHz Core Duo; it has 36 GB of "memory available."  The newer one  a 2.3 GHz Intel Core i7. It has 284 GB of memory available.
    Both are using the same version of Snow Leopard--10.6.8.

    I have a very old (by computer standards) MacBook Pro, and a newer one.  I've been using the old one mostly for iTunes, into which I have only CD entries.  For a long time, years, the old MacBook pro ceased entering the song titles.  This is very time consuming for me, so I finally investigated a bit further.
    I discovered how to enter the track titles onto my newer MacBook Pro, and was so pleased!  But when I tried to do the same with the other laptop, it failed. 
    What I did, basically, was what the Apple Help suggested--choose iTunes General Preferences, etc.etc.  And yes, I did upgrade the old laptop to the newest iTunes version.
    Am I just wasting my time here? Is there some reason why an older Mac Pro will not do what the newer one will, with regard to iTunes?
    My older laptop is a 2.6 GHz Core Duo; it has 36 GB of "memory available."  The newer one  a 2.3 GHz Intel Core i7. It has 284 GB of memory available.
    Both are using the same version of Snow Leopard--10.6.8.

Maybe you are looking for

  • No option to reformat during Windows XP installation under Boot Camp

    Ok, I just purchased Windows XP Professional SP2 to install on my Macbook Pro via Boot Camp. I first attempted to install it last night, and ran into a variety of issues. I went into Boot Camp Assistant, printed out the instructions, and read them ca

  • Why have deleted iCal events suddenly reappeared in my calender?

    Assistance needed please for an iCal issue on Snow Leopard (iMac). A bunch of formerly deleted iCal events have suddenly reappeared in iCal. I thought this would be easily resolved by using Time Machine (external HD) to restore the calendar files to

  • On a Mac how to set Officejet Pro 8600 for black ink only printing

    How do I set up the Officejet Pro 8600 to print in black ink only (working from a Mac)? The printer was already installed and is functioning.

  • Music has disappeared from iTunes and from my external hard drive

    I store my music on 2 separate external hard drives. I have a lot of music and didnt want to choke my system drive. I do not have iTunes organise my folders. I have a lot of classical and iTunes doesnt understand classical music. I began to notice a

  • Commit - Within Loop

    Hello All, I am stuck up with ABAP Dump - DBIF_RSQL_ERROR. In my code i am fetching data from database tables ZOMLT and ZOMLG. The main objective being delete the orphan entries available in ZOMLT. (ZOMLT and ZOMLG have 5 primary keys in common) Step