moxml 0.5.149 → 0.5.151
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/.github/workflows/dependent-repos.json +7 -2
- data/.github/workflows/dependent-tests.yml +4 -1
- data/.github/workflows/performance-release.yml +79 -0
- data/.github/workflows/performance.yml +59 -0
- data/Rakefile +23 -0
- data/benchmark/README.md +106 -0
- data/benchmark/scoreboard.json +115 -0
- data/benchmark/scoreboard.rb +556 -0
- data/bin/generate-model-coverage +21 -0
- data/docs/_pages/adapter-compatibility.adoc +3 -3
- data/docs/_pages/divergences.adoc +32 -41
- data/docs/_pages/ecosystem.adoc +62 -0
- data/docs/_pages/headed-ox-limitations.adoc +1 -1
- data/docs/_pages/headed-ox.adoc +2 -2
- data/docs/_pages/index.adoc +4 -0
- data/docs/_pages/model-coverage.adoc +57 -0
- data/docs/_pages/performance.adoc +29 -0
- data/docs/_pages/why-moxml.adoc +87 -0
- data/docs/_references/processing-model.adoc +42 -3
- data/lib/moxml/adapter/base.rb +80 -0
- data/lib/moxml/adapter/leptris.rb +238 -4
- data/lib/moxml/adapter/libxml.rb +34 -2
- data/lib/moxml/adapter/nokogiri.rb +10 -0
- data/lib/moxml/adapter/oga.rb +39 -7
- data/lib/moxml/adapter/ox.rb +8 -0
- data/lib/moxml/adapter/rexml.rb +17 -2
- data/lib/moxml/attribute_resolver.rb +4 -0
- data/lib/moxml/c14n/data_model.rb +8 -0
- data/lib/moxml/c14n/processor.rb +17 -8
- data/lib/moxml/context.rb +53 -2
- data/lib/moxml/document.rb +28 -4
- data/lib/moxml/element.rb +13 -1
- data/lib/moxml/node.rb +85 -11
- data/lib/moxml/node_set.rb +31 -1
- data/lib/moxml/relaxng.rb +62 -0
- data/lib/moxml/sax/block_handler.rb +7 -0
- data/lib/moxml/sax/handler.rb +20 -0
- data/lib/moxml/version.rb +1 -1
- data/lib/moxml/xpath.rb +28 -0
- data/lib/moxml.rb +1 -0
- data/spec/consistency/adapter_parity_spec.rb +22 -0
- data/spec/consistency/citation_hygiene_spec.rb +30 -0
- data/spec/consistency/model_coverage_audit_spec.rb +61 -86
- data/spec/consistency/published_docs_spec.rb +49 -0
- data/spec/consistency/xpath_idioms_spec.rb +23 -5
- data/spec/integration/shared_examples/edge_cases.rb +0 -13
- data/spec/moxml/adapter/leptris_spec.rb +113 -3
- data/spec/moxml/adapter/shared_examples/adapter_contract.rb +0 -8
- data/spec/moxml/attribute_resolver_spec.rb +33 -0
- data/spec/moxml/c14n/adapter_delegation_spec.rb +33 -6
- data/spec/moxml/c14n/character_encoding_spec.rb +7 -13
- data/spec/moxml/c14n/comments_pis_spec.rb +35 -8
- data/spec/moxml/c14n/subset_spec.rb +2 -12
- data/spec/moxml/c14n/w3c_examples_spec.rb +2 -5
- data/spec/moxml/element_indent_spec.rb +34 -0
- data/spec/moxml/node_spec.rb +0 -3
- data/spec/moxml/relax_ng_spec.rb +67 -0
- data/spec/moxml/sax_spec.rb +45 -74
- data/spec/moxml/xpath_capabilities_spec.rb +11 -38
- data/spec/support/input_taxonomy.rb +7 -0
- data/spec/support/model_coverage.rb +159 -0
- metadata +17 -2
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moxml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.151
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |
|
|
14
14
|
Moxml is a unified XML manipulation library that provides a common API
|
|
@@ -26,6 +26,8 @@ files:
|
|
|
26
26
|
- ".github/workflows/docs.yml"
|
|
27
27
|
- ".github/workflows/nightly-fuzz.yml"
|
|
28
28
|
- ".github/workflows/opal.yml"
|
|
29
|
+
- ".github/workflows/performance-release.yml"
|
|
30
|
+
- ".github/workflows/performance.yml"
|
|
29
31
|
- ".github/workflows/rake.yml"
|
|
30
32
|
- ".github/workflows/release.yml"
|
|
31
33
|
- ".github/workflows/round-trip.yml"
|
|
@@ -40,12 +42,16 @@ files:
|
|
|
40
42
|
- LICENSE.md
|
|
41
43
|
- README.adoc
|
|
42
44
|
- Rakefile
|
|
45
|
+
- benchmark/README.md
|
|
43
46
|
- benchmark/pipeline_bench.rb
|
|
44
47
|
- benchmark/plan_bench.rb
|
|
45
48
|
- benchmark/sax_bench.rb
|
|
49
|
+
- benchmark/scoreboard.json
|
|
50
|
+
- benchmark/scoreboard.rb
|
|
46
51
|
- benchmarks/.gitignore
|
|
47
52
|
- benchmarks/generate_report.rb
|
|
48
53
|
- bin/console
|
|
54
|
+
- bin/generate-model-coverage
|
|
49
55
|
- bin/setup
|
|
50
56
|
- data/w3c_entities.json
|
|
51
57
|
- docs/ENTITY_SUPPORT_FOR_LUTAML_MODEL.md
|
|
@@ -75,15 +81,18 @@ files:
|
|
|
75
81
|
- docs/_pages/configuration.adoc
|
|
76
82
|
- docs/_pages/conversion-apis.adoc
|
|
77
83
|
- docs/_pages/divergences.adoc
|
|
84
|
+
- docs/_pages/ecosystem.adoc
|
|
78
85
|
- docs/_pages/error-handling.adoc
|
|
79
86
|
- docs/_pages/headed-ox-limitations.adoc
|
|
80
87
|
- docs/_pages/headed-ox.adoc
|
|
81
88
|
- docs/_pages/index.adoc
|
|
82
89
|
- docs/_pages/installation.adoc
|
|
90
|
+
- docs/_pages/model-coverage.adoc
|
|
83
91
|
- docs/_pages/node-api-reference.adoc
|
|
84
92
|
- docs/_pages/performance.adoc
|
|
85
93
|
- docs/_pages/quick-start.adoc
|
|
86
94
|
- docs/_pages/thread-safety.adoc
|
|
95
|
+
- docs/_pages/why-moxml.adoc
|
|
87
96
|
- docs/_references/document-api.adoc
|
|
88
97
|
- docs/_references/index.adoc
|
|
89
98
|
- docs/_references/processing-model.adoc
|
|
@@ -232,6 +241,7 @@ files:
|
|
|
232
241
|
- lib/moxml/reference/normalizer.rb
|
|
233
242
|
- lib/moxml/reference/parser.rb
|
|
234
243
|
- lib/moxml/reference/writer.rb
|
|
244
|
+
- lib/moxml/relaxng.rb
|
|
235
245
|
- lib/moxml/sax.rb
|
|
236
246
|
- lib/moxml/sax/block_handler.rb
|
|
237
247
|
- lib/moxml/sax/element_handler.rb
|
|
@@ -318,6 +328,7 @@ files:
|
|
|
318
328
|
- sig/moxml.rbs
|
|
319
329
|
- spec/consistency/README.md
|
|
320
330
|
- spec/consistency/adapter_parity_spec.rb
|
|
331
|
+
- spec/consistency/citation_hygiene_spec.rb
|
|
321
332
|
- spec/consistency/differential_taxonomy_spec.rb
|
|
322
333
|
- spec/consistency/divergence_register_spec.rb
|
|
323
334
|
- spec/consistency/document_text_spec.rb
|
|
@@ -327,6 +338,7 @@ files:
|
|
|
327
338
|
- spec/consistency/metamorphic_properties_spec.rb
|
|
328
339
|
- spec/consistency/metamorphic_spec.rb
|
|
329
340
|
- spec/consistency/model_coverage_audit_spec.rb
|
|
341
|
+
- spec/consistency/published_docs_spec.rb
|
|
330
342
|
- spec/consistency/reference_differential_spec.rb
|
|
331
343
|
- spec/consistency/round_trip_spec.rb
|
|
332
344
|
- spec/consistency/spec_constant_uniqueness_spec.rb
|
|
@@ -526,6 +538,7 @@ files:
|
|
|
526
538
|
- spec/moxml/document_spec.rb
|
|
527
539
|
- spec/moxml/element_add_element_spec.rb
|
|
528
540
|
- spec/moxml/element_attribute_pairs_spec.rb
|
|
541
|
+
- spec/moxml/element_indent_spec.rb
|
|
529
542
|
- spec/moxml/element_spec.rb
|
|
530
543
|
- spec/moxml/entity_preservation_spec.rb
|
|
531
544
|
- spec/moxml/entity_reference_spec.rb
|
|
@@ -560,6 +573,7 @@ files:
|
|
|
560
573
|
- spec/moxml/recover_mode_spec.rb
|
|
561
574
|
- spec/moxml/reference_opal_spec.rb
|
|
562
575
|
- spec/moxml/reference_spec.rb
|
|
576
|
+
- spec/moxml/relax_ng_spec.rb
|
|
563
577
|
- spec/moxml/sax/namespace_splitter_spec.rb
|
|
564
578
|
- spec/moxml/sax_entity_parity_spec.rb
|
|
565
579
|
- spec/moxml/sax_spec.rb
|
|
@@ -623,6 +637,7 @@ files:
|
|
|
623
637
|
- spec/support/allocation_helper.rb
|
|
624
638
|
- spec/support/input_generator.rb
|
|
625
639
|
- spec/support/input_taxonomy.rb
|
|
640
|
+
- spec/support/model_coverage.rb
|
|
626
641
|
- spec/support/opal.rb
|
|
627
642
|
- spec/support/w3c_namespace_helpers.rb
|
|
628
643
|
- spec/support/xml_generator.rb
|