From 68bb183d43025ba63d4d3a26f4c23985bcd113a3 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Mon, 20 Sep 2021 16:43:17 +0200 Subject: [PATCH] ajout config --- config/GNUmakefile.env | 67 ++ config/GNUmakefile.mdm | 62 ++ config/XMLSchema11_local.xsd | 1950 ++++++++++++++++++++++++++++++++++ config/test_driver_subst.py | 18 + config/xml.xsd | 286 +++++ 5 files changed, 2383 insertions(+) create mode 100644 config/GNUmakefile.env create mode 100644 config/GNUmakefile.mdm create mode 100644 config/XMLSchema11_local.xsd create mode 100755 config/test_driver_subst.py create mode 100644 config/xml.xsd diff --git a/config/GNUmakefile.env b/config/GNUmakefile.env new file mode 100644 index 00000000..5a3f8eff --- /dev/null +++ b/config/GNUmakefile.env @@ -0,0 +1,67 @@ +############# ENVIRONEMENT DE CONSTRUCTION VIMMP Traning ################ + +ifndef SHELL +SHELL=bash +endif + +ifndef confdir +$(error "La variable confdir doit être définie pour utiliser GNUmakefile.env" +endif +ifndef tooldir +$(error "La variable confdir doit être définie pour utiliser GNUmakefile.env" +endif + +# " pour emacs beautifying +define _SCRIPT_ENV +cat < $1 +$(QTDEF) +export PYTHONPATH=${PYTHONPATH}:\$${PYTHONPATH} +export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:\$${LD_LIBRARY_PATH} +export PATH=${PYXB_ROOT_DIR}/bin:${PATH}:\$${PATH} +\$$* +EOF +endef +export SCRIPT_ENV = $(call _SCRIPT_ENV,environ.sh) + +## Création d'un fichier avec l'environement minimal utilisé au moment de la construction pour lancer ./qtEficas +# Ce fichier peut être utilisé pour lancer un binaire ds le même environement +# sans charger l'ensemble des pre-requis SALOME +define _SCRIPT_EXEC +cat < $1 +$(QTDEF) +export PYTHONPATH=${PYTHONPATH} +export LD_LIBRARY_PATH=${LD_LIBRARY_PATH} +export PATH=${PYXB_ROOT_DIR}/bin:${PATH} +\$$* +EOF +endef +#export SCRIPT_EXEC = $(value _SCRIPT_EXEC) +#On veut l'évaluation des variables ds le shell pour avoir le contenu identique à la construction. +export SCRIPT_EXEC = $(call _SCRIPT_EXEC,exec.sh) + +define _SCRIPT_EFI +cat < $1 +DIR="\$$( cd "\$$( dirname "\$$0" )" && pwd )" + +\$${DIR}/exec.sh $(realpath $(tooldir))/qtEficasGui.py \$$* + +#./exec.sh $(realpath $(tooldir))/qtEficasGui.py \$$* +EOF +endef +export SCRIPT_EFI = $(call _SCRIPT_EFI,qtEficas.sh) + +exec.sh: $(confdir)/GNUmakefile.env $(confdir)/GNUmakefile.mdm + @eval "$$SCRIPT_EXEC" && chmod +x $@ + @echo "You may use source exec.sh to launch a command using the minimal prerequisites without modifying your environement, thanks." +# @echo "-----------------> $(QTDEF)" | cat -A - + +environ.sh: $(confdir)/GNUmakefile.env $(confdir)/GNUmakefile.mdm + @eval "$$SCRIPT_ENV" && chmod +x $@ + @echo "You may use source environ.sh to get the minimal prerequisites in your environement, thanks." + +qtEficas.sh: $(confdir)/GNUmakefile.env $(confdir)/GNUmakefile.mdm $(confdir)/../UiQT5/eficas_en.qm $(confdir)/../UiQT5/eficas_fr.qm + @eval "$$SCRIPT_EFI" && chmod +x $@ + @echo "You may use qtEficas.sh -c /abs/path/to/your/catalog to launch Eficas GUI from your current directory, thanks." + +$(confdir)/../UiQT5/eficas_en.qm $(confdir)/../UiQT5/eficas_fr.qm: + make -C $(confdir)/../UiQT5 diff --git a/config/GNUmakefile.mdm b/config/GNUmakefile.mdm new file mode 100644 index 00000000..0bca9134 --- /dev/null +++ b/config/GNUmakefile.mdm @@ -0,0 +1,62 @@ +############# ENVIRONEMENT DE CONSTRUCTION VIMMP Traning ################ + +ifndef SHELL +SHELL=bash +endif + +#ifeq ($(origin PRODUCTS_DIR), undefined) +# PRODUCTS_DIR=${HOME}/products +#endif +PRODUCTS_DIR ?=${HOME}/products +SALOME_ROOT_DIR ?=${HOME}/salome/Salome-V9_3_0-x86_64 +PREREQUISITES_ROOT_DIR ?=$(shell . ${SALOME_ROOT_DIR}/salome_prerequisites_root.sh; echo $${PREREQUISITES_ROOT_DIR}) +TOOLS_ROOT_DIR ?=$(shell . ${SALOME_ROOT_DIR}/salome_prerequisites_root.sh; echo $${TOOLS_ROOT_DIR}) +# PREREQUISITES_ROOT_DIR ?=${SALOME_ROOT_DIR}/prerequisites + +## PYTHON ET LE MODULE Six DE L'ENV SALOME: +# Le mécanisme suivant définit des export Gmake/env qui sont utilisés par les sous-shells de toutes les règles de construction du makefile. +# Le mécanisme joue sur le fait que export existe aussi bien en shell qu'en GMakefile +# On ne prend que les variables d'environement qui concernent python ds l'environement Salome.. +# En bash : saved_IFS=${IFS};IFS=',';for i in `grep 'PYTHONHOME' ${SALOME_ROOT_DIR}/salome_prerequisites.sh | tr -s '\n' ','`; do eval $i; done;IFS=${saved_IFS}; +# En GMake, la ligne suivante ne fonctionne pas car le résultat du shell est multi-lignes (malgré les ;) : $(eval $(shell grep 'PYTHONHOME' ${SALOME_ROOT_DIR}/salome_prerequisites.sh | tr -s '\n' ';')) +# En GMake, la ligne suivante ne fonctionne pas pour les variables de salome qui s'auto-référence : export PATH=${PYTHON_HOME}/bin:${PATH} +# $(foreach exp, $(shell grep 'PYTHONHOME' ${SALOME_ROOT_DIR}/salome_prerequisites.sh), $(eval $(exp)) ) +# Le script salome_prerequisites utilise parfois $PATH sans {} et utilise aussi des " +# Le script salome_prerequisites utilise parfois $LD_LIBRARY_PATH sans {} +# Il faut donc substituer les = en := (simple expansion GMake), supprimer les " et ajouter les {} si necessaire +# Rem : Les retours charriots sont des blancs pour un GMakefile. +# $(foreach exp, $(subst ",,$(subst =,:=,$(shell grep -e 'PYTHONHOME' -e 'Six' ${SALOME_ROOT_DIR}/salome_prerequisites.sh))), $(info $(exp)) ) +$(foreach exp, $(subst ",,$(subst =,:=,$(subst $$PATH,$${PATH}, $(subst $$LD_LIBRARY_PATH,$${LD_LIBRARY_PATH}, $(shell grep -e 'PYTHONHOME' -e 'Six' ${SALOME_ROOT_DIR}/salome_prerequisites.sh))))), $(eval $(exp)) ) + + +## QT ET PYQT DE L'ENV SALOME (la libpng neccessaire à QT vient du prerequis debianforsalome): +# En bash : saved_IFS=${IFS};IFS=',';for i in `grep 'QT' ${SALOME_ROOT_DIR}/salome_prerequisites.sh | tr -s '\n' ','`; do eval $i; done;IFS=${saved_IFS}; +#$(foreach exp, $(subst ",,$(subst =,:=, $(subst $$PATH,$${PATH}, $(shell grep -e 'QT' ${SALOME_ROOT_DIR}/salome_prerequisites.sh)))), $(info $(exp)) ) +$(foreach exp, $(subst ",,$(subst =,:=, $(subst $$PATH,$${PATH}, $(subst $$LD_LIBRARY_PATH,$${LD_LIBRARY_PATH}, $(shell grep -e 'GCC' -e 'MPFR' -e 'DEBIAN' -e 'SIP_ROOT' -e 'QT' ${SALOME_ROOT_DIR}/salome_prerequisites.sh))))), $(eval $(exp)) ) + +# Les modules MEDCOUPLING et MED sont considérés comme devant être disponibles de façon générale pour VIMMP +$(foreach exp, $(subst ",,$(subst =,:=,$(subst $$PATH,$${PATH}, $(subst $$LD_LIBRARY_PATH,$${LD_LIBRARY_PATH}, $(shell grep -e 'MEDCOUPLING' -e 'NUMPY' -e 'MED3' -e 'HDF5' ${SALOME_ROOT_DIR}/salome_prerequisites.sh))))), $(eval $(exp)) ) + +## BUG de construction de python dans la version Salome-V9_3_0-univ_withOT.run, python dépend de tk ! +## Un commentaire final gène pour le parsing +#$(foreach exp, $(subst ",,$(subst =,:=, $(subst $$PATH,$${PATH}, $(subst $$LD_LIBRARY_PATH,$${LD_LIBRARY_PATH}, $(shell sed 's,#.*,,g' ${SALOME_ROOT_DIR}/salome_prerequisites.sh | grep -e 'TKDIR' ))))), $(info $(exp)) ) +$(foreach exp, $(subst ",,$(subst =,:=, $(subst $$PATH,$${PATH}, $(subst $$LD_LIBRARY_PATH,$${LD_LIBRARY_PATH}, $(shell sed 's,#.*,,g' ${SALOME_ROOT_DIR}/salome_prerequisites.sh | grep -e 'TKDIR' ))))), $(eval $(exp)) ) + + +## " PYXB +PYXB_ROOT_DIR ?=${PRODUCTS_DIR}/pyxb/install +PYXB ?=${PYXB_ROOT_DIR}/bin/pyxbgen +PYXB_PYTHONPATH ?=${PYXB_ROOT_DIR}/lib/python3.6/site-packages +export PYTHONPATH:=${PYXB_PYTHONPATH}:${PYTHONPATH} + + +# La variable QT_PLUGIN_PATH est necessaire : l'ensemble des variables QT sont incluses pour l'instant +# comma:= , +# empty:= +# space:= $(empty) $(empty) +QTDEF= +define ADD_2_QTDEF = +$(if $(findstring export,$(1)),,QTDEF+=export$(1);) +endef +$(foreach exp, $(subst ",,$(subst $$PATH,$${PATH},$(shell grep -e 'QT_PLUGIN_PATH' ${SALOME_ROOT_DIR}/salome_prerequisites.sh))), $(eval $(call ADD_2_QTDEF, $(exp))) ) + diff --git a/config/XMLSchema11_local.xsd b/config/XMLSchema11_local.xsd new file mode 100644 index 00000000..baa31a09 --- /dev/null +++ b/config/XMLSchema11_local.xsd @@ -0,0 +1,1950 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]> + + + + + Part 1 version: structures.xsd (rec-20120405) + Part 2 version: datatypes.xsd (rec-20120405) + + + + + + The schema corresponding to this document is normative, + with respect to the syntactic constraints it expresses in the + XML Schema Definition Language. The documentation (within 'documentation' elements) + below, is not normative, but rather highlights important aspects of + the W3C Recommendation of which this is a part. + + See below (at the bottom of this document) for information about + the revision and namespace-versioning policy governing this + schema document. + + + + + + The simpleType element and all of its members are defined + towards the end of this schema document. + + + + + Get access to the xml: attribute groups for xml:lang + as declared on 'schema' and 'documentation' below + + + + + + + This type is extended by almost all schema types + to allow attributes from other namespaces to be + added to user schemas. + + + + + + + + + + + + This type is extended by all types which allow annotation + other than <schema> itself + + + + + + + + + + + + + + + + + + + + + + + + This group is for the + elements which occur freely at the top level of schemas. + All of their types are based on the "annotated" type by extension. + + + + + + + + + + + + This group is for the + elements which can self-redefine (see <redefine> below). + + + + + + + + + + + + A utility type, not for public use + + + + + + + + + + A utility type, not for public use + + + + + + + + + + A utility type, not for public use + + #all or (possibly empty) subset of {extension, restriction} + + + + + + + + + + + + + + + + A utility type, not for public use + + + + + + + + + + + + A utility type, not for public use + + #all or (possibly empty) subset of {extension, restriction, list, union} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + for maxOccurs + + + + + + + + + + + + + for all particles + + + + + + + + for element, group and attributeGroup, + which both define and reference + + + + + + + + 'complexType' uses this + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This branch is short for + <complexContent> + <restriction base="xs:anyType"> + ... + </restriction> + </complexContent> + + + + + + + + + + + + + + + + Will be restricted to required or prohibited + + + + + + Not allowed if simpleContent child is chosen. + May be overridden by setting on complexContent child. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This choice is added simply to + make this a valid restriction per the REC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Overrides any setting on complexType parent. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This choice is added simply to + make this a valid restriction per the REC + + + + + + + + + + + + + + + + + No typeDefParticle group reference + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A utility type, not for public use + + #all or (possibly empty) subset of {substitution, extension, + restriction} + + + + + + + + + + + + + + + + + + + + + + + + The element element can be used either + at the top level to define an element-type binding globally, + or within a content model to either reference a globally-defined + element or type or declare an element-type binding locally. + The ref form is not allowed at the top level. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This type is used for 'alternative' elements. + + + + + + + + + + + + + + + + + + group type for explicit groups, named top-level groups and + group references + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + group type for the three kinds of group + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This choice with min/max is here to + avoid a pblm with the Elt:All/Choice/Seq + Particle derivation constraint + + + + + + + + + + + + + + + + + + + + + + + Only elements allowed inside + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + simple type for the value of the 'namespace' attr of + 'any' and 'anyAttribute' + + + + Value is + ##any - - any non-conflicting WFXML/attribute at all + + ##other - - any non-conflicting WFXML/attribute from + namespace other than targetNS + + ##local - - any unqualified non-conflicting WFXML/attribute + + one or - - any non-conflicting WFXML/attribute from + more URI the listed namespaces + references + (space separated) + + ##targetNamespace or ##local may appear in the above list, to + refer to the targetNamespace of the enclosing + schema or an absent targetNamespace respectively + + + + + A utility type, not for public use + + + + + + + + A utility type, not for public use + + + + + + + + + + + + + + + + + + A utility type, not for public use + + + + + + + + + + A utility type, not for public use + + + + + + + + + + + + + + + + + + + A utility type, not for public use + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A subset of XPath expressions for use +in selectors + A utility type, not for public +use + + + + + + + + + + + + + + + + + + + + + A subset of XPath expressions for use +in fields + A utility type, not for public +use + + + + + + + + + + + + + + + + + + + + + + + + + The three kinds of identity constraints, all with + type of or derived from 'keybase'. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A utility type, not for public use + + A public identifier, per ISO 8879 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + notations for use within schema documents + + + + + + + Not the real urType, but as close an approximation as we can + get in the XML representation + + + + + + + + + + In keeping with the XML Schema WG's standard versioning policy, + the material in this schema document will persist at the URI + http://www.w3.org/2012/04/XMLSchema.xsd. + + At the date of issue it can also be found at the URI + http://www.w3.org/2009/XMLSchema/XMLSchema.xsd. + + The schema document at that URI may however change in the future, + in order to remain compatible with the latest version of XSD + and its namespace. In other words, if XSD or the XML Schema + namespace change, the version of this document at + http://www.w3.org/2009/XMLSchema/XMLSchema.xsd will change accordingly; + the version at http://www.w3.org/2012/04/XMLSchema.xsd will not change. + + Previous dated (and unchanging) versions of this schema document + include: + + http://www.w3.org/2012/01/XMLSchema.xsd + (XSD 1.1 Proposed Recommendation) + + http://www.w3.org/2011/07/XMLSchema.xsd + (XSD 1.1 Candidate Recommendation) + + http://www.w3.org/2009/04/XMLSchema.xsd + (XSD 1.1 Candidate Recommendation) + + http://www.w3.org/2004/10/XMLSchema.xsd + (XSD 1.0 Recommendation, Second Edition) + + http://www.w3.org/2001/05/XMLSchema.xsd + (XSD 1.0 Recommendation, First Edition) + + + + + + + + + + + + A utility type, not for public use + + + + + + + + + + + + + + + + + + + + #all or (possibly empty) subset of {restriction, extension, union, list} + + + A utility type, not for public use + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Can be restricted to required or forbidden + + + + + + + + + + + + + + + + + Required at the top level + + + + + + + + + + + + + + + + + + Forbidden when nested + + + + + + + + + + + + + + + + + An abstract element, representing facets in general. + The facets defined by this spec are substitutable for + this element, and implementation-defined facets should + also name this as a substitution-group head. + + + + + + + + + + + + + + + + + base attribute and simpleType child are mutually + exclusive, but one or other is required + + + + + + + + + + + + + + + itemType attribute and simpleType child are mutually + exclusive, but one or other is required + + + + + + + + + + + + + + + + + memberTypes attribute must be non-empty or there must be + at least one simpleType child + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + In keeping with the XML Schema WG's standard versioning policy, + this schema document will persist at the URI + http://www.w3.org/2012/04/datatypes.xsd. + + At the date of issue it can also be found at the URI + http://www.w3.org/2009/XMLSchema/datatypes.xsd. + + The schema document at that URI may however change in the future, + in order to remain compatible with the latest version of XSD + and its namespace. In other words, if XSD or the XML Schema + namespace change, the version of this document at + http://www.w3.org/2009/XMLSchema/datatypes.xsd will change accordingly; + the version at http://www.w3.org/2012/04/datatypes.xsd will not change. + + Previous dated (and unchanging) versions of this schema document + include: + + http://www.w3.org/2012/01/datatypes.xsd + (XSD 1.1 Proposed Recommendation) + + http://www.w3.org/2011/07/datatypes.xsd + (XSD 1.1 Candidate Recommendation) + + http://www.w3.org/2009/04/datatypes.xsd + (XSD 1.1 Candidate Recommendation) + + http://www.w3.org/2004/10/datatypes.xsd + (XSD 1.0 Recommendation, Second Edition) + + http://www.w3.org/2001/05/datatypes.xsd + (XSD 1.0 Recommendation, First Edition) + + + + + + + diff --git a/config/test_driver_subst.py b/config/test_driver_subst.py new file mode 100755 index 00000000..e494f2af --- /dev/null +++ b/config/test_driver_subst.py @@ -0,0 +1,18 @@ +#! /usr/bin/env python +# -*- coding:utf-8 -*- +import sys + +#print(sys.argv[:]) + +import @module@ as mdm +import pyxb + +#THESE CONFIGURATION LINES ARE FOR ADVANCED INTERNAL TEST ONLY, YOU DON'T NEED TO CONFIGURE PYXB LIKE THIS +#mdm.pyxb.GlobalValidationConfig._setContentInfluencesGeneration(mdm.pyxb.GlobalValidationConfig.NEVER) +mdm.pyxb.GlobalValidationConfig._setContentInfluencesGeneration(mdm.pyxb.GlobalValidationConfig.ALWAYS) +mdm.pyxb.GlobalValidationConfig._setInvalidElementInContent(mdm.pyxb.GlobalValidationConfig.RAISE_EXCEPTION) +mdm.pyxb.GlobalValidationConfig._setOrphanElementInContent(mdm.pyxb.GlobalValidationConfig.RAISE_EXCEPTION) + +o1 = mdm.CreateFromDocument(open('@file@').read()) +print(o1.toDOM().toprettyxml()) + diff --git a/config/xml.xsd b/config/xml.xsd new file mode 100644 index 00000000..bd291f3d --- /dev/null +++ b/config/xml.xsd @@ -0,0 +1,286 @@ + + + + + + +
+

