<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->
<entity-engine-xml>
    
    <!-- SCIPIO: Demo Catalog (SEO) Alternative Url [Generated]
        The ALTERNATIVE_URL ProductCategoryContent and ProductContent records for Shop
        will now be generated using the new SEO generateWebsiteAlternativeUrls/generateAllAlternativeUrls services
        from their respective product and category names, based on the SEO configuration
        (/applications/product/config/SeoConfig.xml). 
        These SEO services exploit the generic ALTERNATIVE_URL construct and produce URL parts very similar to the old
        manually-written ones, but automatically.
        
        This will completely replace the legacy manually-written names from DemoCatalogAltUrlLegacyData.xml,
        which should no longer be included in ofbiz_component.xml.
        
        SPECIFICS: The generation is configured in seo-urls.properties and the file regenerated
            using the exportWebsiteAlternativeUrlsEntityXmlFileFromConfig service.
        
        NOTE: Any conflicting names as a result of the generation should be fixed by modifying the source data 
            (product/category names and SeoConfig.xml settings) rather than creating any manual fixup records. 
        NOTE: The "generated-data" comment on the next line must not be modified! It is used as a template marker. -->
   
    <!--DATA-BEGIN-->
    
</entity-engine-xml><commit_msg>NoRef shop: demo data: alt url gen info<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->
<entity-engine-xml>
    
    <!-- SCIPIO: Demo Catalog (SEO) Alternative Url [Generated]
        The ALTERNATIVE_URL ProductCategoryContent and ProductContent records for Shop
        will now be generated using the new SEO generateWebsiteAlternativeUrls/generateAllAlternativeUrls services
        from their respective product and category names, based on the SEO configuration
        (/applications/product/config/SeoConfig.xml). 
        These SEO services exploit the generic ALTERNATIVE_URL construct and produce URL parts very similar to the old
        manually-written ones, but automatically.
        
        This will completely replace the legacy manually-written names from DemoCatalogAltUrlLegacyData.xml,
        which should no longer be included in ofbiz_component.xml.
        
        DEV NOTES:
        * The export is configured in seo-urls.properties and the file regenerated
          using the exportWebsiteAlternativeUrlsEntityXmlFileFromConfig service.
        * Initial data create (should no longer be needed after this file is populated once): 
          When no ALTERNATIVE_URLs in system, initial data can be generated using 
          generateAllAlternativeUrls, with these parameters:
          * genFixedIds = true
          * catFixedIdPat = ${groovy:idTrim.startsWith("CATALOG1_")?"CAT1_"+idTrim.substring(9):idTrim}-ALT${localeStrUp}
          * (rest: defaults)
        
        NOTE: Any conflicting names as a result of the generation should be fixed by modifying the source data 
            (product/category names and SeoConfig.xml settings) rather than creating any manual fixup records. 
        NOTE: The "generated-data" comment on the next line must not be modified! It is used as a template marker. -->
   
    <!--DATA-BEGIN-->
    
</entity-engine-xml>
{'fraction_non_alphanumeric': 0.05444832545716047, 'fraction_numerical': 0.003492911444421615, 'mean_word_length': 3.449725776965265, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 2, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 14}, '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': '4035579', 'n_tokens_mistral': 1201, 'n_tokens_neox': 1152, 'n_words': 560}