@blazetrails/nokogiri
XML/SAX parsing for Trails, mirroring Nokogiri's XML surface
| Measure | Value |
|---|---|
| Rails counterpart | nokogiri v1.19.7 |
| API methods matched | 69% (310 of 447) |
| Rails tests matched | — |
| Ruby files ported | 25 |
| Ruby files unported | 16 |
| Measured at | fe89b44726 |
Gaps by file
Ported files with Rails methods or tests still missing, largest gap first.
Missing methods
The Rails methods parity:api finds no TypeScript counterpart for, by Ruby file.
xml/node.rb: 30 missing
prepend_child, wrap, add_previous_sibling, add_next_sibling, before, after, replace, do_xinclude, next, next=, remove, inner_text, elements, attributes, keys, each, remove_attribute, delete, get_attribute, attr, set_attribute, matches?, parse, html?, description, traverse, accept, canonicalize, add_sibling, inspect_attributes
version/info.rb: 18 missing
jruby?, windows?, ruby_minor, engine, loaded_libxml_version, compiled_libxml_version, loaded_libxslt_version, compiled_libxslt_version, libxml2?, libxml2_has_iconv?, libxml2_has_zlib?, libxml2_has_http?, libxslt_has_datetime?, libxml2_using_packaged?, libxml2_precompiled?, warnings, uses_gumbo?, jruby?
xml/node_set.rb: 18 missing
index, before, after, remove, at, filter, attr, set, attribute, remove_attribute, inner_text, inner_html, wrap, to_ary, pop, shift, children, reverse
xml/syntax_error.rb: 8 missing
domain, code, path, str1, to_s, level_to_s, nil_or_zero?, location_to_s
xml/sax/parser.rb: 6 missing
document, document=, encoding, encoding=, parse_io, parse_memory
css/tokenizer.rb: 2 missing
filename, scan
html5/document.rb: 2 missing
read_io, read_memory
xml/document_fragment.rb: 2 missing
deconstruct, namespace_declarations
xml/sax/document.rb: 2 missing
reference, warning
css.rb: 1 missing
parse
xml/attr.rb: 1 missing
inspect_attributes
xml/builder.rb: 1 missing
related_class
xml/document.rb: 1 missing
inspect_attributes
xml/namespace.rb: 1 missing
inspect_attributes
xml/xpath/syntax_error.rb: 1 missing
to_s
Unported Ruby files
class_resolver.rb(1 methods)css/parser_extras.rb(5 methods)html4/document_fragment.rb(2 methods)html4/document.rb(8 methods)html4/element_description_defaults.rb(2 methods)html4/element_description.rb(1 methods)html4/encoding_reader.rb(6 methods)html4/sax/push_parser.rb(4 methods)html5.rb(4 methods)xml.rb(3 methods)xml/cdata.rb(1 methods)xml/dtd.rb(2 methods)xml/entity_reference.rb(2 methods)xml/processing_instruction.rb(1 methods)xml/sax/parser_context.rb(5 methods)xml/text.rb(1 methods)
Deviation receipts
JSDoc receipt tags in the package's source, by the receipt each carries.
| Tag | PERMANENT | CONVERGEABLE | none |
|---|---|---|---|
@noRailsEquivalent | 17 | 1 | 0 |
@missingRailsCall | 1 | 5 | 0 |
@missingRailsArgs | 9 | 1 | 0 |
@inventedArm | 0 | 2 | 0 |
@internal | 0 | 0 | 62 |
Permanently skipped tests
None.
Ratified deviations
Each rule below is ratified in the repository's CLAUDE.md files. The first paragraph is quoted; the link opens the full section at this build's commit.
None recorded for this package.