About the XML namespace

+ +
+

+ This schema document describes the XML namespace, in a form + suitable for import by other schema documents. +

+

+ See + http://www.w3.org/XML/1998/namespace.html and + + http://www.w3.org/TR/REC-xml for information + about this namespace. +

+

+ Note that local names in this namespace are intended to be + defined only by the World Wide Web Consortium or its subgroups. + The names currently defined in this namespace are listed below. + They should not be used with conflicting semantics by any Working + Group, specification, or document instance. +

+

+ See further below in this document for more information about how to refer to this schema document from your own + XSD schema documents and about the + namespace-versioning policy governing this schema document. +

+
+
+
+
+ + + + +
+ +

lang (as an attribute name)

+

+ denotes an attribute whose value + is a language code for the natural language of the content of + any element; its value is inherited. This name is reserved + by virtue of its definition in the XML specification.

+ +
+
+

Notes

+

+ Attempting to install the relevant ISO 2- and 3-letter + codes as the enumerated possible values is probably never + going to be a realistic possibility. +

+

+ See BCP 47 at + http://www.rfc-editor.org/rfc/bcp/bcp47.txt + and the IANA language subtag registry at + + http://www.iana.org/assignments/language-subtag-registry + for further information. +

+

+ The union allows for the 'un-declaration' of xml:lang with + the empty string. +

