Hack XLink XSD in order to support GML
authorMathieu <mbaudier@argeo.org>
Wed, 16 Nov 2022 06:04:52 +0000 (07:04 +0100)
committerMathieu <mbaudier@argeo.org>
Wed, 16 Nov 2022 06:04:52 +0000 (07:04 +0100)
org.argeo.cms/src/org/argeo/cms/acr/schemas/xlink.xsd

index 7f7107b58005ab0364805b9a7aee96fae6468689..199a469bd69aa54a29f6cdf959caa2d45a155575 100644 (file)
@@ -267,4 +267,14 @@ constructs, e.g.
   <xs:attributeGroup ref="xlink:arcAttrs"/>
  </xs:complexType>
 
+ <!-- Hack required for GML support -->
+ <xs:attributeGroup name="simpleLink">
+  <xs:attribute name="type" type="xs:string" use="optional" fixed="simple" form="qualified"/>
+  <xs:attribute ref="xlink:href" use="optional"/>
+  <xs:attribute ref="xlink:role" use="optional"/>
+  <xs:attribute ref="xlink:arcrole" use="optional"/>
+  <xs:attribute ref="xlink:title" use="optional"/>
+  <xs:attribute ref="xlink:show" use="optional"/>
+  <xs:attribute ref="xlink:actuate" use="optional"/>
+ </xs:attributeGroup>
 </xs:schema>
\ No newline at end of file