I really love SPServices, so i hope identifying this issue will help to keep the quality of this library.
Implemented Javascript libraries:
jquery-1.10.2.min.js
jquery.SPServices-2013.02a.js
I try to get the rootfolder name of a document library. It works like a charm in SP 2010.
Within SP 2013 i have the following problem:
xData.responseXML returns an "Unspecified error"

xData itself returns a success status and xData.responseText contains the expected value.

```
var currentFolderPath = "";
$().SPServices({
operation: "GetList",
async: true,
webURL: "/",
listName: listName,
completefunc: function (xData, Status) {
$(xData.responseXML).find("List").each(function() {
currentFolderPath = $(this).attr("RootFolder");
});
}
});
```
Comments: Ok, it also works async now for SharePoint 2013, that´s a little bit odd. Maybe it´s, because i only perform read operations and there are no functional dependencies. I needed to quickly migrate my solution to SP 2013 but I will follow your recommended approach within the next days. Thanks!
Implemented Javascript libraries:
jquery-1.10.2.min.js
jquery.SPServices-2013.02a.js
I try to get the rootfolder name of a document library. It works like a charm in SP 2010.
Within SP 2013 i have the following problem:
xData.responseXML returns an "Unspecified error"

xData itself returns a success status and xData.responseText contains the expected value.

```
var currentFolderPath = "";
$().SPServices({
operation: "GetList",
async: true,
webURL: "/",
listName: listName,
completefunc: function (xData, Status) {
$(xData.responseXML).find("List").each(function() {
currentFolderPath = $(this).attr("RootFolder");
});
}
});
```
Comments: Ok, it also works async now for SharePoint 2013, that´s a little bit odd. Maybe it´s, because i only perform read operations and there are no functional dependencies. I needed to quickly migrate my solution to SP 2013 but I will follow your recommended approach within the next days. Thanks!