Table of contents
Description of the method
|Description:||.toLower() method converts string to lower case.|
|OCL:||self.Id.toLower() = "idcontent"|
|Description:||The example rule converts the value of <Id> element to lower case and compares it to "idcontent".|
The XML snippet below would pass this check.
The other snippet below however would not pass this check as it contains space between id and content.
Attached you can find example schema and files which you can use for testing.