Skip to content
TheChatArchiveThe Chat Archive
gpt-4.1-mini-2025-04-14· OpenAIHugging Face LMArena Human Preference 140K

I got error: settings.xml:3: Unable to validate resource file: cvc-complex-type.3.2.2:…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with o3-2025-04-16’s answer.
  1. User

    I got error: settings.xml:3: Unable to validate resource file: cvc-complex-type.3.2.2: Attribute 'helpUrl' is not allowed to appear in element 'settingConfig'.

  2. Assistant

    The error message:

    settings.xml:3: Unable to validate resource file: cvc-complex-type.3.2.2: Attribute 'helpUrl' is not allowed to appear in element 'settingConfig'.
    

    means that the helpUrl attribute is not supported in the <settingConfig> element in Garmin Connect IQ settings XML.


    How to fix it:

    Remove the helpUrl attribute from the <settingConfig> element.


    Corrected settings.xml:

    <settings>
        <setting propertyKey="@Properties.FilterAssociations" title="SOTA Associations Filter">
            <settingConfig type="alphaNumeric" required="true">
                <validator type="regex" expression="^([A-Z0-9]+(,[A-Z0-9]+)*|ALL)$">
                    Enter 'ALL' or comma-separated codes (e.g., G,GM,W6)
                </validator>
            </settingConfig>
        </setting>
    </settings>
    

    Additional notes:

    • Garmin Connect IQ settings XML schema is quite strict and limited.
    • You can only use these attributes inside <settingConfig>: type, required, defaultValue, min, max, step, maxLength, minLength.
    • helpUrl is not supported.
    • If you want to provide help, you can add a description element or put instructions in the title or summary attributes.

    Optional: Add a description for user help

    <settings>
        <setting propertyKey="@Properties.FilterAssociations" title="SOTA Associations Filter" summary="Enter 'ALL' or comma-separated codes (e.g., G,GM,W6)">
            <settingConfig type="alphaNumeric" required="true">
                <validator type="regex" expression="^([A-Z0-9]+(,[A-Z0-9]+)*|ALL)$"/>
            </settingConfig>
        </setting>
    </settings>
    

    If you want me to generate a full working example or help with anything else, just ask!

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.