+
+
+
+ + + + + + + + + +
+ + + + +
+ +

space (as an attribute name)

+

+ denotes an attribute whose + value is a keyword indicating what whitespace processing + discipline is intended for the content of the element; its + value is inherited. This name is reserved by virtue of its + definition in the XML specification.

+ +
+
+
+ + + + + + +
+ + + +
+ +

base (as an attribute name)

+

+ denotes an attribute whose value + provides a URI to be used as the base for interpreting any + relative URIs in the scope of the element on which it + appears; its value is inherited. This name is reserved + by virtue of its definition in the XML Base specification.

+ +

+ See http://www.w3.org/TR/xmlbase/ + for information about this attribute. +

+
+
+
+
+ + + + +
+ +

id (as an attribute name)

+

+ denotes an attribute whose value + should be interpreted as if declared to be of type ID. + This name is reserved by virtue of its definition in the + xml:id specification.

+ +

+ See http://www.w3.org/TR/xml-id/ + for information about this attribute. +

+
+
+
+
+ + + + + + + + + + +
+ +

Father (in any context at all)

+ +
+

+ denotes Jon Bosak, the chair of + the original XML Working Group. This name is reserved by + the following decision of the W3C XML Plenary and + XML Coordination groups: +

+
+

+ In appreciation for his vision, leadership and + dedication the W3C XML Plenary on this 10th day of + February, 2000, reserves for Jon Bosak in perpetuity + the XML name "xml:Father". +

