I am using the getWorkspaceTreeAsXML method to get the WHOLE workspace tree. I am using -1 as the node level parameter which is supposed to recurse all folders and return everything. I have noticed that only about 3 or 4 node levels deep are returned. I am getting back a folder that looks like a leaf node, but is not one. The only ineffective solution is to call getWorkspaceTreeAsXML on each folder and then it actually returns everything, but this is obviously not ideal, especially if you already have close to a hundred folders.

Any idea what I can do or is this a bug?