Counting Nodes

Noob question.
This statement:
var nTableLength = TableKM.nodes.length;
is intended to count the child objects (rows) of a table which in my case should be a value of 3.
But the value in the debugger indicates that it is counting the children of the rows which are cells, a value of 6.
Is there a way to limit the counting to immediate child objects?
Thx.

You want to count the rows as they are the repeating object, not the table. If you had repeating tables your code would work.
And for .length I think you might need to use resolveNodes() (I'm at home now, just going off the top of my head):
var oRows = xfa.resolveNodes("TableKM.Row1[*]");
var nLength = oRows.length;
You can also use the Instance Manager to count:
var nLength = TableKM._Row1.count;

Similar Messages

  • Unable to Count Nodes using ora:countNodes , the count is always 0

    B2B is connected to BPEL , the xsd used for the given xml is :
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="Root">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Batch">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Warehouse" type="xsd:string"/>
    <xsd:element name="BatchDate" type="xsd:integer"/>
    <xsd:element name="Revision" type="xsd:string"/>
    <xsd:element name="OnHand" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ItemCode" type="xsd:string"/>
    <xsd:element name="SOH" type="xsd:integer"/>
    <xsd:element name="Quarantine" type="xsd:integer"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Count nodes function used by me is :
    ora:countNodes('receive_InventoryReconcilliation_receive_InputVariable','body','/ns2:Root/ns2:Batch/ns2:OnHand/ns2:ItemCode')
    or
    ora:countNodes('receive_InventoryReconcilliation_receive_InputVariable','body','/ns2:Root/ns2:Batch/ns2:OnHand/ns2:ItemCode')
    I have tried using countNodes in above two ways.
    Inspite of that i always get count of nodes as 0.
    How should i resolve this issue ?
    Thanks in advance,
    Sasmit
    Edited by: Sasmit on Jun 6, 2011 6:09 AM

    Hi Sasmit...
    i was facing a same problem recently...i can see the B2B adaptor giving the file as input to my BPEL process but the count is coming as zero...then what i did was..i tried copying the value of an element in the input variable...i cannot copy the value too...So, then i figured out that when i defined the document definition in B2B console, we will be giving the XSD file right...that schema file is not in sink with the file being picked up...may be i might have done amistake while generating the XSD file for a particular document in B2B Editor...then later i created the document definition i mean the xsd file in B2B Editor and used that new XSD file in my document definition...then i could access all the data in my BPEL process...
    Just try this..,may be it helps.
    Thanks,

  • Count node issue

    Hi,
    This is my problem: a process selects some data in tables and returns:
    <A>
    <B> if data exists
    </A>
    or
    <A> if data does not exist
    </A>
    I need to count the B nodes. I used countNodes function. It's works if at least one B node exists but returns a null exception if B does not exist !! to my mind, the function countNodes should return 0 ...
    I'm wrong ?
    So how to count node when data could not exist ? (catch a selectionFailure exception ?)
    Thanks for your help,
    Cyryl

    closed

  • Binary tree - counting nodes

    i have got a binary tree and i need to write a method which can count the number of leaves.
    i have written the code as
    static int countLeaves(BinaryNode node) {
            if (node == null) {
                return 0;
            else if (node.left == null && node.right == null) {
                return 1;
            return countLeaves(node.left) + countLeaves(node.right);
    }but, how can i put the method in the main funcion, i have tried
    int leafCount = countLeaves(root);it gives an error message "non-static variable root cannot be referenced from a static context". How can i solve this problem? Thank you.

    the code looks like:
    public class BinaryTree<AnyType>
        public BinaryTree( )
            root = null;
        public BinaryTree( AnyType rootItem )
            root = new BinaryNode<AnyType>( rootItem, null, null );
        public void printPreOrder( )
            if( root != null )
                root.printPreOrder( );
        public void printInOrder( )
            if( root != null )
               root.printInOrder( );
        public void printPostOrder( )
            if( root != null )
               root.printPostOrder( );
        public void makeEmpty( )
            root = null;
        public boolean isEmpty( )
            return root == null;
        public void merge( AnyType rootItem, BinaryTree<AnyType> t1, BinaryTree<AnyType> t2 )
            if( t1.root == t2.root && t1.root != null )
                System.err.println( "leftTree==rightTree; merge aborted" );
                return;
            if( this != t1 )
                t1.root = null;
            if( this != t2 )
                t2.root = null;
        public BinaryNode<AnyType> getRoot( )
            return root;
        private BinaryNode<AnyType> root;
        static int countLeaves(BinaryNode node) {
            if (node == null) {
                return 0;
            else if (node.left == null && node.right == null) {
                return 1;
            return countLeaves(node.left) + countLeaves(node.right);
        static public void main( String [ ] args )
            BinaryTree<Integer> t1 = new BinaryTree<Integer>( 1 );
            BinaryTree<Integer> t3 = new BinaryTree<Integer>( 3 );
            BinaryTree<Integer> t5 = new BinaryTree<Integer>( 5 );
            BinaryTree<Integer> t7 = new BinaryTree<Integer>( 7 );
            BinaryTree<Integer> t2 = new BinaryTree<Integer>( );
            BinaryTree<Integer> t4 = new BinaryTree<Integer>( );
            BinaryTree<Integer> t6 = new BinaryTree<Integer>( );
            t2.merge( 2, t1, t3 );
            t6.merge( 6, t5, t7 );
            t4.merge( 4, t2, t6 );
            // i want to run the method countLeaves here
            int leafCount = countLeaves(root);
            System.out.println("Number of leaves: "+leafCount);
    }

  • Unable to count nodes

    Hi,
    In a BPEL process I am working on there is an assignment activity where I assign the count of nodes as a result of a database query. This assignment is failing and am not able to figure out why.
    Here is the bpel fragment for the assignment
    *<assign name="Assign_1" bpelx:validate="yes">*
    *<copy>*
    *<from expression="ora:countNodes(bpws:getVariableData('Receive_1_receive_InputVariable','VvwshFmsHeadersCollection','/ns3:VvwshFmsHeadersCollection/ns3:VvwshFmsHeaders/ns3:vvwshFmsDetailsCollection/ns3:VvwshFmsDetails'))"/>*
    *<to variable="FMSDetailCount"/>*
    *</copy>*
    *</assign>*
    I am polling the database for some parent-child records. The intention is to count the number of child records in the collection.
    Thanks in advance for your time and help. Please let me know if additional information is required.
    Harish

    Hi,
    Just to be sure, my first solution is different from your solution, this is the one you tried ?
    Mine : ora:countNodes('Receive_1_receive_InputVariable','VvwshFmsHeadersCollection','/ns3:VvwshFmsHeadersCollection/ns3:VvwshFmsHeaders/ns3:vvwshFmsDetailsCollection/ns3:VvwshFmsDetails')
    Yours : ora:countNodes(bpws:getVariableData('Receive_1_receive_InputVariable','VvwshFmsHeadersCollection','/ns3:VvwshFmsHeadersCollection/ns3:VvwshFmsHeaders/ns3:vvwshFmsDetailsCollection/ns3:VvwshFmsDetails'))
    romain.

  • How to count nodes?

    I'm new to DOM and am trying to understand the node hierarchy structure. I have the following sample XML file.
    To understand what constitutes a "Node", I count and print the child nodes that are within the "slideshow" node. The result I get is that there are 5 nodes and the node names are: #Text, slide, #Text, slide, #Text
    Can anyone explain to me how--based on the xml file below, there are 5 nodes within the slideshow element?
    <!-- A SAMPLE set of slides -->
    <slideshow title="Sample Slide Show" date="Date of publication" author="Yours Truly">
         <slide type="all">
              <title>Wake up to WonderWidgets!</title>
         </slide>
         <slide type="all">
              <title>Overview</title>
              <item>Why
                   <em>WonderWidgets</em>
                   are great</item>
              <item/>
              <item>Who <em>buys</em> WonderWidgets</item>
         </slide>
    </slideshow>

    #Text nodes are Whitespace nodes.
    Refer to http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/dom/2b_display.html

  • XML count nodes?

    Hi everyone,
    I'm developing part of a website that will open up an XML /
    RSS file (downloaded nightly from another site), extract article
    text and href link, then dump that info into an HTML DIV.
    The problem I've having is that I've only been able to get it
    to work by hard setting a number of articles (nodes) to process.
    In the attached code, you can see that I've set it number of
    items at 10 [see: <cfset numItems = 10>]. Of course when
    there are more then 10 articles, I'm only seeing 10, and when
    there's less then 10, the whole script blows up.
    Is there a good way to dynmaicly set the #numItems# variable
    by coutning the nodes under "mydoc.feed.entry.content" in the XML
    file?
    Thanks in advance,
    - Ian in Los Angeles

    I think you can use ArrayLen().
    Check out this page, it really details all that you can do in
    Coldfusion as far as manipulating XML objects:
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001514.htm
    Specifically, change your numItems line to:

  • Creating a global variable for a counter.

    All,
    we have the following scenario - we are getting a flat file into XI. The file is converted into an xml message (<source> message) in content conversion with the records/message setting as 1000. So, the input file is split into messages with 1000 records/each. (except for the last one).
    Now - we map these messages into another message (<sourceIdx> message) to add a counter node to the record structure (rest of the structure is the exact same). The question is we need to maintain the counter across the messages.
    Meaning - if there are 100 <source> messages that are mapped to 100 <sourceIdx> messages. The first record in the first message will have the counter as 1 and the last one as 1000. we want the first record in the second message to start at 1001 and not 1 again.
    How can we do this? Also - is there a way - where you can add this counter during the content conversion itself. That will save us this mapping.
    Thanks,

    It might be possible to use a java pointer and point it at a reserved memory location in the XI box, then just modify and call this pointer in a UDF.  Another possibility is to write a file with your number directly from the UDF to a place on the XI box and just call and modify this file with the UDF.  I don't know if the second would actually work, but those are the non-XI involved way of doing it.
    Another option would be to explore using a BPM that would have your variable in it.

  • How to use count() function

    Hi,
    Following is XML data
    <?xml version="1.0" encoding="UTF-8" ?>
    <lookup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xmlns.oracle.com/lookup lookup.xsd"
    xmlns="http://xmlns.oracle.com/lookup">
    <value>
    <scode>1001</scode>
    <destination>NEO</destination>
    </value>
    <value>
    <scode>1002</scode>
    <destination>NEO</destination>
    </value>
    <value>
    <scode>1003</scode>
    <destination>OFS</destination>
    </value>
    <value>
    <scode>1004</scode>
    <destination>NEO</destination>
    </value>
    <value>
    <scode>1005</scode>
    <destination>OFS</destination>
    </value>
    </lookup>
    I want to count number of occurances of node "value". I have used following expression:
    <assign name="Assign_1">
    <copy>
    <from expression="count(bpws:getVariableData('receiveInput_Read_InputVariable','lookup','/ns3:lookup/ns3:value'))"/>
    <to variable="outputVariable" part="payload" query="/client:ReadXML_Async_PRCProcessResponse/client:result"/>
    </copy>
    </assign>
    But the result of this expression is always 0. Can somebody please point out where I am doing the mistake?
    Regards
    Nitin

    Ntin,
    You could try using the ora:countNodes in built function which should provide the desired effect. I always tend to use this when counting nodes which is what i think you need to do here
    For Example:
    ora:countNodes('HumanTask1_1_globalVariable','payload','/task:task/task:userComment')
    Would count the number of occurances of userComment
    Thinks your would follow the following pattern:
    ora:countNodes('receiveInput_Read_InputVariable','lookup','/ns3:lookup/ns3:value')
    David

  • Node Set Expressions

    Does Oracle implement node set expressions like count( node set ) in it's xpath syntax? If so, can you give me an example indicating how the count( node set ) expression would be used? This function would be extremely useful when iterating through a node set.
    Kevin Tyson

    select count(*) from purchaseorder
    where existsNode(object_value,'/PurchaseOrder[User="SBELL"]') = 1
    /

  • How to detect missing xml node before using countNodes?

    Below is my xml sample. Right now I use countNodes to count # of <Book> returned.
    <ListOfBook>
    <Book>A</Book>
    <Book>B</Book>
    <Book>C</Book>
    </ListOfBook>
    When there's no data, I got
    </ListOfBook>
    My countNodes() failed and generated errors. How do I avoid this? Can I detect if <Book> exists first before doing countNodes() and if so how?
    I'm using SOA 11.1.1.2
    Thanks

    Actualy the simplest way to be certain your <ListOfBook> is empty is to check the first element:
    If $ListOfBook/Book[1] != ''
    If there aqre no Books - nothing happens.
    About count nodes - it works. Pb=robably you have a mistake in countNodes definition (you can paste it here for commenting)

  • Get path to nodes by value

    Can enybody please help me. I don't know really how to get path from xml
    for example, this is xml:
    <?xml version="1.0"?>
    <purchase_order>
    <po_items>
    <item>
    <name>#Name#</name>
    <quantity>#number#</quantity>
    </item>
    </po_items>
    </purchase_order>
    and get out path by variebles #Name# and #number#.
    In this case i need to get result:
    purchase_order/po_items/item/name
    and
    purchase_order/po_items/item/quantity

    Pitty you did not mention your db version.
    putting together some functions from FunctX one can write
    SQL> with t as (
    select xmltype('<?xml version="1.0"?>
    <purchase_order>
    <po_items>
    <item>
    <name>#Name#</name>
    <quantity>#number#</quantity>
    </item>
    </po_items>
    </purchase_order>') xml from dual
    select x.*
      from t t,
      xmltable('declare function local:index-of-node  ( $nodes as node()* ,  $nodeToFind as node() )  as xs:integer*
                       for $seq in (1 to count($nodes))  return $seq[$nodes[$seq] is $nodeToFind]
                   declare function local:path-to-node-with-pos  ( $node as node()? )  as xs:string
                       fn:string-join( for $ancestor in $node/ancestor-or-self::*
                                              let $sibsOfSameName := $ancestor/../*[fn:name() = fn:name($ancestor)]
                                           return fn:concat(fn:name($ancestor),
                                                                   if (fn:count($sibsOfSameName) <= 1)
                                                                   then ""  else fn:concat( "[", local:index-of-node($sibsOfSameName,$ancestor),"]"))
               element e {local:path-to-node-with-pos(//item/name[. = "#Name#"]), element name {//name}},
               element e {local:path-to-node-with-pos(//item/quantity[. = "#number#"]), element name {//quantity}}'
               passing t.xml
               columns value varchar2(50) path 'name',
                            path varchar2(50) path 'text()'
               ) x
    VALUE      PATH                                   
    #Name#     purchase_order/po_items/item/name      
    #number#   purchase_order/po_items/item/quantity  
    2 rows selected.

  • After Delete in Linked list...unable to display the linked list

    Hi...i know that there is an implementation of the class Linked Link but i am required to show how the linked list works in this case for my project...please help...
    Yes..I tried to delete some objects in a linked list but after that i am not able to display the objects that were already in the linked list properly and instead it throws an NullPointerException.
    Below shows the relevant coding for deleting and listing the linked list...
    public Node remove(Comparator comparer) throws Exception {
         boolean found = false;
         Node prevnode = head;          //the node before the nextnode
         Node deletedNode = null;     //node deleted...
         //get next node and apply removal criteria
         for(Node nextnode = head.getNextNode(); nextnode != null; nextnode = nextnode.getNextNode()) {
              if(comparer.equals(nextnode)) {
                   found = true;
                   //remove the next node from the list and return it
                   prevnode.setNextNode(nextnode.getNextNode());
                   nextnode.setNextNode(null);
                   deletedNode = nextnode;
                   count = count - 1;
                   break;
         if (found) return deletedNode;
         else throw new Exception ("Not found !!!");
    public Object[] list() {
         //code to gather information into object array
         Node node;
         Object[] nodes = new Object[count];
         node = head.getNextNode();
         for (int i=0; i<count; i++) {
              nodes[i] = node.getInformation();  // this is the line that cause runtime error after deleting...but before deleting, it works without problem.
              node = node.getNextNode();
         return nodes;
    }Please help me in figuring out what went wrong with that line...so far i really can't see any problem with it but it still throws a NullPointerException
    Thanks

    OK -- I've had a cup and my systems are coming back on line...
    The problem looks to be the way that you are handling the pointer to the previous node in your deletion code. Essentially, that is not getting incremented along with the nextNode -- it is always pointing to head. So when you find the node to delete then the line
       prevnode.setNextNode(nextnode.getNextNode());will set the nextNode for head to be null in certain situations (like if you are removing the tail, for instance).
    Then when you try to print out the list, the first call you make is
    node = head.getNextNode();Which has been set to null, so you get an NPE when you try to access the information.
    Nothing like my favorite alkaloid to help things along on a Monday morning...
    - N

  • Why have year-old messages started to reappear endlessly in my In-box?

    The same 5 messages from beginning of July LAST year, about three weeks ago started to re-appear repeatedly in my In mailbox. In addition a one message of 14 July THIS years is doing the same. The frequency is about one message ”burst” every 15 minutes or so.
    My In-box has ”three sub-boxes” (all pop-accounts):
    The 5-message ”package” originates from a sub-box used only for forwarding mails under a different e-mail address from an external server, the July 14th message came into a sub-box used only for messages from my ISP. Other messages in these two sub-boxes (about 20 in each) have not been affected The third (really the primary) sub-box holds my other 9000 received messages and has not (luckily) so far been affected by the endless duplication problem.
    Other info:
    In all I have some 23000 in/out messages (2.6 GB) in my Apple Mail. I realize now, I long ago should have done rebuilds (and probably reorganizations) of the Mail-box and but that has never been done.
    I have no rules implemented in Preferences/Rules. I had however Junk-mail rules activated, which I to-night changed to automatic (and no copying even before), but that does not seem to have had any impact on the duplication problem.
    My problem, when I a couple of weeks ago realized that something had to be done and went to Mac Discussion forums, seemed somewhat similar to that in Article 25485 in the Panther or Earlier Mail Forum (which I have not been able to find again now, but have a print-out of the proposed solutions).
    I tried the two solutions proposed; doing changes in preferences, and quitting Mail and moving out plist-files from Library/Mail to desktop and then restarting Mail (there were different plist-name files than those given for Panther, but I think I moved out all there were in Tiger). But the problem did not go away.
    (I made a back-up of Mail first but sa wjust now that I shold copy "com.apple.mail.plist," located Library/Preferences and the folder "AddressBook," located in Library/Application Support. I will do that before further experimentation. )
    I am about to start using a new computer (i Mac OS X v. 10.5.4) regularly, but have been holding back this for the last few weeks afraid that the above problem would be transmitted to the new if it was not solved on the old computer. I need to have quick access to many of my old e-mails, but probably could do without many of them; problem is finding time to discard those not essential
    I would very much appreciate some advice on how the problem I tried to describe could be solved.
    Best regards.
    Ingemar

    I am now using, as you suggested, the Target Disk Mode from my New iMac (iMac2) to my old (defective) iMac (iMac1). It worked fine to run DiskWarrior this way. The result however was probably what one should have expected based on earlier peculiarites, i. e. it could not replace the directory of iMac1, see below.
    DW also says it has had to scavenge the iMac1 for certain information, which I read as meaning the iMac 1 cannot be restored to its previous state (correct??); that certainly was somewhat erratic but it still let me access old documents and mail. [My aim has been (and still is) to get Apple Mail to work correctly without the regenerated messages and then move the Mail system and all documents etc on iMac1 over to my new computer (iMac2) (and then do a complete new installation of OS X 10.4 and give the iMac1 from 2003 to my 6 year old granddaughter, provided the hardware is not broken)].
    My immediate problem now is that I would like to follow DW urgent recommendation to immediately backup the Preview data somewhere, while I still have them before me.
    I have a full SuperDuper on old iMac1, but failed to bring a copy over to iMac2 before I started the "Target" operation; I have now downloaded the free version from the SuperDuper people to iMac2, but it looks like that version maybe does not allow me to backup Prewiew to the disks available to me, without erasing the backup I made yesterday of iMac1 to my Backup Disk LaCied2.
    Is there som other way to backup the preview for my stated purpose, e g copy all the Preview content to LaCied2 or iMac 2HD, without erasing present information on these disks? Maybe simply copying the Preview to La Cied2? If that is possible, would I have any use for such copies for my purpose.
    Or would the full SuperDuper version, if I bought a second copy tonight into the iMac2 allow some other way of backing up the DW Preview without erasing existing information.
    Hope for an answer tonight if at all possible, since I am sitting with both computers open, without knowing what I can expect after I turned them off without having Preview backed up.
    I am sorry if I pose too many ignorant questions. I am a veteran user of Macintoshes in my work since they first appeared (in 84 in our country?) and before that 4 -5 years of Apple II, but I have never have had to take the time to try and learn even a minimum of the inner workings of the systems, because of their ease of use and remarkable reliability. But that means I am not familiar with most technicalities and terminology, which would have been good to possess now.
    This is the report (short version) from DiskWarrior:
    DiskWarrior has successfully built a new directory for the disk named "Macintosh HD." The new directory cannot replace the original directory because of a disk malfunction.
    A disk malfunction is a failure of or damage to any mechanical component of the disk device, or any component connected to it. The malfunction will likely worsen. Therefore, recovering your files from the DiskWarrior Preview as quickly as possible is essential. [My comment: I had the combination of iMac1 and my first LaCie Backup disk starting to work increasingly erratic last winter until the disk finally ceased working 3 months ago.]
    It is highly recommended that you backup all of your data from the preview disk.
    The original directory is damaged and it was necessary to scavenge the directory to find file and folder data.
    Some files that had been lost or thrown away may have been recovered.
    Comparison of the original and replacement directories could not be performed because the original directory was too severely damaged. It is recommended that you preview the replacement directory.
    • All errors in the directory structure such as tree depth, header node, map nodes, node size, node counts, node links, indexes and more have been repaired.
    • 50 files had a directory entry with an incorrect alias flag that was repaired.
    • 20 files had a directory entry with an incorrect text encoding value that was repaired.
    • 1 folder had a directory entry with an incorrect flag that was repaired.
    • 106 folders had a directory entry with an incorrect custom icon flag that was repaired.
    • Incorrect values in the Volume Information were repaired.
    • Critical values in the Volume Information were incorrect and were repaired.
    Disk Information:
    Files: 383 659
    Folders: 90 015
    Free Space: 34.57 GB
    Format: Mac OS Extended (Journaled)
    Block Size: 4 K
    Disk Sectors: 156 300 482
    Media: AAPL Target Disk Mode
    Time: 08-08-09 20.27.33
    DiskWarrior Version: 4.1
    Regards/Ingemar

  • Files missing from external drive

    I have a 4 TB G-Tech RAID drive attached via FireWire 800. It was formerly a backup drive for photos/videos, moved up to a main drive when the old drive it was backing up failed. Problems got in the way of replacing it....
    Anyway, all of a sudden, my files were gone. Just gone. For some reason, the folder hierarchy is still there--every folder, as best I can tell is where it was, but any and all data is gone.
    Disk Utility found nothing wrong with the drive; DiskWarrior didn't, either. I booted from another external drive running 10.6.x, no change in what wa(sn't) there, and ran TechTool Pro 5 (I'm running 10.8.3 and don't have a newer version so it ran off the older OS); no help.
    I ran Data Rescue for a few days and it seems to have recovered a lot of files--but we're talking almost 3 TB of data, and I shudder at how many months it's going to take me to get it back into a semblence of order, as well as how much I've actually recovered.
    The part that makes me hit my forehead is that I ran the Deleted Files function, which scans free space only. I did so because, at the time I ran Data Rescue, there still was data on the drive, about 600 GB of photos/videos. But when it had finished, all THAT was gone, too, and I wonder if I should have done a Deep Scan and missed files as a result.
    But here's the thing: If I do a Get Info on the drive, it says that the capacity is 4TB. But, if I open a Finder window and show the top level (with all of the volumes shown) and use List view, it shows  the drive as being 2.99 TB in size. So... is that data is still there, somehow? I.e., is there anything recoverable in a *useful* form--in the original folders and with the original names, rather than hundreds of thousands of undifferentiated files that DR presumebly found?
    Side note, and perhaps a red herring. The drive had been running slowly for a while, though tests didn't show why; see here. The drive had seemed to recover itself, but then got slow again. I downloaded Drive Genius (demo) and tried to run the Benchmark function, only to find that it didn't run in eval mode. At some point, I found that my iMac was running slowly, and I opened Activity Monitor and found an odd process taking up a lot of CPU: dgse. Couldn't figure out what it was, and Googling didn't reveal anything. So, just in case I had a Trojan, I quit it. It was right after this that I found my data gone. I later tracked the process to Library>Application Support>Drive Genius
    Sure seems darned coincidental....

    Thanks. Ran it twice, but it didn't restore the files. Still, it gave me the following:
    The original directory is damaged and it was necessary to scavenge the directory to find file and folder data.!
    Some files that had been lost or thrown away may have been recovered.
    Comparison of the original and replacement directories indicates that there will be no changes to the number or contents of files and folders. All files and folders were compared and a total of 807,104 comparison tests were performed.
    • All errors in the directory structure such as tree depth, header node, map nodes, node size, node counts, node links, indexes and more have been repaired.
    • Volume Information had to be scavenged from the file system journal.

Maybe you are looking for

  • PS elements 13 support canon 7D mark2

    I have a Canon 7D Mark2. Does PS Elements 13 can support it? Thank you

  • How to make a field required

    I'm using Adobe LiveCycle 8.0. I just created my first form. There is a few fields I would like to make required. I already have the TAB order the way I need it to be. Here's what I need to happen: If a user starts filling out the form & does not fil

  • Correctness of the HashMap implementation w.r.t. its specifications/docs

    According to the JavaDoc of HashMap, containsKey is defined as : public boolean containsKey(Object key)      Returns true if this map contains a mapping for the specified key.      Specified by:           containsKey in interface Map      Overrides:

  • Videodrivers in Boot Camp, AoC problem

    I'm currently playing Age of Conan (AoC) on my iMac. I'm running on a 100 GB Partition with WinXP SP3. I have the latest version of Bootcamp installed. Unfortunately, when I start AoC, it tells me my video drivers are not up-to-date and that AoC is p

  • Oracle 11g database Listening Port

    Hi, It can allow only 127.0.0.1 through this port that is localhost. "TCP 127.0.0.1:1521 0.0.0.0:0 LISTENING" how can i create one more IP LISTENING port. I want to access my db using ip address without(localhost) Kindly help. The below format: TCP 0