moxml 0.5.85 → 0.5.86
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/README.adoc +7 -2
- data/lib/moxml/adapter/leptris.rb +8 -5
- data/lib/moxml/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: 24155b1be6da49c7e24b3be5bef79caeac8e76f19c006329382330dee7d4e259
|
|
4
|
+
data.tar.gz: 0f8b8736e98239902ad1dfe0deba7f7c4b22f61400ae6628ebcc8e5484ef319b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a1a93ce53b2dee189b74c608f930483c4a0ecffaeed03a570486bede424e6cf9244d7262e038ba8cb0a5a2d3b2d2c99711a47fac53f5abdc87640957a9ae379
|
|
7
|
+
data.tar.gz: 5b997e1cf171d4f6c08bfedb2fb9cb0caa02e022d491e26a63e1e613fe8340972e8629cfe28e158d23ee1c24956d4e54d541af8b76c44f1be6ca25d9e7aa0d76
|
data/README.adoc
CHANGED
|
@@ -102,8 +102,13 @@ entity references (`entity_mode: :keep`), 1.9.193.4+ native plan rows
|
|
|
102
102
|
(`Moxml::Plan`), 1.9.194.1+ hot-read aliases, 1.9.201.1+ the C struct
|
|
103
103
|
executor (`Moxml::StructPlan`; the floor is the varargs-mint fix),
|
|
104
104
|
1.9.204+ native document-level parts (created DOCTYPEs as native
|
|
105
|
-
nodes, document-PI removal, declaration clear).
|
|
106
|
-
|
|
105
|
+
nodes, document-PI removal, declaration clear), 1.9.240+ the bulk
|
|
106
|
+
SAX record drain (`Handler#on_sax_records`) — and 1.9.242+ is
|
|
107
|
+
REQUIRED for that drain to be CORRECT: 1.9.240/241 drain documents
|
|
108
|
+
containing duplicate attributes without surfacing the fatal error
|
|
109
|
+
(moxml#281), so the drain arms only on 1.9.242+, where such
|
|
110
|
+
documents fall back to the callback path and the error fires.
|
|
111
|
+
Current recommendation: 1.9.242+ (the record-drain train; carries
|
|
107
112
|
the plan-ABI surface — bound plan rows, typed scalars, fused
|
|
108
113
|
Descriptor#materialize — plus the 1.9.217+ borrowed-text-run and
|
|
109
114
|
1.9.221+ memory wins).
|
|
@@ -132,12 +132,15 @@ module Moxml
|
|
|
132
132
|
|
|
133
133
|
# Bulk SAX record drain (leptris#1298): leptris_sax_records_parse
|
|
134
134
|
# + Leptris::XML::SAX::Records — one crossing per document,
|
|
135
|
-
# handlers replay or walk the table. Ships in
|
|
136
|
-
# 1.9.240
|
|
137
|
-
# the
|
|
138
|
-
#
|
|
135
|
+
# handlers replay or walk the table. Ships in binding 1.9.242.0:
|
|
136
|
+
# 1.9.240/241 carry the drain WITHOUT the duplicate-attribute
|
|
137
|
+
# bail (moxml#281 — the record table has no error channel, so a
|
|
138
|
+
# fatal dup-attr document parses with on_error never firing),
|
|
139
|
+
# so the gate names the first release where the drain is
|
|
140
|
+
# CORRECT, not merely present. Dev floor pins ~> 1.9.238;
|
|
141
|
+
# older bindings take the callback Parser below.
|
|
139
142
|
NATIVE_SAX_RECORDS =
|
|
140
|
-
Gem::Version.new(::Leptris::VERSION) >= Gem::Version.new("1.9.
|
|
143
|
+
Gem::Version.new(::Leptris::VERSION) >= Gem::Version.new("1.9.242")
|
|
141
144
|
|
|
142
145
|
# Defined unconditionally: the body self-guards, and call
|
|
143
146
|
# sites must never depend on the layer having loaded
|
data/lib/moxml/version.rb
CHANGED