Skip to content

Commit

Permalink
Attempt to fix XSD validation w/ libxml2 2.12.0
Browse files Browse the repository at this point in the history
Validation for `CFA2` variant of CFA encoding is rather partial anyways,
but it isn't even legal to try to match the same element as different XSD types...
  • Loading branch information
LebedevRI committed Nov 18, 2023
1 parent 94a6783 commit f57725c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions data/cameras.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,7 @@
</xs:simpleType>
<xs:complexType name="CFA2Type">
<xs:sequence>
<xs:choice>
<xs:element type="ColorRowType" name="ColorRow" minOccurs="2" maxOccurs="2"/>
<xs:element type="ColorRowType" name="ColorRow" minOccurs="6" maxOccurs="6"/>
</xs:choice>
<xs:element type="ColorRowType" name="ColorRow" minOccurs="2" maxOccurs="6"/>
</xs:sequence>
<xs:attribute type="CFA2TypeWidthType" name="width" use="required"/>
<xs:attribute type="CFA2TypeHeightType" name="height" use="required"/>
Expand Down

0 comments on commit f57725c

Please sign in to comment.