Skip to content

Commit 919e7db

Browse files
committed
Fix: Allow empty text content in height element
Changed base type from xs:decimal to xs:string to support: - <height value='50.0'/> (attribute only, empty content) - <height value='50.0'>50.0</height> (both attribute and content) ATAK uses attribute-only format which was failing validation.
1 parent ed0edaf commit 919e7db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validator/schemas/details/height.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3-
<xs:complexType name="detail_height" mixed="true">
3+
<xs:complexType name="detail_height">
44
<xs:simpleContent>
5-
<xs:extension base="xs:decimal">
5+
<xs:extension base="xs:string">
66
<xs:attribute name="value" type="xs:decimal"/>
77
</xs:extension>
88
</xs:simpleContent>

0 commit comments

Comments
 (0)