     <InsertTime>2011-08-26T11:10:44.490Z</InsertTime>
     <LastUpdate>2011-08-26T16:17:55.232Z</LastUpdate>
     <Collection>
-      <DataSetId>AQUARIUS_L1A_SSS:1</DataSetId>
+      <DataSetId>AQUARIUS_L1A_SSS</DataSetId>
     </Collection>
     <RestrictionFlag>0.0</RestrictionFlag>
     <Orderable>false</Orderable>

    <InsertTime>2011-08-26T11:10:44.490Z</InsertTime>
    <LastUpdate>2011-08-26T16:17:55.232Z</LastUpdate>
    <Collection>
      <EntryId>AQUARIUS_L1A_SSS:1</EntryId>
    </Collection>
    <RestrictionFlag>0.0</RestrictionFlag>
    <Orderable>false</Orderable>


(deftest validate-xml
  (testing "valid granule collection ref with dataset id"
    (is (empty? (g/validate-xml valid-granule-xml-w-datasetid))))
  (testing "valid granule collection ref with short name and version id"
    (is (empty? (g/validate-xml valid-granule-xml-w-sn-ver))))
  (testing "valid granule collection ref with entry id"
    (is (empty? (g/validate-xml valid-granule-xml-w-entryid))))
  (testing "invalid granule collection ref with multiple choice fields"
    (is (= ["Line 7 - cvc-complex-type.2.4.d: Invalid content was found starting with element 'EntryId'. No child element is expected at this point."]
           (g/validate-xml invalid-collection-ref-granule-xml))))
