From 105db63af62022ce9e9e57ccbb668010b93e7d49 Mon Sep 17 00:00:00 2001 From: madsik Date: Mon, 16 Nov 2026 10:35:34 +0200 Subject: [PATCH] Test case: write the slash in the FireRating pattern without a backslash The pattern of property/fail-properties_can_be_associated_to_relevant_object_types was (-|[0-9]{2,3})\/(-|[0-9]{2,3})\/(-|[0-9]{2,3}). In XML Schema regular expressions (SingleCharEsc) "\/" is not an escape, and "/" needs none. libxml2 since 2.10, Java 8's Xerces, xmlschema and .NET read "\/" as "/", but libxml2 before 2.10 and any checker that follows the grammar refuse the pattern, and the case then reads as invalid instead of fail. Where "\/" was accepted it meant "/", so for those engines nothing changes. The entry in scripts.md and the .ids change together. Co-Authored-By: Claude Opus 5.5 --- ...il-properties_can_be_associated_to_relevant_object_types.ids | 2 +- Documentation/ImplementersDocumentation/TestCases/scripts.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/ImplementersDocumentation/TestCases/property/fail-properties_can_be_associated_to_relevant_object_types.ids b/Documentation/ImplementersDocumentation/TestCases/property/fail-properties_can_be_associated_to_relevant_object_types.ids index 4499b524..25171374 100644 --- a/Documentation/ImplementersDocumentation/TestCases/property/fail-properties_can_be_associated_to_relevant_object_types.ids +++ b/Documentation/ImplementersDocumentation/TestCases/property/fail-properties_can_be_associated_to_relevant_object_types.ids @@ -23,7 +23,7 @@ - + diff --git a/Documentation/ImplementersDocumentation/TestCases/scripts.md b/Documentation/ImplementersDocumentation/TestCases/scripts.md index 62ab27fb..8024f987 100644 --- a/Documentation/ImplementersDocumentation/TestCases/scripts.md +++ b/Documentation/ImplementersDocumentation/TestCases/scripts.md @@ -2664,7 +2664,7 @@ Optional IFC4 Entity: ''IFCWALLTYPE'' Requirements: -Property: ''Pset_WallCommon'',''FireRating'',IFCLABEL,Pattern(''(-|[0-9]{2,3})\/(-|[0-9]{2,3})\/(-|[0-9]{2,3})'') +Property: ''Pset_WallCommon'',''FireRating'',IFCLABEL,Pattern(''(-|[0-9]{2,3})/(-|[0-9]{2,3})/(-|[0-9]{2,3})'') ``` ## restriction