From a14c7191b6f86ff09fea84407c00cea9549aed31 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Tue, 28 Oct 2025 17:18:01 -0400 Subject: [PATCH] Rename XML Schema data types to 2001 As that's the identifier XML Schema internally uses for these things. Signed-off-by: Juan Cruz Viotti --- schemas/w3c/xmlschema/{2004 => 2001}/any-uri.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/base64-binary.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/boolean.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/date-time.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/date.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/decimal.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/double.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/duration.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/float.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/g-day.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/g-month-day.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/g-month.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/g-year-month.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/g-year.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/hex-binary.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/string.json | 0 schemas/w3c/xmlschema/{2004 => 2001}/time.json | 0 test/w3c/xmlschema/{2004 => 2001}/any-uri.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/base64-binary.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/boolean.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/date-time.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/date.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/decimal.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/double.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/duration.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/float.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/g-day.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/g-month-day.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/g-month.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/g-year-month.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/g-year.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/hex-binary.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/string.test.json | 2 +- test/w3c/xmlschema/{2004 => 2001}/time.test.json | 2 +- 34 files changed, 17 insertions(+), 17 deletions(-) rename schemas/w3c/xmlschema/{2004 => 2001}/any-uri.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/base64-binary.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/boolean.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/date-time.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/date.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/decimal.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/double.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/duration.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/float.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/g-day.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/g-month-day.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/g-month.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/g-year-month.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/g-year.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/hex-binary.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/string.json (100%) rename schemas/w3c/xmlschema/{2004 => 2001}/time.json (100%) rename test/w3c/xmlschema/{2004 => 2001}/any-uri.test.json (99%) rename test/w3c/xmlschema/{2004 => 2001}/base64-binary.test.json (99%) rename test/w3c/xmlschema/{2004 => 2001}/boolean.test.json (93%) rename test/w3c/xmlschema/{2004 => 2001}/date-time.test.json (97%) rename test/w3c/xmlschema/{2004 => 2001}/date.test.json (97%) rename test/w3c/xmlschema/{2004 => 2001}/decimal.test.json (99%) rename test/w3c/xmlschema/{2004 => 2001}/double.test.json (97%) rename test/w3c/xmlschema/{2004 => 2001}/duration.test.json (96%) rename test/w3c/xmlschema/{2004 => 2001}/float.test.json (96%) rename test/w3c/xmlschema/{2004 => 2001}/g-day.test.json (96%) rename test/w3c/xmlschema/{2004 => 2001}/g-month-day.test.json (96%) rename test/w3c/xmlschema/{2004 => 2001}/g-month.test.json (96%) rename test/w3c/xmlschema/{2004 => 2001}/g-year-month.test.json (97%) rename test/w3c/xmlschema/{2004 => 2001}/g-year.test.json (96%) rename test/w3c/xmlschema/{2004 => 2001}/hex-binary.test.json (99%) rename test/w3c/xmlschema/{2004 => 2001}/string.test.json (94%) rename test/w3c/xmlschema/{2004 => 2001}/time.test.json (97%) diff --git a/schemas/w3c/xmlschema/2004/any-uri.json b/schemas/w3c/xmlschema/2001/any-uri.json similarity index 100% rename from schemas/w3c/xmlschema/2004/any-uri.json rename to schemas/w3c/xmlschema/2001/any-uri.json diff --git a/schemas/w3c/xmlschema/2004/base64-binary.json b/schemas/w3c/xmlschema/2001/base64-binary.json similarity index 100% rename from schemas/w3c/xmlschema/2004/base64-binary.json rename to schemas/w3c/xmlschema/2001/base64-binary.json diff --git a/schemas/w3c/xmlschema/2004/boolean.json b/schemas/w3c/xmlschema/2001/boolean.json similarity index 100% rename from schemas/w3c/xmlschema/2004/boolean.json rename to schemas/w3c/xmlschema/2001/boolean.json diff --git a/schemas/w3c/xmlschema/2004/date-time.json b/schemas/w3c/xmlschema/2001/date-time.json similarity index 100% rename from schemas/w3c/xmlschema/2004/date-time.json rename to schemas/w3c/xmlschema/2001/date-time.json diff --git a/schemas/w3c/xmlschema/2004/date.json b/schemas/w3c/xmlschema/2001/date.json similarity index 100% rename from schemas/w3c/xmlschema/2004/date.json rename to schemas/w3c/xmlschema/2001/date.json diff --git a/schemas/w3c/xmlschema/2004/decimal.json b/schemas/w3c/xmlschema/2001/decimal.json similarity index 100% rename from schemas/w3c/xmlschema/2004/decimal.json rename to schemas/w3c/xmlschema/2001/decimal.json diff --git a/schemas/w3c/xmlschema/2004/double.json b/schemas/w3c/xmlschema/2001/double.json similarity index 100% rename from schemas/w3c/xmlschema/2004/double.json rename to schemas/w3c/xmlschema/2001/double.json diff --git a/schemas/w3c/xmlschema/2004/duration.json b/schemas/w3c/xmlschema/2001/duration.json similarity index 100% rename from schemas/w3c/xmlschema/2004/duration.json rename to schemas/w3c/xmlschema/2001/duration.json diff --git a/schemas/w3c/xmlschema/2004/float.json b/schemas/w3c/xmlschema/2001/float.json similarity index 100% rename from schemas/w3c/xmlschema/2004/float.json rename to schemas/w3c/xmlschema/2001/float.json diff --git a/schemas/w3c/xmlschema/2004/g-day.json b/schemas/w3c/xmlschema/2001/g-day.json similarity index 100% rename from schemas/w3c/xmlschema/2004/g-day.json rename to schemas/w3c/xmlschema/2001/g-day.json diff --git a/schemas/w3c/xmlschema/2004/g-month-day.json b/schemas/w3c/xmlschema/2001/g-month-day.json similarity index 100% rename from schemas/w3c/xmlschema/2004/g-month-day.json rename to schemas/w3c/xmlschema/2001/g-month-day.json diff --git a/schemas/w3c/xmlschema/2004/g-month.json b/schemas/w3c/xmlschema/2001/g-month.json similarity index 100% rename from schemas/w3c/xmlschema/2004/g-month.json rename to schemas/w3c/xmlschema/2001/g-month.json diff --git a/schemas/w3c/xmlschema/2004/g-year-month.json b/schemas/w3c/xmlschema/2001/g-year-month.json similarity index 100% rename from schemas/w3c/xmlschema/2004/g-year-month.json rename to schemas/w3c/xmlschema/2001/g-year-month.json diff --git a/schemas/w3c/xmlschema/2004/g-year.json b/schemas/w3c/xmlschema/2001/g-year.json similarity index 100% rename from schemas/w3c/xmlschema/2004/g-year.json rename to schemas/w3c/xmlschema/2001/g-year.json diff --git a/schemas/w3c/xmlschema/2004/hex-binary.json b/schemas/w3c/xmlschema/2001/hex-binary.json similarity index 100% rename from schemas/w3c/xmlschema/2004/hex-binary.json rename to schemas/w3c/xmlschema/2001/hex-binary.json diff --git a/schemas/w3c/xmlschema/2004/string.json b/schemas/w3c/xmlschema/2001/string.json similarity index 100% rename from schemas/w3c/xmlschema/2004/string.json rename to schemas/w3c/xmlschema/2001/string.json diff --git a/schemas/w3c/xmlschema/2004/time.json b/schemas/w3c/xmlschema/2001/time.json similarity index 100% rename from schemas/w3c/xmlschema/2004/time.json rename to schemas/w3c/xmlschema/2001/time.json diff --git a/test/w3c/xmlschema/2004/any-uri.test.json b/test/w3c/xmlschema/2001/any-uri.test.json similarity index 99% rename from test/w3c/xmlschema/2004/any-uri.test.json rename to test/w3c/xmlschema/2001/any-uri.test.json index cbada717..81df0174 100644 --- a/test/w3c/xmlschema/2004/any-uri.test.json +++ b/test/w3c/xmlschema/2001/any-uri.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/any-uri.json", + "target": "../../../../schemas/w3c/xmlschema/2001/any-uri.json", "tests": [ { "description": "Valid - empty string", diff --git a/test/w3c/xmlschema/2004/base64-binary.test.json b/test/w3c/xmlschema/2001/base64-binary.test.json similarity index 99% rename from test/w3c/xmlschema/2004/base64-binary.test.json rename to test/w3c/xmlschema/2001/base64-binary.test.json index a55290c8..a9d31d96 100644 --- a/test/w3c/xmlschema/2004/base64-binary.test.json +++ b/test/w3c/xmlschema/2001/base64-binary.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/base64-binary.json", + "target": "../../../../schemas/w3c/xmlschema/2001/base64-binary.json", "tests": [ { "description": "Valid - empty string", diff --git a/test/w3c/xmlschema/2004/boolean.test.json b/test/w3c/xmlschema/2001/boolean.test.json similarity index 93% rename from test/w3c/xmlschema/2004/boolean.test.json rename to test/w3c/xmlschema/2001/boolean.test.json index e9e4a591..9db929ca 100644 --- a/test/w3c/xmlschema/2004/boolean.test.json +++ b/test/w3c/xmlschema/2001/boolean.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/boolean.json", + "target": "../../../../schemas/w3c/xmlschema/2001/boolean.json", "tests": [ { "description": "Valid - true", diff --git a/test/w3c/xmlschema/2004/date-time.test.json b/test/w3c/xmlschema/2001/date-time.test.json similarity index 97% rename from test/w3c/xmlschema/2004/date-time.test.json rename to test/w3c/xmlschema/2001/date-time.test.json index 55f920f1..822d46c0 100644 --- a/test/w3c/xmlschema/2004/date-time.test.json +++ b/test/w3c/xmlschema/2001/date-time.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/date-time.json", + "target": "../../../../schemas/w3c/xmlschema/2001/date-time.json", "tests": [ { "description": "Valid - basic datetime", diff --git a/test/w3c/xmlschema/2004/date.test.json b/test/w3c/xmlschema/2001/date.test.json similarity index 97% rename from test/w3c/xmlschema/2004/date.test.json rename to test/w3c/xmlschema/2001/date.test.json index 80d45a8c..b5ea242b 100644 --- a/test/w3c/xmlschema/2004/date.test.json +++ b/test/w3c/xmlschema/2001/date.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/date.json", + "target": "../../../../schemas/w3c/xmlschema/2001/date.json", "tests": [ { "description": "Valid - basic date", diff --git a/test/w3c/xmlschema/2004/decimal.test.json b/test/w3c/xmlschema/2001/decimal.test.json similarity index 99% rename from test/w3c/xmlschema/2004/decimal.test.json rename to test/w3c/xmlschema/2001/decimal.test.json index 01170a5a..3274f6b7 100644 --- a/test/w3c/xmlschema/2004/decimal.test.json +++ b/test/w3c/xmlschema/2001/decimal.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/decimal.json", + "target": "../../../../schemas/w3c/xmlschema/2001/decimal.json", "tests": [ { "description": "Valid - positive integer", diff --git a/test/w3c/xmlschema/2004/double.test.json b/test/w3c/xmlschema/2001/double.test.json similarity index 97% rename from test/w3c/xmlschema/2004/double.test.json rename to test/w3c/xmlschema/2001/double.test.json index 27a2ed90..7e74bb77 100644 --- a/test/w3c/xmlschema/2004/double.test.json +++ b/test/w3c/xmlschema/2001/double.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/double.json", + "target": "../../../../schemas/w3c/xmlschema/2001/double.json", "tests": [ { "description": "Valid - positive double", diff --git a/test/w3c/xmlschema/2004/duration.test.json b/test/w3c/xmlschema/2001/duration.test.json similarity index 96% rename from test/w3c/xmlschema/2004/duration.test.json rename to test/w3c/xmlschema/2001/duration.test.json index f55c4dd3..331fd026 100644 --- a/test/w3c/xmlschema/2004/duration.test.json +++ b/test/w3c/xmlschema/2001/duration.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/duration.json", + "target": "../../../../schemas/w3c/xmlschema/2001/duration.json", "tests": [ { "description": "Valid - years only", diff --git a/test/w3c/xmlschema/2004/float.test.json b/test/w3c/xmlschema/2001/float.test.json similarity index 96% rename from test/w3c/xmlschema/2004/float.test.json rename to test/w3c/xmlschema/2001/float.test.json index 7b83c840..c2a3c7d3 100644 --- a/test/w3c/xmlschema/2004/float.test.json +++ b/test/w3c/xmlschema/2001/float.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/float.json", + "target": "../../../../schemas/w3c/xmlschema/2001/float.json", "tests": [ { "description": "Valid - positive float", diff --git a/test/w3c/xmlschema/2004/g-day.test.json b/test/w3c/xmlschema/2001/g-day.test.json similarity index 96% rename from test/w3c/xmlschema/2004/g-day.test.json rename to test/w3c/xmlschema/2001/g-day.test.json index 165e5006..1384e579 100644 --- a/test/w3c/xmlschema/2004/g-day.test.json +++ b/test/w3c/xmlschema/2001/g-day.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/g-day.json", + "target": "../../../../schemas/w3c/xmlschema/2001/g-day.json", "tests": [ { "description": "Valid - basic day", diff --git a/test/w3c/xmlschema/2004/g-month-day.test.json b/test/w3c/xmlschema/2001/g-month-day.test.json similarity index 96% rename from test/w3c/xmlschema/2004/g-month-day.test.json rename to test/w3c/xmlschema/2001/g-month-day.test.json index 625a0a15..1b8b8a40 100644 --- a/test/w3c/xmlschema/2004/g-month-day.test.json +++ b/test/w3c/xmlschema/2001/g-month-day.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/g-month-day.json", + "target": "../../../../schemas/w3c/xmlschema/2001/g-month-day.json", "tests": [ { "description": "Valid - basic month-day", diff --git a/test/w3c/xmlschema/2004/g-month.test.json b/test/w3c/xmlschema/2001/g-month.test.json similarity index 96% rename from test/w3c/xmlschema/2004/g-month.test.json rename to test/w3c/xmlschema/2001/g-month.test.json index 7fc2b506..6701bfc8 100644 --- a/test/w3c/xmlschema/2004/g-month.test.json +++ b/test/w3c/xmlschema/2001/g-month.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/g-month.json", + "target": "../../../../schemas/w3c/xmlschema/2001/g-month.json", "tests": [ { "description": "Valid - basic month", diff --git a/test/w3c/xmlschema/2004/g-year-month.test.json b/test/w3c/xmlschema/2001/g-year-month.test.json similarity index 97% rename from test/w3c/xmlschema/2004/g-year-month.test.json rename to test/w3c/xmlschema/2001/g-year-month.test.json index b1702707..eda1954b 100644 --- a/test/w3c/xmlschema/2004/g-year-month.test.json +++ b/test/w3c/xmlschema/2001/g-year-month.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/g-year-month.json", + "target": "../../../../schemas/w3c/xmlschema/2001/g-year-month.json", "tests": [ { "description": "Valid - basic year-month", diff --git a/test/w3c/xmlschema/2004/g-year.test.json b/test/w3c/xmlschema/2001/g-year.test.json similarity index 96% rename from test/w3c/xmlschema/2004/g-year.test.json rename to test/w3c/xmlschema/2001/g-year.test.json index 0e046572..f21be141 100644 --- a/test/w3c/xmlschema/2004/g-year.test.json +++ b/test/w3c/xmlschema/2001/g-year.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/g-year.json", + "target": "../../../../schemas/w3c/xmlschema/2001/g-year.json", "tests": [ { "description": "Valid - basic year", diff --git a/test/w3c/xmlschema/2004/hex-binary.test.json b/test/w3c/xmlschema/2001/hex-binary.test.json similarity index 99% rename from test/w3c/xmlschema/2004/hex-binary.test.json rename to test/w3c/xmlschema/2001/hex-binary.test.json index 4fe3eeec..b6c4af1d 100644 --- a/test/w3c/xmlschema/2004/hex-binary.test.json +++ b/test/w3c/xmlschema/2001/hex-binary.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/hex-binary.json", + "target": "../../../../schemas/w3c/xmlschema/2001/hex-binary.json", "tests": [ { "description": "Valid - empty string", diff --git a/test/w3c/xmlschema/2004/string.test.json b/test/w3c/xmlschema/2001/string.test.json similarity index 94% rename from test/w3c/xmlschema/2004/string.test.json rename to test/w3c/xmlschema/2001/string.test.json index 1259e2ad..01f72201 100644 --- a/test/w3c/xmlschema/2004/string.test.json +++ b/test/w3c/xmlschema/2001/string.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/string.json", + "target": "../../../../schemas/w3c/xmlschema/2001/string.json", "tests": [ { "description": "Valid - simple string", diff --git a/test/w3c/xmlschema/2004/time.test.json b/test/w3c/xmlschema/2001/time.test.json similarity index 97% rename from test/w3c/xmlschema/2004/time.test.json rename to test/w3c/xmlschema/2001/time.test.json index 89ca114d..15658b3e 100644 --- a/test/w3c/xmlschema/2004/time.test.json +++ b/test/w3c/xmlschema/2001/time.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/w3c/xmlschema/2004/time.json", + "target": "../../../../schemas/w3c/xmlschema/2001/time.json", "tests": [ { "description": "Valid - basic time",