+
+
+
+
+
+ + + +
+

About this schema document

+ +
+

+ This schema defines attributes and an attribute group suitable + for use by schemas wishing to allow xml:base, + xml:lang, xml:space or + xml:id attributes on elements they define. +

+

+ To enable this, such a schema must import this schema for + the XML namespace, e.g. as follows: +

+
+          <schema . . .>
+           . . .
+           <import namespace="http://www.w3.org/XML/1998/namespace"
+                      schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+     
+

+ or +

+
+           <import namespace="http://www.w3.org/XML/1998/namespace"
+                      schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
+     
+

+ Subsequently, qualified reference to any of the attributes or the + group defined below will have the desired effect, e.g. +

+
+          <type . . .>
+           . . .
+           <attributeGroup ref="xml:specialAttrs"/>
+     
+

+ will define a type which will schema-validate an instance element + with any of those attributes. +

+
+
+
+
+ + + +
+

Versioning policy for this schema document

+
+

+ In keeping with the XML Schema WG's standard versioning + policy, this schema document will persist at + + http://www.w3.org/2009/01/xml.xsd. +

+

+ At the date of issue it can also be found at + + http://www.w3.org/2001/xml.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 XML namespace itself. In other words, + if the XML Schema or XML namespaces change, the version of this + document at + http://www.w3.org/2001/xml.xsd + + will change accordingly; the version at + + http://www.w3.org/2009/01/xml.xsd + + will not change. +

+

+ Previous dated (and unchanging) versions of this schema + document are at: +

+ +
+
+
+
+ +
-- 2.30.2