Ticket #24014: 24014.multilinenormalize.patch

File 24014.multilinenormalize.patch, 1.3 KB (added by taylor.smock, 18 months ago)

XSD changes for multiline and normalize attributes

  • resources/data/tagging-preset.xsd

    Subject: [PATCH] See #24014: Add multiline and normalize attributes to preset xsd
    ---
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    diff --git a/resources/data/tagging-preset.xsd b/resources/data/tagging-preset.xsd
    a b  
    648648                </documentation>
    649649            </annotation>
    650650        </attribute>
     651        <attribute name="multiline" type="boolean">
     652            <annotation>
     653                <documentation>
     654                    The text is expected to be multiline, and newlines must not be normalized (default is false)
     655                </documentation>
     656            </annotation>
     657        </attribute>
     658        <attribute name="normalize" type="boolean">
     659            <annotation>
     660                <documentation>
     661                    This performs normalization of the value by stripping extraneous spaces and consolidating whitespace (default is true for JOSM)
     662                </documentation>
     663            </annotation>
     664        </attribute>
    651665    </attributeGroup>
    652666
    653667    <attributeGroup name="attributes.values">