<commit_before><book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
    <info>
        <title>DDI Moving Forward: Object Description</title>
        <author>
            <orgname>the Data Documentation Initiative</orgname>
        </author>
    </info>

    <?php foreach($objects as $package=>$ddiobjects): ?>
    <part xml:id="ddi4-<?php print str_replace(' ', '',$package);?>">
            <title><?php print $package;?></title>
            <?php foreach($ddiobjects as $object):?>
            <chapter xml:id="ddi4-<?php print $object['uuid']; ?>">
                <title><?php print $object['name']; ?></title>
                <?php if($object['extends']):?>
                <section  revision="" role="extends">
                    <title>Extends</title>
                    <para>This object extends <link linkend="ddi4-<?php print $object['extends_uuid']; ?>"><?php print $object['extends']; ?></link></para>
                </section><commit_msg>fix for extends xs:stuff linking<commit_after><book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
    <info>
        <title>DDI Moving Forward: Object Description</title>
        <author>
            <orgname>the Data Documentation Initiative</orgname>
        </author>
    </info>

    <?php foreach($objects as $package=>$ddiobjects): ?>
    <part xml:id="ddi4-<?php print str_replace(' ', '',$package);?>">
            <title><?php print $package;?></title>
            <?php foreach($ddiobjects as $object):?>
            <chapter xml:id="ddi4-<?php print $object['uuid']; ?>">
                <title><?php print $object['name']; ?></title>
                <?php if($object['extends']):?>
                <section  revision="" role="extends">
                    <title>Extends</title>
                    <?php if(substr($object['extends'], 0, 3 ) === "xs:"):?>
                    <para>This object extends <?php print $object['extends']; ?></para>
                    <?php else: ?>
                    <para>This object extends <link linkend="ddi4-<?php print $object['extends_uuid']; ?>"><?php print $object['extends']; ?></link></para>
                    <?php endif;?>
                </section>
{'fraction_non_alphanumeric': 0.19540229885057472, 'fraction_numerical': 0.009725906277630416, 'mean_word_length': 2.4030075187969926, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 8}, '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': '1080681', 'n_tokens_mistral': 683, 'n_tokens_neox': 653, 'n_words': 137}