Skip to content

Commit

Permalink
HPCC-31424 fix xpath in CRemoteXmlReadActivity being set incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdelv committed Mar 14, 2024
1 parent b16cd3d commit a9bbf46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fs/dafsserver/dafsserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2001,11 +2001,13 @@ class CRemoteXmlReadActivity : public CRemoteMarkupReadActivity
public:
CRemoteXmlReadActivity(IPropertyTree &config, IFileDescriptor *fileDesc) : PARENT(config, fileDesc, TAKxmlread)
{
xpath.set("/Dataset/");
if (customRowTag.isEmpty()) // no override
fileDesc->queryProperties().getProp("@rowTag", xpath);
else
{
xpath.set("/Dataset/");
xpath.append(customRowTag);
}
}
};

Expand Down

0 comments on commit a9bbf46

Please sign in to comment.