From bfd0489b737dd6ded4d620f46bec97a3c47fa86a Mon Sep 17 00:00:00 2001 From: Mathieu Date: Wed, 16 Nov 2022 07:03:16 +0100 Subject: [PATCH] Use a more official version of xlink XSD --- .../argeo/cms/acr/CmsContentNamespace.java | 2 +- .../src/org/argeo/cms/acr/schemas/xlink.xsd | 563 +++++++++--------- 2 files changed, 271 insertions(+), 294 deletions(-) diff --git a/org.argeo.cms/src/org/argeo/cms/acr/CmsContentNamespace.java b/org.argeo.cms/src/org/argeo/cms/acr/CmsContentNamespace.java index a36a70aa0..429b759fc 100644 --- a/org.argeo.cms/src/org/argeo/cms/acr/CmsContentNamespace.java +++ b/org.argeo.cms/src/org/argeo/cms/acr/CmsContentNamespace.java @@ -24,7 +24,7 @@ public enum CmsContentNamespace implements ContentNamespace { // XML("xml", "http://www.w3.org/XML/1998/namespace", "xml.xsd", "http://www.w3.org/2001/xml.xsd"), // - XLINK("xlink", "http://www.w3.org/1999/xlink", "xlink.xsd", "http://www.w3.org/XML/2008/06/xlink.xsd"), + XLINK("xlink", "http://www.w3.org/1999/xlink", "xlink.xsd", "https://www.w3.org/1999/xlink.xsd"), // WEBDAV("D", "DAV:", null, "https://raw.githubusercontent.com/lookfirst/sardine/master/webdav.xsd"), // diff --git a/org.argeo.cms/src/org/argeo/cms/acr/schemas/xlink.xsd b/org.argeo.cms/src/org/argeo/cms/acr/schemas/xlink.xsd index e9ce6355a..7f7107b58 100644 --- a/org.argeo.cms/src/org/argeo/cms/acr/schemas/xlink.xsd +++ b/org.argeo.cms/src/org/argeo/cms/acr/schemas/xlink.xsd @@ -1,293 +1,270 @@ - - - - - This schema is not normative, or even definitive. The -prose copy in the XLink 1.1 recommendation (http://www.w3.org/TR/xlink11/) is -definitive, although it should not differ from this file, except for the -absence of these two initial comments. - - - - In keeping with the W3C's standard versioning - policy, this schema document will persist at - http://www.w3.org/XML/2008/06/xlink.xsd. - At the date of issue it can also be found at - http://www.w3.org/1999/xlink.xsd. - The schema document at that URI may however change in the future, - in order to remain compatible with the latest version of XML Schema - itself, or with the XLink namespace itself. In other words, if the XML - Schema or XLink namespaces change, the version of this document at - http://www.w3.org/1999/xlink.xsd will change - accordingly; the version at - http://www.w3.org/2008/06/xlink.xsd will not change. - - - - - This schema document provides attribute declarations and -attribute group, complex type and simple type definitions which can be used in -the construction of user schemas to define the structure of particular linking -constructs, e.g. - - - - - - - ... - - ... - - - ... -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Intended for use as the type of user-declared elements to make them - simple links. - - - - - - - - - - - - - - - - - - - - - - - - - Intended for use as the type of user-declared elements to make them - extended links. - Note that the elements referenced in the content model are all abstract. - The intention is that by simply declaring elements with these as their - substitutionGroup, all the right things will happen. - - - - - - - - - - - - - - xml:lang is not required, but provides much of the - motivation for title elements in addition to attributes, and so - is provided here for convenience. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - label is not required, but locators have no particular - XLink function if they are not labeled. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - from and to have default behavior when values are missing - - - - - - - - - - - - - - - - - + + + + + This schema document provides attribute declarations and +attribute group, complex type and simple type definitions which can be used in +the construction of user schemas to define the structure of particular linking +constructs, e.g. + + + + + + + ... + + ... + + + ... +]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Intended for use as the type of user-declared elements to make them + simple links. + + + + + + + + + + + + + + + + + + + + + + + + + Intended for use as the type of user-declared elements to make them + extended links. + Note that the elements referenced in the content model are all abstract. + The intention is that by simply declaring elements with these as their + substitutionGroup, all the right things will happen. + + + + + + + + + + + + + + xml:lang is not required, but provides much of the + motivation for title elements in addition to attributes, and so + is provided here for convenience. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + label is not required, but locators have no particular + XLink function if they are not labeled. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + from and to have default behavior when values are missing + + + + + + + + + + + + + + + + + \ No newline at end of file -- 2.30.2