leptris 1.9.317.0-arm-linux → 1.9.317.1-arm-linux
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/CHANGELOG.md +46 -0
- data/lib/leptris/version.rb +1 -1
- data/lib/leptris/xml/descriptor.rb +10 -2
- data/lib/leptris/xml/ffi.rb +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2824d22f679e46bb0bcb8d79a163886812769ba8c9fe668e1243e27723cd0d7d
|
|
4
|
+
data.tar.gz: ab423424bd971f3dd6088ecae5ef9b2e15ab25b6ee64bcda617ab0cd19b7098b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e355e20bc42352cf12697bcbb34b56b767fd6efa7ab82247bb57d89333d565d50fe1009a5c6b0dbd56aaf256f6c877970b95d6ea741c37d83140de432e9022ad
|
|
7
|
+
data.tar.gz: e04b01514ed223d2ef660c69cf9d2294f0903e3a12523e37c154bb61b18ba54458f8e6b5847c53077c0d4d94755ca767221b4f5997563240cbd6bf4c761feb5e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,49 @@
|
|
|
1
|
+
## [1.9.317.1] - 2026-10-08
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
- **The published 1.9.317.0 gem predates PR #395**: a parallel
|
|
6
|
+
release race published 1.9.317.0 from the carrier-folds ride
|
|
7
|
+
(bd81bdf) before the `:unqualified` ns form merged — this patch
|
|
8
|
+
release carries the #1560 `ns: :unqualified` DSL (element rows
|
|
9
|
+
bind the unwritten spelling under both namespace-less and
|
|
10
|
+
default-xmlns documents; the serialize→re-parse→re-walk
|
|
11
|
+
round-trip agrees) and the #1565 nested-capture serialization
|
|
12
|
+
pin to the published artifact line. Main already carried both
|
|
13
|
+
(PR #395); only the gem lagged.
|
|
14
|
+
|
|
15
|
+
## [1.9.317.0] - 2026-10-08
|
|
16
|
+
|
|
17
|
+
### Added — engine sync (libleptris 1.9.315-1.9.317)
|
|
18
|
+
|
|
19
|
+
- **Unqualified-only ns form for child rows (1.9.317, #1560)**:
|
|
20
|
+
`ns: :unqualified` matches the UNWRITTEN spelling — an
|
|
21
|
+
unprefixed child binds under both a namespace-less document and
|
|
22
|
+
a default-`xmlns` document, and prefixed spellings never bind
|
|
23
|
+
(the `NS_ANY` superset lutaml-model#932 had to settle for). The
|
|
24
|
+
form keys on the spelling, not the URI, so
|
|
25
|
+
serialize→re-parse→re-walk round-trips agree: a default-ns child
|
|
26
|
+
serializes bare and still re-binds. Element-row only (attributes
|
|
27
|
+
have no unprefixed namespace by XML rules). `PLAN_NS_UNQUALIFIED
|
|
28
|
+
= 3` attached; all three shapes + the round-trip spec-pinned.
|
|
29
|
+
|
|
30
|
+
### Fixed — engine sync (1.9.316)
|
|
31
|
+
|
|
32
|
+
- **Nested captures emit their own rows (#1565)**: a captured
|
|
33
|
+
child's rows resolve against the CAPTURING row's
|
|
34
|
+
`child_plan_index` plan, so a child bound by a nested row (the
|
|
35
|
+
`w:font`-in-`w:fonts` shape) serializes its own attribute and
|
|
36
|
+
child rows instead of silently vanishing — pinned through
|
|
37
|
+
`Descriptor#serialize`.
|
|
38
|
+
|
|
39
|
+
### Engine sync (1.9.315)
|
|
40
|
+
|
|
41
|
+
- Carrier-by-pointer node identity for the higher-order argument
|
|
42
|
+
channel (QT3 fold-left-009/016): element members keep their node
|
|
43
|
+
pointer, `intersect` dedups by node, single-element results ride
|
|
44
|
+
the carrier. Engine-internal to the XQuery engine — the binding
|
|
45
|
+
contract is unchanged (suite carries it).
|
|
46
|
+
|
|
1
47
|
## [1.9.314.0] - 2026-10-07
|
|
2
48
|
|
|
3
49
|
### Changed — engine sync (libleptris 1.9.314)
|
data/lib/leptris/version.rb
CHANGED
|
@@ -175,11 +175,15 @@ class Leptris::XML::Descriptor
|
|
|
175
175
|
case ns
|
|
176
176
|
when nil, :none then [Leptris::XML::FFI::PLAN_NS_NONE, nil]
|
|
177
177
|
when :any then [Leptris::XML::FFI::PLAN_NS_ANY, nil]
|
|
178
|
+
when :unqualified
|
|
179
|
+
# libleptris 1.9.317 (#1560): the UNWRITTEN spelling.
|
|
180
|
+
[Leptris::XML::FFI::PLAN_NS_UNQUALIFIED, nil]
|
|
178
181
|
when Hash
|
|
179
182
|
[Leptris::XML::FFI::PLAN_NS_EXACT,
|
|
180
183
|
anchor_string(anchors, ns.fetch(:exact))]
|
|
181
184
|
else
|
|
182
|
-
raise ArgumentError,
|
|
185
|
+
raise ArgumentError,
|
|
186
|
+
"ns must be :none, :any, :unqualified, or {exact: uri}"
|
|
183
187
|
end
|
|
184
188
|
ep[:ns_form] = ns_form
|
|
185
189
|
ep[:ns_uri] = ns_uri
|
|
@@ -230,10 +234,14 @@ class Leptris::XML::Descriptor
|
|
|
230
234
|
# defaults to NONE for backward compatibility. WILDCARD
|
|
231
235
|
# rows (#1552) read an explicit :ns through pad0 (an
|
|
232
236
|
# explicit :none filters no-namespace remainder alone;
|
|
233
|
-
# unset stays the catch-all ANY default).
|
|
237
|
+
# unset stays the catch-all ANY default). :unqualified
|
|
238
|
+
# (libleptris 1.9.317, #1560) matches the unwritten
|
|
239
|
+
# spelling on element rows — element-row only (attributes
|
|
240
|
+
# have no unprefixed namespace by XML rules).
|
|
234
241
|
cp[:ns_form] =
|
|
235
242
|
case row[:ns]
|
|
236
243
|
when :any then Leptris::XML::FFI::PLAN_NS_ANY
|
|
244
|
+
when :unqualified then Leptris::XML::FFI::PLAN_NS_UNQUALIFIED
|
|
237
245
|
when Hash then Leptris::XML::FFI::PLAN_NS_EXACT
|
|
238
246
|
else Leptris::XML::FFI::PLAN_NS_NONE
|
|
239
247
|
end
|
data/lib/leptris/xml/ffi.rb
CHANGED
|
@@ -380,6 +380,13 @@ module Leptris
|
|
|
380
380
|
PLAN_NS_NONE = 0
|
|
381
381
|
PLAN_NS_EXACT = 1
|
|
382
382
|
PLAN_NS_ANY = 2
|
|
383
|
+
# libleptris 1.9.317 (#1560): matches the UNWRITTEN spelling
|
|
384
|
+
# on element rows — no written prefix, regardless of the
|
|
385
|
+
# effective namespace URI (binds under both a namespace-less
|
|
386
|
+
# and a default-xmlns document; prefixed spellings never
|
|
387
|
+
# bind). Attributes have no unprefixed namespace by XML
|
|
388
|
+
# rules, so the form is element-row only.
|
|
389
|
+
PLAN_NS_UNQUALIFIED = 3
|
|
383
390
|
|
|
384
391
|
PLAN_VALUE_ELEMENT = 0
|
|
385
392
|
PLAN_VALUE_SCALAR = 1
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: leptris
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.9.317.
|
|
4
|
+
version: 1.9.317.1
|
|
5
5
|
platform: arm-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ffi
|