Skip to content

Commit 4dd9bc7

Browse files
authored
Merge pull request #10611 from mendix/MvM-CaseSensitiveXPath
Clarify that XPath constraints could be case-sensitive
2 parents 2e4dd5e + a73d6cb commit 4dd9bc7

18 files changed

Lines changed: 33 additions & 3 deletions

content/en/docs/refguide/modeling/xpath/xpath-constraints/xpath-constraint-functions/xpath-contains.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
---
22
title: "XPath contains"
3+
linktitle: "contains"
34
url: /refguide/xpath-contains/
45
weight: 16
56
---
67

78
## Overview
89

9-
The `contains()` function tests whether a string attribute contains a specific string (case-insensitive) as a sub-string.
10+
The `contains()` function tests whether a string attribute contains a specific string as a sub-string.
11+
12+
{{% alert color="info" %}}
13+
String comparisons in XPath constraints are generally case-insensitive, but this can depend on the collation setting for some databases. See [Case-Sensitive Database Behavior](/refguide/case-sensitive-database-behavior/) for more information.
14+
{{% /alert %}}
1015

1116
## Example
1217

content/en/docs/refguide/modeling/xpath/xpath-constraints/xpath-constraint-functions/xpath-day-from-datetime.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "XPath day-from-dateTime"
3+
linktitle: "day-from-dateTime"
34
url: /refguide/xpath-day-from-datetime/
45
weight: 8
56
---

content/en/docs/refguide/modeling/xpath/xpath-constraints/xpath-constraint-functions/xpath-day-of-year-from-datetime.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "XPath day-of-year-from-dateTime"
3+
linktitle: "day-of-year-from-dateTime"
34
url: /refguide/xpath-day-of-year-from-datetime/
45
weight: 13
56
---

content/en/docs/refguide/modeling/xpath/xpath-constraints/xpath-constraint-functions/xpath-ends-with.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
---
22
title: "XPath ends-with"
3+
linktitle: "ends-with"
34
url: /refguide/xpath-ends-with/
45
weight: 18
56
---
67

78
## Overview
89

9-
The `ends-with()` function checks whether a string attribute ends with a specific string (case-insensitive) as a sub-string.
10+
The `ends-with()` function checks whether a string attribute ends with a specific string as a sub-string.
11+
12+
{{% alert color="info" %}}
13+
String comparisons in XPath constraints are generally case-insensitive, but this can depend on the collation setting for some databases. See [Case-Sensitive Database Behavior](/refguide/case-sensitive-database-behavior/) for more information.
14+
{{% /alert %}}
1015

1116
## Example
1217

content/en/docs/refguide/modeling/xpath/xpath-constraints/xpath-constraint-functions/xpath-false.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "XPath false"
3+
linktitle: "false"
34
url: /refguide/xpath-false/
45
weight: 2
56
---

content/en/docs/refguide/modeling/xpath/xpath-constraints/xpath-constraint-functions/xpath-hours-from-datetime.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "XPath hours-from-dateTime"
3+
linktitle: "hours-from-dateTime"
34
url: /refguide/xpath-hours-from-datetime/
45
weight: 9
56
---

content/en/docs/refguide/modeling/xpath/xpath-constraints/xpath-constraint-functions/xpath-length.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "XPath length"
3+
linktitle: "length"
34
url: /refguide/xpath-length/
45
weight: 4
56
---

content/en/docs/refguide/modeling/xpath/xpath-constraints/xpath-constraint-functions/xpath-minutes-from-datetime.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "XPath minutes-from-dateTime"
3+
linktitle: "minutes-from-dateTime"
34
url: /refguide/xpath-minutes-from-datetime/
45
weight: 10
56
---

content/en/docs/refguide/modeling/xpath/xpath-constraints/xpath-constraint-functions/xpath-month-from-datetime.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "XPath month-from-dateTime"
3+
linktitle: "month-from-dateTime"
34
url: /refguide/xpath-month-from-datetime/
45
weight: 7
56
---

content/en/docs/refguide/modeling/xpath/xpath-constraints/xpath-constraint-functions/xpath-not.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "XPath not"
3+
linktitle: "not"
34
url: /refguide/xpath-not/
45
weight: 3
56
---

0 commit comments

Comments
 (0)