lutaml-xsd 1.2.100 → 1.2.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2fb04a8aef728bbfb826bd9e49561e8a2e4949a0a8da01afb5d3f0306b50a14e
4
- data.tar.gz: 438fdfc6d197d4f1aa146232aa5a2d73c77f2181b0925c2d44328631876dd433
3
+ metadata.gz: 6105bb86be0d4abbb820b3362454d8b05d2323366b35b6d1e6225feafc12dd57
4
+ data.tar.gz: 639b6495bc87a3d3b6a8ec3edac0dfc4457da4af3dba1bef20e4d2c464628c54
5
5
  SHA512:
6
- metadata.gz: 2a7fb730886d8296d8c3daff45401f6b7b1dc817a5030ce1f9a5170914290cc95c6bc532eb6f42eecb9a85026686b0e5ecca47ca2f7d9b0f9b70ba68d5c71413
7
- data.tar.gz: dbe58ef59e792eb32eb0b42f6db501a797cc8423fea41656d89e20ec7b79257e279832ad0ef4c2c5e1ede93f142b6e66fdd5fdf09599f5b55fafef6c11d588ce
6
+ metadata.gz: 7da7d36525dd07c46f9b81e9e1219f1faf5882c871cca810026b76b65f712cf8387e92ecee363a8f0a4ad23b75b42e7b5a1bcd41cf6a8b1c2793812b58dfaf1d
7
+ data.tar.gz: 6475b579cbaa25e35cfcdb497e60c501425337e65676406aec619fbc83a386fb66cf5f94b5e7c4d77a96e79b0ae13bd1818517ca2e10191ae9a31976b5f0fb44
data/TODO.conformance.md CHANGED
@@ -521,6 +521,27 @@ tuple keys, node-set field violations and absent-field rows handled, cross-eleme
521
521
  schF1/P2, stE065/066/096) AND a WHOLESALE 407 regex regression:
522
522
  ~177 cases — the ENTIRE Unicode-block escape family (~80
523
523
  \p{Is...} per-block tests) plus the reL/reP/reQ/reR/reS/reT
524
+ - ANYSIMPLETYPE-WHITESPACE ROUND (2026-11-07): +1 Additional
525
+ (test93160; suite 4627->4628 = 98.55%, pending measure confirm).
526
+ xs:anySimpleType's whiteSpace is PRESERVE — the ur-simple type
527
+ canonicalizes nothing — but the fixed-compare whitespace rule fell
528
+ through to collapse, so whitespace-padded text equaled the fixed
529
+ value. The element- and attribute-side whitespace maps now send
530
+ anySimpleType to preserve; the fixed compare is a RAW-LEXICAL
531
+ compare (xmllint: the padded actual does not match the fixed).
532
+ PARKED same-day classifications (the per-position binding wall —
533
+ the parent-context redesign charter): isDefault079 (two same-named
534
+ locals with DIFFERENT fixed values — the second child binds to the
535
+ second particle; we mis-bind to the first; xmllint validates),
536
+ QFE1700c1 (skip-suppression must follow the matcher's DETERMINISTIC
537
+ assignment — the ref particle takes its e2 and validates its
538
+ content, not the skip-wildcard hereditary escape), addB065
539
+ (xsi:nil=true on non-nillable silent), addB188 (xsi:type-assessed
540
+ undeclared root skips the attribute check). errC007's namespace
541
+ fallback narrowing REVERTED after 5 regressions (addB132/ctZ007/
542
+ elemZ021b/f/elemZ023 lean on the lenient fallback for
543
+ substitution/import shapes) — parked with the same charter.
544
+
524
545
  series — filed leptris-rs#47; moxml 0.6.3 regressed 5 attribute
525
546
  - WILDCARD-LAYERING ROUND (2026-11-07): +3 Wildcards (wildZ013b/c
526
547
  valid, wildZ013e invalid; suite 4624->4627 = 98.57%, zero
@@ -653,7 +653,9 @@ module Lutaml
653
653
  return :preserve unless builtin_type_name?(reference)
654
654
 
655
655
  local = reference.split(":").last
656
- return :preserve if local == "string"
656
+ # anySimpleType's whiteSpace is PRESERVE — the ur-simple
657
+ # type canonicalizes nothing.
658
+ return :preserve if ["string", "anySimpleType"].include?(local)
657
659
  return :replace if local == "normalizedString"
658
660
 
659
661
  :collapse
@@ -488,7 +488,10 @@ module Lutaml
488
488
  end
489
489
 
490
490
  case local
491
- when "string"
491
+ when "string", "anySimpleType"
492
+ # anySimpleType's whiteSpace is PRESERVE (the ur-simple
493
+ # type canonicalizes nothing) — a fixed compare against
494
+ # it compares the raw lexical (test93160).
492
495
  :preserve
493
496
  when "normalizedString"
494
497
  :replace
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lutaml
4
4
  module Xsd
5
- VERSION = "1.2.100"
5
+ VERSION = "1.2.101"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lutaml-xsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.100
4
+ version: 1.2.101
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.