diff --git a/lib/metanorma/ribose/isodoc.rng b/lib/metanorma/ribose/isodoc.rng index 33b05d9..1b9c0a6 100644 --- a/lib/metanorma/ribose/isodoc.rng +++ b/lib/metanorma/ribose/isodoc.rng @@ -571,6 +571,11 @@ + + + + + @@ -1238,6 +1243,11 @@ + + + + + @@ -2653,7 +2663,7 @@ full short id - modspec + diff --git a/lib/metanorma/ribose/version.rb b/lib/metanorma/ribose/version.rb index 7df3051..c8f1611 100644 --- a/lib/metanorma/ribose/version.rb +++ b/lib/metanorma/ribose/version.rb @@ -1,5 +1,5 @@ module Metanorma module Ribose - VERSION = "2.2.0".freeze + VERSION = "2.2.1".freeze end end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 1b63017..40fd88c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -69,6 +69,8 @@ def xmlpp(xml) XSL Nokogiri::XSLT(xsl).transform(Nokogiri::XML(xml, &:noblanks)) .to_xml(indent: 2, encoding: "UTF-8") + .gsub(%r{[^<]+}, "") + .gsub(%r{ schema-version="[^"]+"}, "") end ASCIIDOC_BLANK_HDR = <<~"HDR".freeze