<commit_before><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<script type="text/javascript" src="<c:url value="/js/jquery-1.10.2.min.js"/>"></script>

<script type="text/javascript">
    $(function() {
        $("#addXmlSchema").click(function () {
            var allSchemas = $("#xmlSchemas input");
            var lastElement = allSchemas.last();
            var schemasSize = allSchemas.length;
            var newInput = lastElement.clone();

            lastElement.after(newInput);
            newInput.attr("name", newInput.attr("name").replace(schemasSize - 1, schemasSize))
                    .removeAttr("id");
        });
    });
</script><commit_msg>clear cloned input value. Refs #17083<commit_after><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<script type="text/javascript" src="<c:url value="/js/jquery-1.10.2.min.js"/>"></script>

<script type="text/javascript">
    $(function() {
        $("#addXmlSchema").click(function () {
            var allSchemas = $("#xmlSchemas input");
            var lastElement = allSchemas.last();
            var schemasSize = allSchemas.length;
            var newInput = lastElement.clone();

            newInput.val("")
                    .removeAttr("id")
                    .attr("name", newInput.attr("name").replace(schemasSize - 1, schemasSize));
            lastElement.after(newInput);
        });
    });
</script>
{'fraction_non_alphanumeric': 0.1820098383696416, 'fraction_numerical': 0.010541110330288124, 'mean_word_length': 2.4816625916870416, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3746348', 'n_tokens_mistral': 436, 'n_tokens_neox': 419, 'n_words': 69}