* Both mean the same thing and both become one entry per value, so a caller
* cannot tell which client it is talking to — which is the point. Reading this
- * with {@code getElementText()} throws on the second form, so a real Excel
- * connect was refused with a parse error before its first
- * {@code DISCOVER_PROPERTIES} was answered.
+ * with {@code getElementText()} throws on the second form, so such a reader
+ * refuses an Excel connect with a parse error before its first
+ * {@code DISCOVER_PROPERTIES} gets an answer.
*/
private static void readRestrictionValues(XMLStreamReader in, String name, Restrictions into)
throws XMLStreamException {
diff --git a/model/io/src/main/java/org/eclipse/daanse/xmla/model/io/RowsetCatalog.java b/model/io/src/main/java/org/eclipse/daanse/xmla/model/io/RowsetCatalog.java
index 4a30a692..9dc886a3 100644
--- a/model/io/src/main/java/org/eclipse/daanse/xmla/model/io/RowsetCatalog.java
+++ b/model/io/src/main/java/org/eclipse/daanse/xmla/model/io/RowsetCatalog.java
@@ -176,8 +176,7 @@ public static Optional
* {@code OBSERVED} is the weakest: no specification describes the rowset, and
- * the columns are those a real server answered with. The {@code observedFrom}
- * detail beside it names the recorded answer.
+ * the columns are those Analysis Services answers with.
*/
public static Optional
* [MS-SSAS] publishes no rowset GUIDs at all — a {@code source=MS-SSAS-*} on a
* rowset says where its columns come from. So any GUID we carry was
- * either read off a real server, taken from a decompiled client, or taken from
- * OLE DB; and which of the three it was is the only thing that lets a later
- * reader weigh it.
+ * either listed by Analysis Services in {@code DISCOVER_SCHEMA_ROWSETS},
+ * declared by ADOMD.NET, or taken from OLE DB; and which of the three it was
+ * is the only thing that lets a later reader weigh it.
*/
@Test
void aGuidNoSpecificationStatesSaysWhereItCameFrom() {
@@ -141,4 +149,33 @@ void aGuidNoSpecificationStatesSaysWhereItCameFrom() {
assertThat(unattributed).as("these carry a GUID that no specification states and no note attributes, "
+ "so nobody can tell whether it is right").isEmpty();
}
+
+ /**
+ * What is known about a GUID no specification states, in one of a few fixed
+ * sentences.
+ *
+ * The {@code evidence} detail beside {@code guidSource} states what confirms
+ * the value - Analysis Services listing it, ADOMD.NET declaring it, or both -
+ * and nothing about how that was found out, so a reader can weigh it from the
+ * model alone. One statement per rowset: a second one under the same key would
+ * be hidden behind the first.
+ */
+ @Test
+ void theEvidenceForAGuidIsOneOfTheFixedStatements() {
+ List
- * Every recorded client opens its session with an {@code Execute} whose command
+ * The common clients open their session with an {@code Execute} whose command
* is an empty {@code