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 +4 -4
- data/TODO.conformance.md +14 -0
- data/lib/lutaml/xsd/validation/rules/type_validation_rule.rb +16 -0
- data/lib/lutaml/xsd/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 18b2cd97c729aae1ceb8836fe492b36d0ea829de0e6e47f4f7a992e142d2e7c8
|
|
4
|
+
data.tar.gz: 365431275056d9a6bf80a2d4bb256b0c144e52183ca62ca3fcab51822486cc84
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/lutaml/xsd/version.rb
CHANGED