<commit_before>use v6;
use Test;
use Semi-xml;

#-------------------------------------------------------------------------------
# Testing SxmlLib::Docbook5::Basic;
# Check of basic docbook methods using Db5 as modulename ...
# 'module/Db5: SxmlLib::Docbook5::Basic;'
#
#     $.Db5.book                Modify book tag to get needed attributes
#     $.Db5.article             Same as book for article tag.
#
#     $!Db5.info                Info tag.
#-------------------------------------------------------------------------------
# Setup
#
my $sxml-text = q:to/EOSX/;
---
options/xml-prelude/show:       1;
options/doctype/show:           1;

module/Db5:                   SxmlLib::Docbook5::Basic;
---
$.Db5.article [
  $title [ Using Docbook 5 ]
  $!Db5.info firstname=Marcel surname=Timmerman email=<EMAIL>
             city=Haarlem country=Netherlands<commit_msg>bugfix of changed options in sxml prelude<commit_after>use v6;
use Test;
use Semi-xml;

#-------------------------------------------------------------------------------
# Testing SxmlLib::Docbook5::Basic;
# Check of basic docbook methods using Db5 as modulename ...
# 'module/Db5: SxmlLib::Docbook5::Basic;'
#
#     $.Db5.book                Modify book tag to get needed attributes
#     $.Db5.article             Same as book for article tag.
#
#     $!Db5.info                Info tag.
#-------------------------------------------------------------------------------
# Setup
#
my $sxml-text = q:to/EOSX/;
---
option/xml-prelude/show:       1;
option/doctype/show:           1;

module/Db5:                   SxmlLib::Docbook5::Basic;
---
$.Db5.article [
  $title [ Using Docbook 5 ]
  $!Db5.info firstname=Marcel surname=Timmerman email=<EMAIL>
             city=Haarlem country=Netherlands
{'fraction_non_alphanumeric': 0.2852272727272727, 'fraction_numerical': 0.017045454545454544, 'mean_word_length': 1.3511348464619493, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 13}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6381959', 'n_tokens_mistral': 527, 'n_tokens_neox': 506, 'n_words': 121}