Changeset 6929


Ignore:
Timestamp:
01/28/16 09:21:03 (8 years ago)
Author:
Menzo Windhouwer
Message:

M toolkit/src/test/java/eu/clarin/cmd/toolkit/TestCMDToolkit.java

  • assert if the upgraded record refers to the 1.2/1.1/1.2 schema
File:
1 edited

Legend:

Unmodified
Added
Removed
  • metadata/trunk/toolkit/src/test/java/eu/clarin/cmd/toolkit/TestCMDToolkit.java

    r6928 r6929  
    516516        // the upgraded 1.1 record should be invalid against the original 1.2 profile
    517517        assertFalse(validRecord);
     518         // the upgraded 1.1 record should refer to 1.2/1.1/1.2 profile XSD
     519        assertTrue(xpath(upgradedRecord,"ends-with(/*:CMD/@*:schemaLocation,'-1-1-1_2.xsd')"));
    518520       
    519521        // upgrade the 1.1 profile to 1.2
Note: See TracChangeset for help on using the changeset viewer.