lutaml-xsd 1.2.103 → 1.2.104

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: 0406cd7f1ca030db5b4c6db63f060fdaae3981f61d2913f3552c510129f80b8c
4
- data.tar.gz: 067f44365c98c7a9b3fd221c74d35965d5e628b3cb58f788e7210bd8a8cc6964
3
+ metadata.gz: 18b2cd97c729aae1ceb8836fe492b36d0ea829de0e6e47f4f7a992e142d2e7c8
4
+ data.tar.gz: 365431275056d9a6bf80a2d4bb256b0c144e52183ca62ca3fcab51822486cc84
5
5
  SHA512:
6
- metadata.gz: d7b9a1f01944bfe42b257e750226f2e9b200fbe3a30fe14ac834f3b1b7fdd675a12afb77764eaf821e09662674788ecf764064516477e26df394da4ba8b66ac2
7
- data.tar.gz: 8dc0ac9729456a8903c6a2f70c4db8d1d2c7704076654ac173c4450aa089c76d3369a48f61d1638c210e26cd5b94584cebeff2af4700bdf3964b587136082183
6
+ metadata.gz: cd1b6f0609b6bde57f1947856b7d63e277044ad8d27076d7a6bcc0251ccfc82de133e3226f2795dca5f105fb747c0aebfcc4457832f30ab5c86adb39320609fc
7
+ data.tar.gz: e9c1d309c0c544b83c469a2c8fccf13ada15daa5fd401821f1dc71c51a8a49ed4ceff35d928ff0b792fd565c4ecb4e64d34e53fbf7276fdf23061e9c703e8a33
data/TODO.conformance.md CHANGED
@@ -518,6 +518,20 @@ tuple keys, node-set field violations and absent-field rows handled, cross-eleme
518
518
  - RIDE-407 PIN-BACK (2026-11-05): the leptris 1.9.407.0 + moxml
519
519
  0.6.3 + lutaml-model 0.8.166 train carried fixes (the FULL #45
520
520
  stE legs, the #522 attgC four + attgD mostly + attJ018 +
521
+ - PARENT-CONTEXT ROUND C (2026-11-08): +1 Additional (addB065;
522
+ suite 4630->4631 = 98.61%, pending measure confirm). A declaration
523
+ carrying a FIXED value constraint rejects xsi:nil=true outright
524
+ (XSD 1.0 §4.2.3 as the errata reads it; xmllint: "cannot be
525
+ 'nilled' because there is a fixed value constraint defined for
526
+ it") — the nil-true branch now reports xsi_nil_with_fixed and
527
+ treats the element as nilled-handled. PARKED same-day: addB188
528
+ (an undeclared root anchored by xsi:type must assess against the
529
+ named type — the override-type dispatch was TRIED and reverted:
530
+ constraint-category rules assume Element schema_defs and crash on
531
+ ComplexType; the fix needs a per-rule ComplexType-capability
532
+ audit, a sibling of the parent-context charter). addB187's valid
533
+ twin re-verified after the revert.
534
+
521
535
  schF1/P2, stE065/066/096) AND a WHOLESALE 407 regex regression:
522
536
  - PARENT-CONTEXT ROUND B (2026-11-08): +1 Additional (isDefault079;
523
537
  suite 4629->4630 = 98.59%, zero regressions, rspec green).
@@ -333,6 +333,22 @@ module Lutaml
333
333
  return true
334
334
  end
335
335
 
336
+ # A fixed value constraint forbids nilled elements
337
+ # outright (addB065; xmllint: "cannot be 'nilled' because
338
+ # there is a fixed value constraint").
339
+ unless schema_element.fixed.to_s.empty?
340
+ report_error(
341
+ collector,
342
+ code: "xsi_nil_with_fixed",
343
+ message: "Element '#{xml_element.name}' cannot be " \
344
+ "nilled because there is a fixed value " \
345
+ "constraint defined for it",
346
+ location: xml_element.xpath,
347
+ context: { element: xml_element.name },
348
+ )
349
+ return true
350
+ end
351
+
336
352
  if xml_element.children.empty? &&
337
353
  xml_element.text_content.to_s.strip.empty?
338
354
  return true
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lutaml
4
4
  module Xsd
5
- VERSION = "1.2.103"
5
+ VERSION = "1.2.104"
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.103
4
+ version: 1.2.104
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.