-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
Description
Currently, ifcx.tsp stipulates:
@pattern("</[A-Za-z0-9_/.:]+>")
scalar path extends string;
model IfcxNode {
path: path;
children?: Record<string | null>;
inherits?: Record<string | null>;
attributes?: Record<unknown>;
}The pattern decorator for path accepts a regular expression that does not include hyphens -, and more generally would exclude paths found in example, such as "path": "25503984-6605-43a1-8597-eae657ff5bea" (in hello-wall.ifcx) where the start '</' and end '>' are missing.
Also, even if the pattern were corrected to allow UUIDs, it might still exclude URIs or IRIs, which can be made unique using adequate strategies when needed. What are the reason(s) to deter from using URIs?