Преглед изворни кода

Merge remote-tracking branch 'origin/candidate-3.10.x' into candidate-4.0.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman пре 12 година
родитељ
комит
ad46ef253c
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      common/fileview2/fvresultset.cpp

+ 4 - 0
common/fileview2/fvresultset.cpp

@@ -610,9 +610,13 @@ void CResultSetMetaData::getXmlSchema(ISchemaBuilder & builder, bool useXPath) c
             builder.endIfBlock();
             break;
         case FVFFbeginrecord:
+            if (useXPath)
+                fvSplitXPath(meta->queryXPath(idx), xname, name);
             builder.beginRecord(name);
             break;
         case FVFFendrecord:
+            if (useXPath)
+                fvSplitXPath(meta->queryXPath(idx), xname, name);
             builder.endRecord(name);
             break;
         case FVFFdataset: