xattr: detault namespace is: user.
--- a/src/XattrAttributeFinder.h Fri Jan 18 16:47:56 2019 +0100
+++ b/src/XattrAttributeFinder.h Fri Jan 18 20:23:48 2019 +0100
@@ -55,7 +55,9 @@
virtual void writeFieldOfExistingFile(RelationalWriter* writer, const RequestedField& field) override {
for (string_t alias : field.getAliases()) {
- if (field.group == RequestedField::GROUP_XATTR) writer->writeAttribute(getXattr(currentFile, field.name));
+ // TODO: support also other namespaces through CLI --option namespace someOtherNS
+ string_t xattrName = L"user." + field.name;
+ if (field.group == RequestedField::GROUP_XATTR) writer->writeAttribute(getXattr(currentFile, xattrName));
}
}