Skip to content

Commit 041944e

Browse files
authored
Merge pull request #13443 from h-a-graham/vrt-schema-add-name-attributes
VRT: Add "name" attribute to source types in xml schema
2 parents 77edbf1 + 8cce882 commit 041944e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

frmts/vrt/data/gdalvrt.xsd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@
515515
<xs:complexType name="SimpleSourceType">
516516
<xs:group ref="SimpleSourceElementsGroup"/>
517517
<xs:attribute name="resampling" type="xs:string"/>
518+
<xs:attribute name="name" type="xs:string"/>
518519
</xs:complexType>
519520

520521
<xs:group name="ComplexSourceElementsGroup">
@@ -540,6 +541,7 @@
540541
<xs:complexType name="ComplexSourceType">
541542
<xs:group ref="ComplexSourceElementsGroup"/>
542543
<xs:attribute name="resampling" type="xs:string"/>
544+
<xs:attribute name="name" type="xs:string"/>
543545
</xs:complexType>
544546

545547
<xs:group name="NoDataFromMaskSourceElementsGroup">
@@ -566,6 +568,7 @@
566568
</xs:choice>
567569
</xs:sequence>
568570
<xs:attribute name="resampling" type="xs:string"/>
571+
<xs:attribute name="name" type="xs:string" />
569572
</xs:complexType>
570573

571574
<xs:complexType name="KernelType">
@@ -594,6 +597,7 @@
594597
<xs:element name="SrcRect" type="RectType" minOccurs="0"/>
595598
<xs:element name="DstRect" type="RectType" minOccurs="0"/>
596599
</xs:sequence>
600+
<xs:attribute name="name" type="xs:string"/>
597601
</xs:complexType>
598602

599603
<xs:element name="AbstractArray" type="AbstractArrayType" abstract="true"/>

0 commit comments

Comments
 (0)