generic fixes by resyncing with Fedora recipe [release 0.6.3-6mamba;Wed Jun 02 2021]
This commit is contained in:
parent
7bd8c53769
commit
cc9e6522ae
402
XMLSchema.dtd
Normal file
402
XMLSchema.dtd
Normal file
@ -0,0 +1,402 @@
|
||||
<!-- DTD for XML Schemas: Part 1: Structures
|
||||
Public Identifier: "-//W3C//DTD XMLSCHEMA 200102//EN"
|
||||
Official Location: http://www.w3.org/2001/XMLSchema.dtd -->
|
||||
<!-- $Id: XMLSchema.dtd,v 1.31 2001/10/24 15:50:16 ht Exp $ -->
|
||||
<!-- Note this DTD is NOT normative, or even definitive. --> <!--d-->
|
||||
<!-- prose copy in the structures REC is the definitive version --> <!--d-->
|
||||
<!-- (which shouldn't differ from this one except for this --> <!--d-->
|
||||
<!-- comment and entity expansions, but just in case) --> <!--d-->
|
||||
<!-- With the exception of cases with multiple namespace
|
||||
prefixes for the XML Schema namespace, any XML document which is
|
||||
not valid per this DTD given redefinitions in its internal subset of the
|
||||
'p' and 's' parameter entities below appropriate to its namespace
|
||||
declaration of the XML Schema namespace is almost certainly not
|
||||
a valid schema. -->
|
||||
|
||||
<!-- The simpleType element and its constituent parts
|
||||
are defined in XML Schema: Part 2: Datatypes -->
|
||||
<!ENTITY % xs-datatypes PUBLIC 'datatypes' 'datatypes.dtd' >
|
||||
|
||||
<!ENTITY % p 'xs:'> <!-- can be overriden in the internal subset of a
|
||||
schema document to establish a different
|
||||
namespace prefix -->
|
||||
<!ENTITY % s ':xs'> <!-- if %p is defined (e.g. as foo:) then you must
|
||||
also define %s as the suffix for the appropriate
|
||||
namespace declaration (e.g. :foo) -->
|
||||
<!ENTITY % nds 'xmlns%s;'>
|
||||
|
||||
<!-- Define all the element names, with optional prefix -->
|
||||
<!ENTITY % schema "%p;schema">
|
||||
<!ENTITY % complexType "%p;complexType">
|
||||
<!ENTITY % complexContent "%p;complexContent">
|
||||
<!ENTITY % simpleContent "%p;simpleContent">
|
||||
<!ENTITY % extension "%p;extension">
|
||||
<!ENTITY % element "%p;element">
|
||||
<!ENTITY % unique "%p;unique">
|
||||
<!ENTITY % key "%p;key">
|
||||
<!ENTITY % keyref "%p;keyref">
|
||||
<!ENTITY % selector "%p;selector">
|
||||
<!ENTITY % field "%p;field">
|
||||
<!ENTITY % group "%p;group">
|
||||
<!ENTITY % all "%p;all">
|
||||
<!ENTITY % choice "%p;choice">
|
||||
<!ENTITY % sequence "%p;sequence">
|
||||
<!ENTITY % any "%p;any">
|
||||
<!ENTITY % anyAttribute "%p;anyAttribute">
|
||||
<!ENTITY % attribute "%p;attribute">
|
||||
<!ENTITY % attributeGroup "%p;attributeGroup">
|
||||
<!ENTITY % include "%p;include">
|
||||
<!ENTITY % import "%p;import">
|
||||
<!ENTITY % redefine "%p;redefine">
|
||||
<!ENTITY % notation "%p;notation">
|
||||
|
||||
<!-- annotation elements -->
|
||||
<!ENTITY % annotation "%p;annotation">
|
||||
<!ENTITY % appinfo "%p;appinfo">
|
||||
<!ENTITY % documentation "%p;documentation">
|
||||
|
||||
<!-- Customisation entities for the ATTLIST of each element type.
|
||||
Define one of these if your schema takes advantage of the
|
||||
anyAttribute='##other' in the schema for schemas -->
|
||||
|
||||
<!ENTITY % schemaAttrs ''>
|
||||
<!ENTITY % complexTypeAttrs ''>
|
||||
<!ENTITY % complexContentAttrs ''>
|
||||
<!ENTITY % simpleContentAttrs ''>
|
||||
<!ENTITY % extensionAttrs ''>
|
||||
<!ENTITY % elementAttrs ''>
|
||||
<!ENTITY % groupAttrs ''>
|
||||
<!ENTITY % allAttrs ''>
|
||||
<!ENTITY % choiceAttrs ''>
|
||||
<!ENTITY % sequenceAttrs ''>
|
||||
<!ENTITY % anyAttrs ''>
|
||||
<!ENTITY % anyAttributeAttrs ''>
|
||||
<!ENTITY % attributeAttrs ''>
|
||||
<!ENTITY % attributeGroupAttrs ''>
|
||||
<!ENTITY % uniqueAttrs ''>
|
||||
<!ENTITY % keyAttrs ''>
|
||||
<!ENTITY % keyrefAttrs ''>
|
||||
<!ENTITY % selectorAttrs ''>
|
||||
<!ENTITY % fieldAttrs ''>
|
||||
<!ENTITY % includeAttrs ''>
|
||||
<!ENTITY % importAttrs ''>
|
||||
<!ENTITY % redefineAttrs ''>
|
||||
<!ENTITY % notationAttrs ''>
|
||||
<!ENTITY % annotationAttrs ''>
|
||||
<!ENTITY % appinfoAttrs ''>
|
||||
<!ENTITY % documentationAttrs ''>
|
||||
|
||||
<!ENTITY % complexDerivationSet "CDATA">
|
||||
<!-- #all or space-separated list drawn from derivationChoice -->
|
||||
<!ENTITY % blockSet "CDATA">
|
||||
<!-- #all or space-separated list drawn from
|
||||
derivationChoice + 'substitution' -->
|
||||
|
||||
<!ENTITY % mgs '%all; | %choice; | %sequence;'>
|
||||
<!ENTITY % cs '%choice; | %sequence;'>
|
||||
<!ENTITY % formValues '(qualified|unqualified)'>
|
||||
|
||||
|
||||
<!ENTITY % attrDecls '((%attribute;| %attributeGroup;)*,(%anyAttribute;)?)'>
|
||||
|
||||
<!ENTITY % particleAndAttrs '((%mgs; | %group;)?, %attrDecls;)'>
|
||||
|
||||
<!-- This is used in part2 -->
|
||||
<!ENTITY % restriction1 '((%mgs; | %group;)?)'>
|
||||
|
||||
%xs-datatypes;
|
||||
|
||||
<!-- the duplication below is to produce an unambiguous content model
|
||||
which allows annotation everywhere -->
|
||||
<!ELEMENT %schema; ((%include; | %import; | %redefine; | %annotation;)*,
|
||||
((%simpleType; | %complexType;
|
||||
| %element; | %attribute;
|
||||
| %attributeGroup; | %group;
|
||||
| %notation; ),
|
||||
(%annotation;)*)* )>
|
||||
<!ATTLIST %schema;
|
||||
targetNamespace %URIref; #IMPLIED
|
||||
version CDATA #IMPLIED
|
||||
%nds; %URIref; #FIXED 'http://www.w3.org/2001/XMLSchema'
|
||||
xmlns CDATA #IMPLIED
|
||||
finalDefault %complexDerivationSet; ''
|
||||
blockDefault %blockSet; ''
|
||||
id ID #IMPLIED
|
||||
elementFormDefault %formValues; 'unqualified'
|
||||
attributeFormDefault %formValues; 'unqualified'
|
||||
xml:lang CDATA #IMPLIED
|
||||
%schemaAttrs;>
|
||||
<!-- Note the xmlns declaration is NOT in the Schema for Schemas,
|
||||
because at the Infoset level where schemas operate,
|
||||
xmlns(:prefix) is NOT an attribute! -->
|
||||
<!-- The declaration of xmlns is a convenience for schema authors -->
|
||||
|
||||
<!-- The id attribute here and below is for use in external references
|
||||
from non-schemas using simple fragment identifiers.
|
||||
It is NOT used for schema-to-schema reference, internal or
|
||||
external. -->
|
||||
|
||||
<!-- a type is a named content type specification which allows attribute
|
||||
declarations-->
|
||||
<!-- -->
|
||||
|
||||
<!ELEMENT %complexType; ((%annotation;)?,
|
||||
(%simpleContent;|%complexContent;|
|
||||
%particleAndAttrs;))>
|
||||
|
||||
<!ATTLIST %complexType;
|
||||
name %NCName; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
abstract %boolean; #IMPLIED
|
||||
final %complexDerivationSet; #IMPLIED
|
||||
block %complexDerivationSet; #IMPLIED
|
||||
mixed (true|false) 'false'
|
||||
%complexTypeAttrs;>
|
||||
|
||||
<!-- particleAndAttrs is shorthand for a root type -->
|
||||
<!-- mixed is disallowed if simpleContent, overriden if complexContent
|
||||
has one too. -->
|
||||
|
||||
<!-- If anyAttribute appears in one or more referenced attributeGroups
|
||||
and/or explicitly, the intersection of the permissions is used -->
|
||||
|
||||
<!ELEMENT %complexContent; ((%annotation;)?, (%restriction;|%extension;))>
|
||||
<!ATTLIST %complexContent;
|
||||
mixed (true|false) #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%complexContentAttrs;>
|
||||
|
||||
<!-- restriction should use the branch defined above, not the simple
|
||||
one from part2; extension should use the full model -->
|
||||
|
||||
<!ELEMENT %simpleContent; ((%annotation;)?, (%restriction;|%extension;))>
|
||||
<!ATTLIST %simpleContent;
|
||||
id ID #IMPLIED
|
||||
%simpleContentAttrs;>
|
||||
|
||||
<!-- restriction should use the simple branch from part2, not the
|
||||
one defined above; extension should have no particle -->
|
||||
|
||||
<!ELEMENT %extension; ((%annotation;)?, (%particleAndAttrs;))>
|
||||
<!ATTLIST %extension;
|
||||
base %QName; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%extensionAttrs;>
|
||||
|
||||
<!-- an element is declared by either:
|
||||
a name and a type (either nested or referenced via the type attribute)
|
||||
or a ref to an existing element declaration -->
|
||||
|
||||
<!ELEMENT %element; ((%annotation;)?, (%complexType;| %simpleType;)?,
|
||||
(%unique; | %key; | %keyref;)*)>
|
||||
<!-- simpleType or complexType only if no type|ref attribute -->
|
||||
<!-- ref not allowed at top level -->
|
||||
<!ATTLIST %element;
|
||||
name %NCName; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
ref %QName; #IMPLIED
|
||||
type %QName; #IMPLIED
|
||||
minOccurs %nonNegativeInteger; #IMPLIED
|
||||
maxOccurs CDATA #IMPLIED
|
||||
nillable %boolean; #IMPLIED
|
||||
substitutionGroup %QName; #IMPLIED
|
||||
abstract %boolean; #IMPLIED
|
||||
final %complexDerivationSet; #IMPLIED
|
||||
block %blockSet; #IMPLIED
|
||||
default CDATA #IMPLIED
|
||||
fixed CDATA #IMPLIED
|
||||
form %formValues; #IMPLIED
|
||||
%elementAttrs;>
|
||||
<!-- type and ref are mutually exclusive.
|
||||
name and ref are mutually exclusive, one is required -->
|
||||
<!-- In the absence of type AND ref, type defaults to type of
|
||||
substitutionGroup, if any, else the ur-type, i.e. unconstrained -->
|
||||
<!-- default and fixed are mutually exclusive -->
|
||||
|
||||
<!ELEMENT %group; ((%annotation;)?,(%mgs;)?)>
|
||||
<!ATTLIST %group;
|
||||
name %NCName; #IMPLIED
|
||||
ref %QName; #IMPLIED
|
||||
minOccurs %nonNegativeInteger; #IMPLIED
|
||||
maxOccurs CDATA #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%groupAttrs;>
|
||||
|
||||
<!ELEMENT %all; ((%annotation;)?, (%element;)*)>
|
||||
<!ATTLIST %all;
|
||||
minOccurs (1) #IMPLIED
|
||||
maxOccurs (1) #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%allAttrs;>
|
||||
|
||||
<!ELEMENT %choice; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
|
||||
<!ATTLIST %choice;
|
||||
minOccurs %nonNegativeInteger; #IMPLIED
|
||||
maxOccurs CDATA #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%choiceAttrs;>
|
||||
|
||||
<!ELEMENT %sequence; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
|
||||
<!ATTLIST %sequence;
|
||||
minOccurs %nonNegativeInteger; #IMPLIED
|
||||
maxOccurs CDATA #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%sequenceAttrs;>
|
||||
|
||||
<!-- an anonymous grouping in a model, or
|
||||
a top-level named group definition, or a reference to same -->
|
||||
|
||||
<!-- Note that if order is 'all', group is not allowed inside.
|
||||
If order is 'all' THIS group must be alone (or referenced alone) at
|
||||
the top level of a content model -->
|
||||
<!-- If order is 'all', minOccurs==maxOccurs==1 on element/any inside -->
|
||||
<!-- Should allow minOccurs=0 inside order='all' . . . -->
|
||||
|
||||
<!ELEMENT %any; (%annotation;)?>
|
||||
<!ATTLIST %any;
|
||||
namespace CDATA '##any'
|
||||
processContents (skip|lax|strict) 'strict'
|
||||
minOccurs %nonNegativeInteger; '1'
|
||||
maxOccurs CDATA '1'
|
||||
id ID #IMPLIED
|
||||
%anyAttrs;>
|
||||
|
||||
<!-- namespace is interpreted as follows:
|
||||
##any - - any non-conflicting WFXML at all
|
||||
|
||||
##other - - any non-conflicting WFXML from namespace other
|
||||
than targetNamespace
|
||||
|
||||
##local - - any unqualified non-conflicting WFXML/attribute
|
||||
one or - - any non-conflicting WFXML from
|
||||
more URI the listed namespaces
|
||||
references
|
||||
|
||||
##targetNamespace ##local may appear in the above list,
|
||||
with the obvious meaning -->
|
||||
|
||||
<!ELEMENT %anyAttribute; (%annotation;)?>
|
||||
<!ATTLIST %anyAttribute;
|
||||
namespace CDATA '##any'
|
||||
processContents (skip|lax|strict) 'strict'
|
||||
id ID #IMPLIED
|
||||
%anyAttributeAttrs;>
|
||||
<!-- namespace is interpreted as for 'any' above -->
|
||||
|
||||
<!-- simpleType only if no type|ref attribute -->
|
||||
<!-- ref not allowed at top level, name iff at top level -->
|
||||
<!ELEMENT %attribute; ((%annotation;)?, (%simpleType;)?)>
|
||||
<!ATTLIST %attribute;
|
||||
name %NCName; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
ref %QName; #IMPLIED
|
||||
type %QName; #IMPLIED
|
||||
use (prohibited|optional|required) #IMPLIED
|
||||
default CDATA #IMPLIED
|
||||
fixed CDATA #IMPLIED
|
||||
form %formValues; #IMPLIED
|
||||
%attributeAttrs;>
|
||||
<!-- type and ref are mutually exclusive.
|
||||
name and ref are mutually exclusive, one is required -->
|
||||
<!-- default for use is optional when nested, none otherwise -->
|
||||
<!-- default and fixed are mutually exclusive -->
|
||||
<!-- type attr and simpleType content are mutually exclusive -->
|
||||
|
||||
<!-- an attributeGroup is a named collection of attribute decls, or a
|
||||
reference thereto -->
|
||||
<!ELEMENT %attributeGroup; ((%annotation;)?,
|
||||
(%attribute; | %attributeGroup;)*,
|
||||
(%anyAttribute;)?) >
|
||||
<!ATTLIST %attributeGroup;
|
||||
name %NCName; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
ref %QName; #IMPLIED
|
||||
%attributeGroupAttrs;>
|
||||
|
||||
<!-- ref iff no content, no name. ref iff not top level -->
|
||||
|
||||
<!-- better reference mechanisms -->
|
||||
<!ELEMENT %unique; ((%annotation;)?, %selector;, (%field;)+)>
|
||||
<!ATTLIST %unique;
|
||||
name %NCName; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%uniqueAttrs;>
|
||||
|
||||
<!ELEMENT %key; ((%annotation;)?, %selector;, (%field;)+)>
|
||||
<!ATTLIST %key;
|
||||
name %NCName; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%keyAttrs;>
|
||||
|
||||
<!ELEMENT %keyref; ((%annotation;)?, %selector;, (%field;)+)>
|
||||
<!ATTLIST %keyref;
|
||||
name %NCName; #REQUIRED
|
||||
refer %QName; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%keyrefAttrs;>
|
||||
|
||||
<!ELEMENT %selector; ((%annotation;)?)>
|
||||
<!ATTLIST %selector;
|
||||
xpath %XPathExpr; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%selectorAttrs;>
|
||||
<!ELEMENT %field; ((%annotation;)?)>
|
||||
<!ATTLIST %field;
|
||||
xpath %XPathExpr; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%fieldAttrs;>
|
||||
|
||||
<!-- Schema combination mechanisms -->
|
||||
<!ELEMENT %include; (%annotation;)?>
|
||||
<!ATTLIST %include;
|
||||
schemaLocation %URIref; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%includeAttrs;>
|
||||
|
||||
<!ELEMENT %import; (%annotation;)?>
|
||||
<!ATTLIST %import;
|
||||
namespace %URIref; #IMPLIED
|
||||
schemaLocation %URIref; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%importAttrs;>
|
||||
|
||||
<!ELEMENT %redefine; (%annotation; | %simpleType; | %complexType; |
|
||||
%attributeGroup; | %group;)*>
|
||||
<!ATTLIST %redefine;
|
||||
schemaLocation %URIref; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
%redefineAttrs;>
|
||||
|
||||
<!ELEMENT %notation; (%annotation;)?>
|
||||
<!ATTLIST %notation;
|
||||
name %NCName; #REQUIRED
|
||||
id ID #IMPLIED
|
||||
public CDATA #REQUIRED
|
||||
system %URIref; #IMPLIED
|
||||
%notationAttrs;>
|
||||
|
||||
<!-- Annotation is either application information or documentation -->
|
||||
<!-- By having these here they are available for datatypes as well
|
||||
as all the structures elements -->
|
||||
|
||||
<!ELEMENT %annotation; (%appinfo; | %documentation;)*>
|
||||
<!ATTLIST %annotation; %annotationAttrs;>
|
||||
|
||||
<!-- User must define annotation elements in internal subset for this
|
||||
to work -->
|
||||
<!ELEMENT %appinfo; ANY> <!-- too restrictive -->
|
||||
<!ATTLIST %appinfo;
|
||||
source %URIref; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%appinfoAttrs;>
|
||||
<!ELEMENT %documentation; ANY> <!-- too restrictive -->
|
||||
<!ATTLIST %documentation;
|
||||
source %URIref; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
xml:lang CDATA #IMPLIED
|
||||
%documentationAttrs;>
|
||||
|
||||
<!NOTATION XMLSchemaStructures PUBLIC
|
||||
'structures' 'http://www.w3.org/2001/XMLSchema.xsd' >
|
||||
<!NOTATION XML PUBLIC
|
||||
'REC-xml-1998-0210' 'http://www.w3.org/TR/1998/REC-xml-19980210' >
|
203
datatypes.dtd
Normal file
203
datatypes.dtd
Normal file
@ -0,0 +1,203 @@
|
||||
<!--
|
||||
DTD for XML Schemas: Part 2: Datatypes
|
||||
$Id: datatypes.dtd,v 1.23 2001/03/16 17:36:30 ht Exp $
|
||||
Note this DTD is NOT normative, or even definitive. - - the
|
||||
prose copy in the datatypes REC is the definitive version
|
||||
(which shouldn't differ from this one except for this comment
|
||||
and entity expansions, but just in case)
|
||||
-->
|
||||
|
||||
<!--
|
||||
This DTD cannot be used on its own, it is intended
|
||||
only for incorporation in XMLSchema.dtd, q.v.
|
||||
-->
|
||||
|
||||
<!-- Define all the element names, with optional prefix -->
|
||||
<!ENTITY % simpleType "%p;simpleType">
|
||||
<!ENTITY % restriction "%p;restriction">
|
||||
<!ENTITY % list "%p;list">
|
||||
<!ENTITY % union "%p;union">
|
||||
<!ENTITY % maxExclusive "%p;maxExclusive">
|
||||
<!ENTITY % minExclusive "%p;minExclusive">
|
||||
<!ENTITY % maxInclusive "%p;maxInclusive">
|
||||
<!ENTITY % minInclusive "%p;minInclusive">
|
||||
<!ENTITY % totalDigits "%p;totalDigits">
|
||||
<!ENTITY % fractionDigits "%p;fractionDigits">
|
||||
<!ENTITY % length "%p;length">
|
||||
<!ENTITY % minLength "%p;minLength">
|
||||
<!ENTITY % maxLength "%p;maxLength">
|
||||
<!ENTITY % enumeration "%p;enumeration">
|
||||
<!ENTITY % whiteSpace "%p;whiteSpace">
|
||||
<!ENTITY % pattern "%p;pattern">
|
||||
|
||||
<!--
|
||||
Customisation entities for the ATTLIST of each element
|
||||
type. Define one of these if your schema takes advantage
|
||||
of the anyAttribute='##other' in the schema for schemas
|
||||
-->
|
||||
|
||||
<!ENTITY % simpleTypeAttrs "">
|
||||
<!ENTITY % restrictionAttrs "">
|
||||
<!ENTITY % listAttrs "">
|
||||
<!ENTITY % unionAttrs "">
|
||||
<!ENTITY % maxExclusiveAttrs "">
|
||||
<!ENTITY % minExclusiveAttrs "">
|
||||
<!ENTITY % maxInclusiveAttrs "">
|
||||
<!ENTITY % minInclusiveAttrs "">
|
||||
<!ENTITY % totalDigitsAttrs "">
|
||||
<!ENTITY % fractionDigitsAttrs "">
|
||||
<!ENTITY % lengthAttrs "">
|
||||
<!ENTITY % minLengthAttrs "">
|
||||
<!ENTITY % maxLengthAttrs "">
|
||||
<!ENTITY % enumerationAttrs "">
|
||||
<!ENTITY % whiteSpaceAttrs "">
|
||||
<!ENTITY % patternAttrs "">
|
||||
|
||||
<!-- Define some entities for informative use as attribute
|
||||
types -->
|
||||
<!ENTITY % URIref "CDATA">
|
||||
<!ENTITY % XPathExpr "CDATA">
|
||||
<!ENTITY % QName "NMTOKEN">
|
||||
<!ENTITY % QNames "NMTOKENS">
|
||||
<!ENTITY % NCName "NMTOKEN">
|
||||
<!ENTITY % nonNegativeInteger "NMTOKEN">
|
||||
<!ENTITY % boolean "(true|false)">
|
||||
<!ENTITY % simpleDerivationSet "CDATA">
|
||||
<!--
|
||||
#all or space-separated list drawn from derivationChoice
|
||||
-->
|
||||
|
||||
<!--
|
||||
Note that the use of 'facet' below is less restrictive
|
||||
than is really intended: There should in fact be no
|
||||
more than one of each of minInclusive, minExclusive,
|
||||
maxInclusive, maxExclusive, totalDigits, fractionDigits,
|
||||
length, maxLength, minLength within datatype,
|
||||
and the min- and max- variants of Inclusive and Exclusive
|
||||
are mutually exclusive. On the other hand, pattern and
|
||||
enumeration may repeat.
|
||||
-->
|
||||
<!ENTITY % minBound "(%minInclusive; | %minExclusive;)">
|
||||
<!ENTITY % maxBound "(%maxInclusive; | %maxExclusive;)">
|
||||
<!ENTITY % bounds "%minBound; | %maxBound;">
|
||||
<!ENTITY % numeric "%totalDigits; | %fractionDigits;">
|
||||
<!ENTITY % ordered "%bounds; | %numeric;">
|
||||
<!ENTITY % unordered
|
||||
"%pattern; | %enumeration; | %whiteSpace; | %length; |
|
||||
%maxLength; | %minLength;">
|
||||
<!ENTITY % facet "%ordered; | %unordered;">
|
||||
<!ENTITY % facetAttr
|
||||
"value CDATA #REQUIRED
|
||||
id ID #IMPLIED">
|
||||
<!ENTITY % fixedAttr "fixed %boolean; #IMPLIED">
|
||||
<!ENTITY % facetModel "(%annotation;)?">
|
||||
<!ELEMENT %simpleType;
|
||||
((%annotation;)?, (%restriction; | %list; | %union;))>
|
||||
<!ATTLIST %simpleType;
|
||||
name %NCName; #IMPLIED
|
||||
final %simpleDerivationSet; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%simpleTypeAttrs;>
|
||||
<!-- name is required at top level -->
|
||||
<!ELEMENT %restriction; ((%annotation;)?,
|
||||
(%restriction1; |
|
||||
((%simpleType;)?,(%facet;)*)),
|
||||
(%attrDecls;))>
|
||||
<!ATTLIST %restriction;
|
||||
base %QName; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%restrictionAttrs;>
|
||||
<!--
|
||||
base and simpleType child are mutually exclusive,
|
||||
one is required.
|
||||
|
||||
restriction is shared between simpleType and
|
||||
simpleContent and complexContent (in XMLSchema.xsd).
|
||||
restriction1 is for the latter cases, when this
|
||||
is restricting a complex type, as is attrDecls.
|
||||
-->
|
||||
<!ELEMENT %list; ((%annotation;)?,(%simpleType;)?)>
|
||||
<!ATTLIST %list;
|
||||
itemType %QName; #IMPLIED
|
||||
id ID #IMPLIED
|
||||
%listAttrs;>
|
||||
<!--
|
||||
itemType and simpleType child are mutually exclusive,
|
||||
one is required
|
||||
-->
|
||||
<!ELEMENT %union; ((%annotation;)?,(%simpleType;)*)>
|
||||
<!ATTLIST %union;
|
||||
id ID #IMPLIED
|
||||
memberTypes %QNames; #IMPLIED
|
||||
%unionAttrs;>
|
||||
<!--
|
||||
At least one item in memberTypes or one simpleType
|
||||
child is required
|
||||
-->
|
||||
|
||||
<!ELEMENT %maxExclusive; %facetModel;>
|
||||
<!ATTLIST %maxExclusive;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%maxExclusiveAttrs;>
|
||||
<!ELEMENT %minExclusive; %facetModel;>
|
||||
<!ATTLIST %minExclusive;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%minExclusiveAttrs;>
|
||||
|
||||
<!ELEMENT %maxInclusive; %facetModel;>
|
||||
<!ATTLIST %maxInclusive;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%maxInclusiveAttrs;>
|
||||
<!ELEMENT %minInclusive; %facetModel;>
|
||||
<!ATTLIST %minInclusive;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%minInclusiveAttrs;>
|
||||
|
||||
<!ELEMENT %totalDigits; %facetModel;>
|
||||
<!ATTLIST %totalDigits;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%totalDigitsAttrs;>
|
||||
<!ELEMENT %fractionDigits; %facetModel;>
|
||||
<!ATTLIST %fractionDigits;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%fractionDigitsAttrs;>
|
||||
|
||||
<!ELEMENT %length; %facetModel;>
|
||||
<!ATTLIST %length;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%lengthAttrs;>
|
||||
<!ELEMENT %minLength; %facetModel;>
|
||||
<!ATTLIST %minLength;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%minLengthAttrs;>
|
||||
<!ELEMENT %maxLength; %facetModel;>
|
||||
<!ATTLIST %maxLength;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%maxLengthAttrs;>
|
||||
|
||||
<!-- This one can be repeated -->
|
||||
<!ELEMENT %enumeration; %facetModel;>
|
||||
<!ATTLIST %enumeration;
|
||||
%facetAttr;
|
||||
%enumerationAttrs;>
|
||||
|
||||
<!ELEMENT %whiteSpace; %facetModel;>
|
||||
<!ATTLIST %whiteSpace;
|
||||
%facetAttr;
|
||||
%fixedAttr;
|
||||
%whiteSpaceAttrs;>
|
||||
|
||||
<!-- This one can be repeated -->
|
||||
<!ELEMENT %pattern; %facetModel;>
|
||||
<!ATTLIST %pattern;
|
||||
%facetAttr;
|
||||
%patternAttrs;>
|
2
html.dcl
2
html.dcl
@ -80,7 +80,7 @@ FEATURES
|
||||
--
|
||||
>
|
||||
<!--
|
||||
$Id: html.dcl,v 1.1.1.1 1999/05/02 12:50:44 Avi Exp $
|
||||
$Id: html.dcl,v 1.1 2004/09/09 12:19:26 cvsdist Exp $
|
||||
|
||||
Author: Daniel W. Connolly <connolly@w3.org>
|
||||
|
||||
|
2
html.soc
2
html.soc
@ -1,5 +1,5 @@
|
||||
-- catalog: SGML Open style entity catalog for HTML --
|
||||
-- $Id: html.soc,v 1.1.1.2 1999/05/02 15:41:46 Avi Exp $ --
|
||||
-- $Id: html.soc,v 1.1 2004/09/09 12:19:26 cvsdist Exp $ --
|
||||
-- Hacked by jjc --
|
||||
|
||||
-- Ways to refer to Level 2: most general to most specific --
|
||||
|
@ -8,5 +8,5 @@
|
||||
+umask 022
|
||||
+
|
||||
# Set version message
|
||||
SGML_VERSION_MESSAGE="sgml-common version 0.2 (install-catalog version 1.0)"
|
||||
SGML_VERSION_MESSAGE="sgml-common version @VERSION@ (install-catalog version 1.0)"
|
||||
|
||||
|
@ -6,3 +6,14 @@
|
||||
isoent_DATA = ISOamsa.ent ISOamsb.ent ISOamsc.ent ISOamsn.ent ISOamso.ent ISOamsr.ent \
|
||||
ISObox.ent ISOcyr1.ent ISOcyr2.ent ISOdia.ent ISOgrk1.ent ISOgrk2.ent \
|
||||
ISOgrk3.ent ISOgrk4.ent ISOlat1.ent ISOlat2.ent ISOnum.ent ISOpub.ent \
|
||||
--- sgml-common-0.6.3/xml-iso-entities/Makefile.in.xmldir 2007-05-15 17:21:31.000000000 +0100
|
||||
+++ sgml-common-0.6.3/xml-iso-entities/Makefile.in 2007-05-15 17:21:43.000000000 +0100
|
||||
@@ -62,7 +62,7 @@
|
||||
VERSION = @VERSION@
|
||||
docdir = @docdir@
|
||||
|
||||
-isoentdir = $(prefix)/share/sgml/xml-iso-entities-8879.1986
|
||||
+isoentdir = $(prefix)/share/xml/xml-iso-entities-8879.1986
|
||||
isoent_DATA = ISOamsa.ent ISOamsb.ent ISOamsc.ent ISOamsn.ent ISOamso.ent ISOamsr.ent ISObox.ent ISOcyr1.ent ISOcyr2.ent ISOdia.ent ISOgrk1.ent ISOgrk2.ent ISOgrk3.ent ISOgrk4.ent ISOlat1.ent ISOlat2.ent ISOnum.ent ISOpub.ent ISOtech.ent catalog
|
||||
|
||||
|
||||
|
196
sgml-common.spec
196
sgml-common.spec
@ -1,31 +1,38 @@
|
||||
%global xmlxsdver 2009/01
|
||||
Name: sgml-common
|
||||
Version: 0.6.3
|
||||
Release: 5mamba
|
||||
Release: 6mamba
|
||||
Summary: Common SGML catalog and DTD files
|
||||
Group: Applications/Text
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.iso.ch/cate/3524030.html
|
||||
URL: https://www.iso.org/cate/3524030.html
|
||||
Source0: ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/%{name}-%{version}.tgz
|
||||
Source1: sgml-common-CHANGES
|
||||
Source2: sgml-common-automake.tar.gz
|
||||
Source3: xml.dcl
|
||||
Source4: xml.soc
|
||||
Source5: html.dcl
|
||||
Source6: html.soc
|
||||
Source1: xml.dcl
|
||||
Source2: xml.soc
|
||||
Source3: html.dcl
|
||||
Source4: html.soc
|
||||
Source5: http://www.w3.org/%{xmlxsdver}/xml.xsd
|
||||
Source6: http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd
|
||||
Source7: http://www.w3.org/2001/XMLSchema.dtd
|
||||
Source8: http://www.w3.org/2001/datatypes.dtd
|
||||
Source9: sgmlwhich.1
|
||||
Source10: sgml.conf.5
|
||||
Source20: sgml-common-CHANGES
|
||||
Source21: sgml-common-automake.tar.gz
|
||||
Patch0: sgml-common-umask.patch
|
||||
Patch1: sgml-common-xmldir.patch
|
||||
Patch2: sgml-common-quotes.patch
|
||||
Patch3: sgml-common-automake.patch
|
||||
Patch4: sgml-common-0.6.3-docdir.patch
|
||||
Patch10: sgml-common-automake.patch
|
||||
Patch11: sgml-common-0.6.3-docdir.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libxml2 >= 2.6.17
|
||||
#Requires: sh-utils fileutils textutils grep
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
# From openjade:
|
||||
BuildRequires: make
|
||||
BuildRequires: automake
|
||||
Requires: %{_bindir}/basename
|
||||
|
||||
%description
|
||||
The sgml-common package contains a collection of entities and DTDs that are useful for processing SGML, but that don't need to be included in multiple packages.
|
||||
@ -35,22 +42,23 @@ Sgml-common also includes an up-to-date Open Catalog file.
|
||||
Group: Applications/Text
|
||||
Summary: Common XML catalog and DTD files.
|
||||
License: GPL
|
||||
URL: http://www.iso.ch/cate/3524030.html
|
||||
#Requires: #sh-utils fileutils textutils grep
|
||||
URL: https://www.iso.org/cate/3524030.html
|
||||
Requires(pre): %{_bindir}/xmlcatalog
|
||||
|
||||
%description -n xml-common
|
||||
The xml-common package contains a collection of entities and DTDs that are useful for processing XML, but that don't need to be included in multiple packages.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%define _default_patch_fuzz 2
|
||||
%patch0 -p1 -b .umask
|
||||
%patch1 -p1 -b .xmldir
|
||||
%patch2 -p1 -b .quotes
|
||||
|
||||
rm install-sh missing mkinstalldirs
|
||||
tar zxf %{SOURCE2}
|
||||
%patch3 -p1 -b .automake
|
||||
%patch4 -p1 -b .docdir
|
||||
tar zxf %{SOURCE21}
|
||||
%patch10 -p1 -b .automake
|
||||
%patch11 -p1 -b .docdir
|
||||
|
||||
aclocal
|
||||
automake --add-missing --copy
|
||||
|
||||
@ -59,61 +67,108 @@ automake --add-missing --copy
|
||||
--with-docdir=%{_docdir}
|
||||
|
||||
%install
|
||||
DESTDIR=%{buildroot}
|
||||
rm -rf $DESTDIR
|
||||
%makeinstall docdir=%{_docdir} top_builddir=`pwd`
|
||||
cp %{SOURCE1} CHANGES
|
||||
mkdir %{buildroot}/etc/xml
|
||||
mkdir %{buildroot}/usr/share/sgml/docbook
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall htmldir='%{_datadir}/doc'
|
||||
#docdir=%{_docdir} top_builddir=`pwd`
|
||||
|
||||
rm -f %{buildroot}/usr/share/sgml/xml.dcl
|
||||
install -m0644 %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} \
|
||||
%{buildroot}/usr/share/sgml
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"/usr/share/xml/*
|
||||
mkdir %{buildroot}%{_sysconfdir}/xml
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/sgml/docbook
|
||||
mkdir -p %{buildroot}%{_datadir}/sgml/docbook
|
||||
# Touch SGML catalog
|
||||
touch %{buildroot}%{_sysconfdir}/sgml/catalog
|
||||
# Create an empty XML catalog.
|
||||
XMLCATALOG=%{buildroot}%{_sysconfdir}/xml/catalog
|
||||
%{_bindir}/xmlcatalog --noout --create $XMLCATALOG
|
||||
# ...and add xml.xsd in it
|
||||
for type in system uri ; do
|
||||
for path in 2001 %{xmlxsdver} ; do
|
||||
%{_bindir}/xmlcatalog --noout --add $type \
|
||||
"http://www.w3.org/$path/xml.xsd" \
|
||||
"file://%{_datadir}/xml/xml.xsd" $XMLCATALOG
|
||||
done
|
||||
# Add xmldsig-core-schema.xsd to catalog
|
||||
%{_bindir}/xmlcatalog --noout --add $type \
|
||||
"http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd" \
|
||||
"file://%{_datadir}/xml/xmldsig-core-schema.xsd" $XMLCATALOG
|
||||
done
|
||||
# Now put the common DocBook entries in it
|
||||
%{_bindir}/xmlcatalog --noout --add "delegatePublic" \
|
||||
"-//OASIS//ENTITIES DocBook XML" \
|
||||
"file://%{_sysconfdir}/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --add "delegatePublic" \
|
||||
"-//OASIS//DTD DocBook XML" \
|
||||
"file://%{_sysconfdir}/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --add "delegatePublic" \
|
||||
"ISO 8879:1986" \
|
||||
"file://%{_sysconfdir}/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --add "delegateSystem" \
|
||||
"http://www.oasis-open.org/docbook/" \
|
||||
"file://%{_sysconfdir}/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
%{_bindir}/xmlcatalog --noout --add "delegateURI" \
|
||||
"http://www.oasis-open.org/docbook/" \
|
||||
"file://%{_sysconfdir}/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
for public in "-//W3C//DTD XMLSchema 200102//EN" "-//W3C//DTD XMLSCHEMA 200102//EN" ; do
|
||||
%{_bindir}/xmlcatalog --noout --add "public" \
|
||||
"$public" \
|
||||
"file://%{_datadir}/xml/XMLSchema.dtd" $XMLCATALOG
|
||||
done
|
||||
%{_bindir}/xmlcatalog --noout --add "system" \
|
||||
"http://www.w3.org/2001/XMLSchema.dtd" \
|
||||
"file://%{_datadir}/xml/XMLSchema.dtd" $XMLCATALOG
|
||||
|
||||
# Also create the common DocBook catalog
|
||||
%{_bindir}/xmlcatalog --noout --create \
|
||||
%{buildroot}%{_sysconfdir}/sgml/docbook/xmlcatalog
|
||||
ln -sf %{_sysconfdir}/sgml/docbook/xmlcatalog\
|
||||
%{buildroot}%{_datadir}/sgml/docbook/xmlcatalog
|
||||
|
||||
rm -f %{buildroot}%{_datadir}/sgml/xml.dcl
|
||||
install -p -m0644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \
|
||||
%{buildroot}%{_datadir}/sgml
|
||||
rm -rf %{buildroot}%{_datadir}/xml/*
|
||||
install -p -m0644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} \
|
||||
%{buildroot}%{_datadir}/xml
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
mkdir -p %{buildroot}%{_mandir}/man5
|
||||
install -p -m0644 %{SOURCE9} %{buildroot}%{_mandir}/man1
|
||||
install -p -m0644 %{SOURCE10} %{buildroot}%{_mandir}/man5
|
||||
|
||||
# remove installed doc file and prepare installation with %%doc
|
||||
rm %{buildroot}%{_datadir}/doc/*.html
|
||||
rm -rf __dist_doc/html/
|
||||
mkdir -p __dist_doc/html/
|
||||
cp -p doc/HTML/*.html __dist_doc/html/
|
||||
|
||||
%clean
|
||||
DESTDIR=%{buildroot}
|
||||
rm -rf $DESTDIR
|
||||
|
||||
%post -n xml-common
|
||||
if [ $1 -ge 1 ]; then
|
||||
# Create an empty XML catalog.
|
||||
XMLCATALOG=/etc/xml/catalog
|
||||
[ -e $XMLCATALOG ] || /usr/bin/xmlcatalog --noout --create $XMLCATALOG
|
||||
|
||||
# Now put the common DocBook entries in it
|
||||
/usr/bin/xmlcatalog --noout --add "delegatePublic" \
|
||||
"-//OASIS//ENTITIES DocBook XML" \
|
||||
"file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "delegatePublic" \
|
||||
"-//OASIS//DTD DocBook XML" \
|
||||
"file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "delegatePublic" \
|
||||
"ISO 8879:1986" \
|
||||
"file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "delegateSystem" \
|
||||
"http://www.oasis-open.org/docbook/" \
|
||||
"file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
/usr/bin/xmlcatalog --noout --add "delegateURI" \
|
||||
"http://www.oasis-open.org/docbook/" \
|
||||
"file:///usr/share/sgml/docbook/xmlcatalog" $XMLCATALOG
|
||||
|
||||
# Also create the common DocBook catalog
|
||||
[ -e /usr/share/sgml/docbook/xmlcatalog ] || \
|
||||
/usr/bin/xmlcatalog --noout --create \
|
||||
%{_datadir}/sgml/docbook/xmlcatalog
|
||||
%pre -n xml-common
|
||||
if [ $1 -gt 1 ] && [ -e %{_sysconfdir}/xml/catalog ]; then
|
||||
for type in system uri ; do
|
||||
for path in 2001 %{xmlxsdver} ; do
|
||||
%{_bindir}/xmlcatalog --noout --add $type \
|
||||
"http://www.w3.org/$path/xml.xsd" \
|
||||
"file://%{_datadir}/xml/xml.xsd" \
|
||||
%{_sysconfdir}/xml/catalog
|
||||
done
|
||||
%{_bindir}/xmlcatalog --noout --add $type \
|
||||
"http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd" \
|
||||
"file://%{_datadir}/xml/xmldsig-core-schema.xsd" %{_sysconfdir}/xml/catalog
|
||||
done
|
||||
for public in "-//W3C//DTD XMLSchema 200102//EN" "-//W3C//DTD XMLSCHEMA 200102//EN" ; do
|
||||
%{_bindir}/xmlcatalog --noout --add "public" \
|
||||
"$public" \
|
||||
"file://%{_datadir}/xml/XMLSchema.dtd" %{_sysconfdir}/xml/catalog
|
||||
done
|
||||
fi
|
||||
:
|
||||
|
||||
%posttrans -n xml-common
|
||||
[ -e /etc/xml/catalog.rpmsave -a ! -e /etc/xml/catalog ] && \
|
||||
mv /etc/xml/catalog.rpmsave /etc/xml/catalog
|
||||
:
|
||||
|
||||
%files
|
||||
%defattr (-,root,root)
|
||||
%dir %{_sysconfdir}/sgml
|
||||
%config(noreplace) %{_sysconfdir}/sgml/sgml.conf
|
||||
%ghost %verify(not md5 size mtime) %config(noreplace,missingok) %{_sysconfdir}/sgml/catalog
|
||||
%dir %{_datadir}/sgml
|
||||
%dir %{_datadir}/sgml/sgml-iso-entities-8879.1986
|
||||
%{_datadir}/sgml/sgml-iso-entities-8879.1986/*
|
||||
@ -123,17 +178,32 @@ fi
|
||||
%{_datadir}/sgml/html.soc
|
||||
%{_bindir}/sgmlwhich
|
||||
%{_bindir}/install-catalog
|
||||
%{_mandir}/*/*
|
||||
%{_datadir}/doc/%{name}-%{version}/html/*
|
||||
%{_mandir}/man8/install-catalog.8*
|
||||
%{_mandir}/man1/sgmlwhich.1*
|
||||
%{_mandir}/man5/sgml.conf.5*
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%files -n xml-common
|
||||
%defattr (-,root,root)
|
||||
%dir %{_sysconfdir}/xml
|
||||
%dir %{_sysconfdir}/sgml
|
||||
%dir %{_sysconfdir}/sgml/docbook
|
||||
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xml/catalog
|
||||
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sgml/docbook/xmlcatalog
|
||||
%dir %{_datadir}/sgml
|
||||
%dir %{_datadir}/sgml/docbook
|
||||
%{_datadir}/sgml/docbook/xmlcatalog
|
||||
%dir %{_datadir}/xml
|
||||
%{_datadir}/xml/xml.xsd
|
||||
%{_datadir}/xml/xmldsig-core-schema.xsd
|
||||
%{_datadir}/xml/XMLSchema.dtd
|
||||
%{_datadir}/xml/datatypes.dtd
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%changelog
|
||||
* Wed Jun 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.3-6mamba
|
||||
- generic fixes by resyncing with Fedora recipe
|
||||
|
||||
* Fri Nov 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.3-5mamba
|
||||
- specfile fix with rpm4
|
||||
|
||||
|
40
sgml.conf.5
Normal file
40
sgml.conf.5
Normal file
@ -0,0 +1,40 @@
|
||||
.TH SGML.CONF 5
|
||||
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
|
||||
.\" other parms are allowed: see man(7), man(1)
|
||||
.SH NAME
|
||||
sgml.conf \- basic configuration file for SGML environment variables
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
This file contains basic variables for SGML environment.
|
||||
.HP
|
||||
Format of this file is straightforward:
|
||||
|
||||
- Lines are either empty lines, comment lines (starting with hash mark) or variable assignments.
|
||||
|
||||
- Assigments take form of "variable=value" where whitespace is not allowed. This makes the format Bourne-shell includable.
|
||||
|
||||
.SH "VARIABLES"
|
||||
.TP
|
||||
.B SGML_BASE_DIR
|
||||
This variable contains root of the location of sgml components. Suggested value for this variable is /usr/share/sgml.
|
||||
.TP
|
||||
.B SGML_CATALOGS_DIRS
|
||||
This variable contains location of sgml catalog files. Suggested value is /etc/sgml.
|
||||
.TP
|
||||
.B SGML_EXTRA_BASE_DIRS
|
||||
This variable contains the directory name(s) of the root of the location(s) of optional sgml components that the system administrator doesn't want to install to primary SGML_BASE_DIR directory. If multiple directory names are mentioned, they are separated by colons.
|
||||
.TP
|
||||
.B SGML_BIN_DIR
|
||||
This variable contains the directory where executables should be placed. By default /usr/bin.
|
||||
.TP
|
||||
.B SGML_EXTRA_BIN_DIRS
|
||||
This variable contains the directory name(s) where optional executables can be placed. Suggested and default value is /usr/local/bin. If multiple directory names are mentioned, they are separated by colons.
|
||||
.TP
|
||||
.B SGML_TMP_DIR
|
||||
A hint to components where to put temporary files. The suggested and default value is /tmp.
|
||||
.TP
|
||||
.B SGML_POSTINSTALL_CMD
|
||||
A command that is to be executed when new components have been installed. This mechanism is not used by default, sgml components are usually registered by %post scriptlets.
|
||||
.SH "SEE ALSO"
|
||||
.\" Always quote multiple words for .SH
|
||||
.BR xsltproc (1)
|
712
sgmlwhich.1
Normal file
712
sgmlwhich.1
Normal file
@ -0,0 +1,712 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang='en'>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>Tree - rpms/sgml-common - src.fedoraproject.org</title>
|
||||
<link rel="shortcut icon" type="image/vnd.microsoft.icon"
|
||||
href="/theme/static/favicon.ico?version=5.13.2"/>
|
||||
<link href="/theme/static/fedora-bootstrap-1.3.0/fedora-bootstrap.min.css?version=5.13.2"
|
||||
type="text/css" rel="stylesheet" />
|
||||
<link href="/theme/static/fonts/fonts.css?version=5.13.2"
|
||||
rel="stylesheet" type="text/css" />
|
||||
<link href="/theme/static/fonts/hack_fonts/css/hack-extended.min.css?version=5.13.2"
|
||||
type="text/css" rel="stylesheet" />
|
||||
<link href="/theme/static/theme.css?version=5.13.2"
|
||||
type="text/css" rel="stylesheet" />
|
||||
|
||||
<link type="text/css" rel="stylesheet" nonce="07MRZpeHFsqUoaEtP3c1HUmKQ" href="/static/vendor/font-awesome/font-awesome.css?version=5.13.2"/>
|
||||
<link type="text/css" rel="stylesheet" nonce="07MRZpeHFsqUoaEtP3c1HUmKQ" href="/static/pagure.css?version=5.13.2"/>
|
||||
<link nonce="07MRZpeHFsqUoaEtP3c1HUmKQ" rel="stylesheet" href="/static/vendor/highlight.js/styles/github.css?version=5.13.2"/>
|
||||
<link nonce="07MRZpeHFsqUoaEtP3c1HUmKQ" rel="stylesheet" href="/static/vendor/highlightjs-line-numbers/highlightjs-line-numbers.min.css?version=5.13.2"/>
|
||||
<style nonce="07MRZpeHFsqUoaEtP3c1HUmKQ">
|
||||
.hljs {
|
||||
background: #fff;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body id="home">
|
||||
|
||||
<!-- start masthead -->
|
||||
<nav class="navbar navbar-light masthead p-0 navbar-expand">
|
||||
<div class="container">
|
||||
<a href="/" class="navbar-brand">
|
||||
<img height=40px src="/theme/static/pagure-logo.png?version=5.13.2"
|
||||
alt="pagure Logo" id="pagureLogo"/>
|
||||
</a>
|
||||
<ul class="navbar-nav ml-auto">
|
||||
|
||||
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="btn btn-primary" href="/login/?next=https://src.fedoraproject.org/rpms/sgml-common/blob/rawhide/f/sgmlwhich.1">Log In</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- close masthead-->
|
||||
|
||||
<div class="bodycontent">
|
||||
|
||||
|
||||
<div class="bg-light border border-bottom pt-3">
|
||||
<div class="container">
|
||||
<div class="row mb-3">
|
||||
<div class="col-6">
|
||||
<div class="row">
|
||||
<div class="col-auto pr-0">
|
||||
<h3>
|
||||
<i class="fa fa-archive text-muted"></i></h3>
|
||||
</div>
|
||||
<div class="col-auto pl-2">
|
||||
<h3 class="mb-0">
|
||||
<a href="/projects/rpms/%2A">rpms</a> / <a href="/rpms/sgml-common"><strong>sgml-common</strong></a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<div class="btn-group">
|
||||
<div class="btn-group">
|
||||
<a href="#"
|
||||
class="btn btn-sm dropdown-toggle btn-outline-primary"
|
||||
data-toggle="dropdown" id="watch-button">
|
||||
<i class="fa fa-clone fa-fw"></i>
|
||||
<span>Clone</span>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right">
|
||||
<div class="m-3" id="source-dropdown" class="pointer">
|
||||
<div>
|
||||
<h5><strong>Source Code</strong></h5>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="input-group input-group-sm">
|
||||
<div class="input-group-prepend"><span class="input-group-text">GIT</span></div>
|
||||
<input class="form-control bg-white select-on-focus" type="text" value="https://src.fedoraproject.org/rpms/sgml-common.git" readonly>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul class="nav nav-tabs nav-small border-bottom-0">
|
||||
<li class="nav-item mr-2 text-dark">
|
||||
<a class="nav-link active" href="/rpms/sgml-common">
|
||||
<i class="fa fa-code fa-fw text-muted"></i>
|
||||
<span class="d-none d-md-inline">Source</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item mr-2 text-dark">
|
||||
<a class="nav-link" href="https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&classification=Fedora&product=Fedora&product=Fedora EPEL&component=sgml-common">
|
||||
<i class="fa fa-fw text-muted fa-exclamation-circle"></i>
|
||||
<span class="d-none d-md-inline">Issues </span>
|
||||
<span class="fa fa-external-link"></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item mr-2 text-dark">
|
||||
<a class="nav-link" href="/rpms/sgml-common/pull-requests">
|
||||
<i class="fa fa-fw text-muted fa-arrow-circle-down"></i>
|
||||
<span class="d-none d-md-inline">Pull Requests </span>
|
||||
<span class="badge badge-secondary py-0 d-none d-md-inline">
|
||||
0
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="nav-item mr-2 text-dark">
|
||||
<a class="nav-link" href="/rpms/sgml-common/stats">
|
||||
<i class="fa fa-line-chart fa-fw text-muted"></i>
|
||||
<span class="d-none d-md-inline">Stats</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container pt-5 repo-body-container">
|
||||
<div class="row">
|
||||
<div class="col-2">
|
||||
<nav class="nav nav-tabs nav-sidetabs flex-column">
|
||||
<a class=
|
||||
"nav-link nowrap
|
||||
"
|
||||
href="/rpms/sgml-common">
|
||||
<i class="fa fa-home text-muted fa-fw"></i> <span class="d-none d-md-inline">Overview</span>
|
||||
</a>
|
||||
<a class=
|
||||
"nav-link nowrap
|
||||
active"
|
||||
href="/rpms/sgml-common/tree/rawhide">
|
||||
<i class="fa fa-file-code-o text-muted fa-fw"></i> Files
|
||||
</a>
|
||||
<a class=
|
||||
"nav-link nowrap
|
||||
"
|
||||
href="/rpms/sgml-common/commits/rawhide">
|
||||
<i class="fa fa-list-alt text-muted fa-fw" data-glyph="spreadsheet"></i> Commits
|
||||
</a>
|
||||
<a class=
|
||||
"nav-link nowrap
|
||||
"
|
||||
href="/rpms/sgml-common/branches?branchname=rawhide">
|
||||
<i class="fa fa-random text-muted fa-fw"></i> Branches
|
||||
</a>
|
||||
<a class=
|
||||
"nav-link nowrap
|
||||
"
|
||||
href="/rpms/sgml-common/forks">
|
||||
<i class="fa fa-code-fork text-muted fa-fw"></i> Forks
|
||||
</a>
|
||||
<a class=
|
||||
"nav-link nowrap
|
||||
"
|
||||
href="/rpms/sgml-common/releases">
|
||||
<i class="fa fa-tags text-muted fa-fw"></i> Releases
|
||||
</a>
|
||||
|
||||
<div class="col-xs-2 line-height-1"></div>
|
||||
<h6>Monitoring status:</h6>
|
||||
<div class="btn-group">
|
||||
<button title="Monitoring status" class="btn btn-sm btn-outline-primary disabled"
|
||||
id="monitoring-button">
|
||||
<i id="monitoring-icon" class="fa fa-fw fa-eye"></i>
|
||||
<span id="monitoring-label" class="fa fa-circle-o-notch fa-spin fa-1x fa-fw"></span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-2 line-height-1"></div>
|
||||
<div id="orphan-section" class="pt-3">
|
||||
<div class="col-xs-2 line-height-1"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="pt-3">
|
||||
<div class="col-xs-2 line-height-1">
|
||||
<h6>Bugzilla Assignee:</h6>
|
||||
<dl>
|
||||
<dt>Fedora: </dt>
|
||||
<dd id="fedora_assignee_txt">
|
||||
ovasik
|
||||
</dd>
|
||||
<dt>EPEL: </dt>
|
||||
<dd id="epel_assignee_txt">
|
||||
ovasik
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="modal_assignee" tabindex="-1"
|
||||
role="dialog" aria-labelledby="Bugzilla assignee" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Bugzilla Assignee</h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">Close</span>
|
||||
</button>
|
||||
</div>
|
||||
<form id="change_assignees">
|
||||
<div class="modal-body">
|
||||
<label for="fedora_assignee">Fedora</label>
|
||||
<input title="Default assignee for Fedora in bugzilla - Empty input resets to default"
|
||||
class="form-control" name="fedora_assignee" id="fedora_assignee" value="ovasik"/>
|
||||
<label for="epel_assignee">EPEL</label>
|
||||
<input title="Default assignee for EPEL in bugzilla (if applicable) - Empty input resets to default"
|
||||
class="form-control" name="epel_assignee" id="epel_assignee" value="ovasik" />
|
||||
<p class="pt-2">
|
||||
These two fields allow to specify a different default assignee for ticket opened against
|
||||
this package in bugzilla. Note: The EPEL field is
|
||||
always displayed for packages in the 'rpms' namespace regardless of whether it
|
||||
is used in bugzilla or not. </p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-secondary" type="button" title="Update bugzilla overrides" id="reset_assignees">
|
||||
Reset to defaults
|
||||
</button>
|
||||
<button class="btn btn-primary" type="submit" title="Update bugzilla overrides" id="update_assignees">
|
||||
Update
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="modal_orphan" tabindex="-1"
|
||||
role="dialog" aria-labelledby="Orphan this package" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Orphan package</h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">Close</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label for="reason_menu">Reason</label>
|
||||
<select id="reason_menu" class="form-control">
|
||||
|
||||
<option id="lack_of_time_option_button">Lack of time</option>
|
||||
|
||||
<option id="do_not_use_it_option_button">Do not use it anymore</option>
|
||||
|
||||
<option id="unmaintained_option_button">Unmaintained upstream</option>
|
||||
|
||||
<option id="fails_to_build_option_button">Fails to build from source</option>
|
||||
|
||||
<option id="not_fixed_option_button">Important bug not fixed</option>
|
||||
|
||||
<option id="other_option_button">Other</option>
|
||||
</select>
|
||||
</div>
|
||||
<label for="orphan_reason_info">Additional info</label>
|
||||
<input title="Additional info for orphaning reason"
|
||||
class="form-control" name="orphan_reason_info" id="orphan_reason_info" value=""/>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary" type="submit" title="Orphan this package" id="orphan_button">
|
||||
Update
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" nonce="07MRZpeHFsqUoaEtP3c1HUmKQ">
|
||||
window.addEventListener('load', function() {
|
||||
set_up_monitoring = function(status){
|
||||
var _label = "Disabled"
|
||||
if (status === "monitoring") {
|
||||
_label = "Monitoring";
|
||||
$("#monitoring-icon").attr("class", "fa fa-fw fa-eye")
|
||||
} else if (status === "monitoring-with-scratch") {
|
||||
_label = "Scratch builds"
|
||||
$("#monitoring-icon").attr("class", "fa fa-fw fa-eye")
|
||||
} else {
|
||||
$("#monitoring-icon").attr("class", "fa fa-fw fa-eye-slash")
|
||||
}
|
||||
|
||||
$("#monitoring-label").text(_label);
|
||||
$("#monitoring-label").removeClass("fa fa-circle-o-notch fa-spin fa-1x fa-fw");
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: "/_dg/anitya/rpms/sgml-common",
|
||||
type: 'GET',
|
||||
dataType: 'json',
|
||||
success: function(res) {
|
||||
console.log(res);
|
||||
set_up_monitoring(res.monitoring)
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$("#reset_assignees").on('click', function(){
|
||||
$('#fedora_assignee').val('');
|
||||
$('#epel_assignee').val('');
|
||||
$("#change_assignees").submit();
|
||||
return false;
|
||||
});
|
||||
|
||||
$("#change_assignees").on('submit', function(){
|
||||
$('html').css('cursor', 'progress');
|
||||
$('#reset_assignees').attr('disabled', true);
|
||||
$('#update_assignees').attr('disabled', true);
|
||||
$('#update_assignees').text('Updating...');
|
||||
$.ajax({
|
||||
url: "/_dg/bzoverrides/rpms/sgml-common",
|
||||
type: 'POST',
|
||||
dataType: 'json',
|
||||
data: {
|
||||
'epel_assignee': $('#epel_assignee').val(),
|
||||
'fedora_assignee': $('#fedora_assignee').val()
|
||||
},
|
||||
success: function(res) {
|
||||
$("#fedora_assignee_txt").text(res.fedora_assignee);
|
||||
$("#epel_assignee_txt").text(res.epel_assignee);
|
||||
$('#modal_assignee').modal('hide');
|
||||
$('#reset_assignees').attr('disabled', false);
|
||||
$('#update_assignees').attr('disabled', false);
|
||||
$('#update_assignees').text('Update');
|
||||
$('html').css('cursor', 'default');
|
||||
console.log("Successfully changed the bugzilla assignees");
|
||||
return false;
|
||||
},
|
||||
error: function(res) {
|
||||
var msg = '';
|
||||
if(res.responseJSON.errors){
|
||||
msg = ': ' + res.responseJSON.errors.join(', ');
|
||||
}
|
||||
alert("Unable to update the bugzilla assignee(s)" + msg);
|
||||
$('html').css('cursor', 'default');
|
||||
$('#reset_assignees').attr('disabled', false);
|
||||
$('#update_assignees').attr('disabled', false);
|
||||
$('#update_assignees').text('Update');
|
||||
return false;
|
||||
}
|
||||
})
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: "/_dg/actived/rpms/sgml-common",
|
||||
type: 'GET',
|
||||
dataType: 'json',
|
||||
success: function(res) {
|
||||
var _btn = $("#take_orphan_button");
|
||||
if (!res.active){
|
||||
_btn.off("click");
|
||||
_btn.click(function(){
|
||||
window.open(
|
||||
"https://pagure.io/releng/new_issue?title="
|
||||
+ "Unretire rpms/sgml-common"
|
||||
+ "&template=package_unretiremet");
|
||||
});
|
||||
_btn.prop( "title", "Package retired - Open a releng ticket to adopt it" );
|
||||
_btn.html("Retired");
|
||||
}
|
||||
_btn.removeClass('disabled');
|
||||
}
|
||||
});
|
||||
|
||||
$("#orphan_button").click(function(){
|
||||
$("#orphan_button").attr("disabled", true);
|
||||
$.ajax({
|
||||
url: "/_dg/orphan/rpms/sgml-common",
|
||||
type: 'POST',
|
||||
dataType: 'json',
|
||||
data: {
|
||||
'orphan_reason': $('#reason_menu').val(),
|
||||
'orphan_reason_info': $('#orphan_reason_info').val()
|
||||
},
|
||||
success: function(res) {
|
||||
$("#point_of_contact_div").html("Package is currently unmaintained");
|
||||
$("#orphan_button").attr("disabled", false);
|
||||
$('#modal_orphan').modal('hide');
|
||||
$('#orphan-section').html('');
|
||||
},
|
||||
error: function(res) {
|
||||
if (res.responseJSON.errors) {
|
||||
alert('Unable to orphan the package: ' + res.responseJSON.errors);
|
||||
} else {
|
||||
alert('Unable to orphan the package: ' + res.responseJSON.error);
|
||||
}
|
||||
$("#orphan_button").attr("disabled", false);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</nav> </div>
|
||||
<div class="col-10">
|
||||
<div class="row mb-1">
|
||||
<div class="col-sm-6">
|
||||
<h3>
|
||||
Files
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6">
|
||||
<div class="float-right">
|
||||
<div class="btn-group">
|
||||
<a href="#" class="btn btn-outline-light border-secondary text-dark btn-sm dropdown-toggle"
|
||||
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="fa fa-random fa-fw"></span> Branch: <span class="font-weight-bold">rawhide</span>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right">
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f10">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f10</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f11">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f11</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f12">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f12</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f13">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f13</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f14">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f14</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f15">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f15</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f16">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f16</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f17">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f17</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f18">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f18</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f19">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f19</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f20">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f20</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f21">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f21</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f22">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f22</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f23">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f23</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f24">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f24</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f25">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f25</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f26">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f26</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f27">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f27</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f28">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f28</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f29">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f29</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f30">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f30</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f31">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f31</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f32">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f32</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f33">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f33</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f34">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f34</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f7">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f7</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f8">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f8</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/f9">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">f9</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 " href="/rpms/sgml-common/tree/main">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="">main</span>
|
||||
</a>
|
||||
<a class="dropdown-item pl-1 active" href="/rpms/sgml-common/tree/rawhide">
|
||||
<span class="fa fa-random fa-fw"></span> <span class="font-weight-bold">rawhide</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card mb-3">
|
||||
<div class="card-header">
|
||||
<ol class="breadcrumb p-0 bg-transparent mb-0">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="/rpms/sgml-common/tree/rawhide">
|
||||
<span class="fa fa-random">
|
||||
</span> rawhide
|
||||
</a>
|
||||
</li>
|
||||
<li class="active breadcrumb-item">
|
||||
<span class="fa fa-file" data-glyph="">
|
||||
</span> sgmlwhich.1
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="card-body p-0">
|
||||
<div class="bg-light border text-right pr-2">
|
||||
<form class="btn btn-sm" method="POST" name="fork_project"
|
||||
action="/fork_edit/rpms/sgml-common/edit/rawhide/f/sgmlwhich.1">
|
||||
<button class="btn btn-sm btn-secondary fork_project_btn">
|
||||
Fork and Edit
|
||||
</button>
|
||||
|
||||
</form>
|
||||
|
||||
<a class="btn btn-secondary btn-sm" href="/rpms/sgml-common/blob/rawhide/f/sgmlwhich.1" title="View as blob">Blob</a>
|
||||
|
||||
<a class="btn btn-secondary btn-sm" href="/rpms/sgml-common/blame/sgmlwhich.1?identifier=rawhide" title="View git blame">Blame</a>
|
||||
|
||||
<a class="btn btn-secondary btn-sm" href="/rpms/sgml-common/history/sgmlwhich.1?identifier=rawhide" title="View git log for this file">History</a>
|
||||
|
||||
<a class="btn btn-secondary btn-sm" href="/rpms/sgml-common/raw/rawhide/f/sgmlwhich.1" title="View as raw">Raw</a>
|
||||
</div>
|
||||
|
||||
<pre class="syntaxhighlightblock"><code class="">.TH SGMLWHICH 1
|
||||
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
|
||||
.\" other parms are allowed: see man(7), man(1)
|
||||
.SH NAME
|
||||
sgmlwhich \- prints location of main sgml configuration file
|
||||
.SH SYNOPSIS
|
||||
.B sgmlwhich
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
Simple script which prints location of main sgml configuration file.
|
||||
It is provided for consistency with non-LSB platforms.
|
||||
|
||||
.SH OPTIONS
|
||||
Script doesn't accept any options.
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.\" Always quote multiple words for .SH
|
||||
.BR sgml.conf (5)
|
||||
|
||||
.SH AUTHOR
|
||||
Eric Bischoff <eric@caldera.de>
|
||||
</code></pre>
|
||||
</div>
|
||||
</div> <!-- end .card-->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer pt-4 text-white">
|
||||
<div class="container">
|
||||
<div class="d-flex align-items-center">
|
||||
<div>
|
||||
<div>Powered by <a href="https://pagure.io/pagure" class="notblue">Pagure</a> 5.13.2</div>
|
||||
<div>
|
||||
<a href="https://docs.pagure.org/pagure/usage/index.html" class="notblue">Documentation</a> •
|
||||
<a href="https://pagure.io/pagure/new_issue" class="notblue">File an Issue</a> •
|
||||
<a href="/about">About this Instance</a> •
|
||||
<a href="/ssh_info" class="notblue">SSH Hostkey/Fingerprint</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ml-auto text-right">
|
||||
<div>© Red Hat, Inc. and others.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript" nonce="07MRZpeHFsqUoaEtP3c1HUmKQ" src="/static/vendor/jquery/jquery.min.js?version=5.13.2"></script>
|
||||
|
||||
<script src="/static/vendor/bootstrap/bootstrap.bundle.min.js?version=5.13.2"></script>
|
||||
|
||||
<script type="text/javascript" nonce="07MRZpeHFsqUoaEtP3c1HUmKQ">
|
||||
$('[data-toggle="tooltip"]').tooltip({placement : 'bottom'});
|
||||
$(".cancel_btn").click(function() {
|
||||
history.back();
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" nonce="07MRZpeHFsqUoaEtP3c1HUmKQ" src="/static/vendor/lazyload/lazyload.min.js?version=5.13.2"></script>
|
||||
|
||||
<script type="text/javascript" nonce="07MRZpeHFsqUoaEtP3c1HUmKQ">
|
||||
window.addEventListener("load", function(event) {
|
||||
lazyload();
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" nonce="07MRZpeHFsqUoaEtP3c1HUmKQ">
|
||||
$("#giturl-toggle").on('click', function(event){
|
||||
event.stopPropagation();
|
||||
$("#giturl-more").toggle();
|
||||
$("#giturl-toggle").hide();
|
||||
})
|
||||
|
||||
$(".fork_project_btn").click(function() {
|
||||
$('#fork_project').submit();
|
||||
});
|
||||
|
||||
$(".select-on-focus").on("focus", function() {
|
||||
$(this).select();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" nonce="07MRZpeHFsqUoaEtP3c1HUmKQ" src="/static/vendor/highlight.js/highlight.pack.js?version=5.13.2"></script>
|
||||
<script type="text/javascript" nonce="07MRZpeHFsqUoaEtP3c1HUmKQ" src="/static/vendor/highlightjs-line-numbers/highlightjs-line-numbers.min.js?version=5.13.2"></script>
|
||||
<script type="text/javascript" nonce="07MRZpeHFsqUoaEtP3c1HUmKQ" src="/static/vendor/highlight.js/spec.js?version=5.13.2"></script>
|
||||
|
||||
<script type="text/javascript" nonce="07MRZpeHFsqUoaEtP3c1HUmKQ">
|
||||
$(document).ready(function() {
|
||||
$('.fork_project_btn').click($("[name=fork_project]").submit);
|
||||
|
||||
$('pre.syntaxhighlightblock code').each(function(i, block) {
|
||||
hljs.highlightBlock(block);
|
||||
hljs.lineNumbersBlock(block);
|
||||
});
|
||||
|
||||
var cls = "highlighted-line";
|
||||
var lines = location.hash.substr(2).split('-').map(function (x) { return parseInt(x, 10) });
|
||||
if (! isNaN(lines[0]))
|
||||
{
|
||||
for (var i = lines[lines.length - 1]; i >= lines[0]; i--) {
|
||||
$('#_' + i).parent().parent().addClass(cls);
|
||||
}
|
||||
setTimeout(function(){
|
||||
$("#_" + lines[0]).get(0).scrollIntoView({behavior: "instant", block: "start", inline: "nearest"});
|
||||
}, 50);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" nonce="07MRZpeHFsqUoaEtP3c1HUmKQ">
|
||||
|
||||
function updateHighlight() {
|
||||
var cls = "highlighted-line";
|
||||
$('.' + cls).removeClass(cls)
|
||||
if (location.hash !== '') {
|
||||
var lines = location.hash.substr(2).split('-').map(function (x) { return parseInt(x, 10) });
|
||||
for (var i = lines[lines.length - 1]; i >= lines[0]; i--) {
|
||||
$('[data-line-number=' + i + ']').closest('tr').addClass(cls);
|
||||
}
|
||||
return lines;
|
||||
}
|
||||
return [];
|
||||
}
|
||||
$(window).on('hashchange', updateHighlight);
|
||||
var selected = [];
|
||||
$("[data-line-number]").click(function (ev) {
|
||||
var line = $(this).attr('data-line-number');
|
||||
if (ev.shiftKey) {
|
||||
selected = selected.slice(-1).concat(line);
|
||||
} else {
|
||||
selected = [line];
|
||||
}
|
||||
|
||||
var hash = '_' + selected[0];
|
||||
if (selected.length === 2) {
|
||||
hash = '_' + Math.min(selected[0], selected[1]) + '-' + Math.max(selected[0], selected[1]);
|
||||
}
|
||||
window.location.hash = hash;
|
||||
return false;
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
286
xml.xsd
Normal file
286
xml.xsd
Normal file
@ -0,0 +1,286 @@
|
||||
<?xml version='1.0'?>
|
||||
<?xml-stylesheet href="../../2008/09/xsd.xsl" type="text/xsl"?>
|
||||
<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns ="http://www.w3.org/1999/xhtml"
|
||||
xml:lang="en">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div>
|
||||
<h1>About the XML namespace</h1>
|
||||
|
||||
<div class="bodytext">
|
||||
<p>
|
||||
This schema document describes the XML namespace, in a form
|
||||
suitable for import by other schema documents.
|
||||
</p>
|
||||
<p>
|
||||
See <a href="http://www.w3.org/XML/1998/namespace.html">
|
||||
http://www.w3.org/XML/1998/namespace.html</a> and
|
||||
<a href="http://www.w3.org/TR/REC-xml">
|
||||
http://www.w3.org/TR/REC-xml</a> for information
|
||||
about this namespace.
|
||||
</p>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
See further below in this document for more information about <a
|
||||
href="#usage">how to refer to this schema document from your own
|
||||
XSD schema documents</a> and about <a href="#nsversioning">the
|
||||
namespace-versioning policy governing this schema document</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:attribute name="lang">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div>
|
||||
|
||||
<h3>lang (as an attribute name)</h3>
|
||||
<p>
|
||||
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.</p>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<h4>Notes</h4>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
|
||||
http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
|
||||
and the IANA language subtag registry at
|
||||
<a href="http://www.iana.org/assignments/language-subtag-registry">
|
||||
http://www.iana.org/assignments/language-subtag-registry</a>
|
||||
for further information.
|
||||
</p>
|
||||
<p>
|
||||
The union allows for the 'un-declaration' of xml:lang with
|
||||
the empty string.
|
||||
</p>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:union memberTypes="xs:language">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value=""/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:union>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attribute name="space">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div>
|
||||
|
||||
<h3>space (as an attribute name)</h3>
|
||||
<p>
|
||||
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.</p>
|
||||
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="default"/>
|
||||
<xs:enumeration value="preserve"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attribute name="base" type="xs:anyURI"> <xs:annotation>
|
||||
<xs:documentation>
|
||||
<div>
|
||||
|
||||
<h3>base (as an attribute name)</h3>
|
||||
<p>
|
||||
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.</p>
|
||||
|
||||
<p>
|
||||
See <a
|
||||
href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a>
|
||||
for information about this attribute.
|
||||
</p>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attribute name="id" type="xs:ID">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div>
|
||||
|
||||
<h3>id (as an attribute name)</h3>
|
||||
<p>
|
||||
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.</p>
|
||||
|
||||
<p>
|
||||
See <a
|
||||
href="http://www.w3.org/TR/xml-id/">http://www.w3.org/TR/xml-id/</a>
|
||||
for information about this attribute.
|
||||
</p>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attributeGroup name="specialAttrs">
|
||||
<xs:attribute ref="xml:base"/>
|
||||
<xs:attribute ref="xml:lang"/>
|
||||
<xs:attribute ref="xml:space"/>
|
||||
<xs:attribute ref="xml:id"/>
|
||||
</xs:attributeGroup>
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div>
|
||||
|
||||
<h3>Father (in any context at all)</h3>
|
||||
|
||||
<div class="bodytext">
|
||||
<p>
|
||||
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:
|
||||
</p>
|
||||
<blockquote>
|
||||
<p>
|
||||
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".
|
||||
</p>
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div xml:id="usage" id="usage">
|
||||
<h2><a name="usage">About this schema document</a></h2>
|
||||
|
||||
<div class="bodytext">
|
||||
<p>
|
||||
This schema defines attributes and an attribute group suitable
|
||||
for use by schemas wishing to allow <code>xml:base</code>,
|
||||
<code>xml:lang</code>, <code>xml:space</code> or
|
||||
<code>xml:id</code> attributes on elements they define.
|
||||
</p>
|
||||
<p>
|
||||
To enable this, such a schema must import this schema for
|
||||
the XML namespace, e.g. as follows:
|
||||
</p>
|
||||
<pre>
|
||||
<schema . . .>
|
||||
. . .
|
||||
<import namespace="http://www.w3.org/XML/1998/namespace"
|
||||
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
|
||||
</pre>
|
||||
<p>
|
||||
or
|
||||
</p>
|
||||
<pre>
|
||||
<import namespace="http://www.w3.org/XML/1998/namespace"
|
||||
schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
|
||||
</pre>
|
||||
<p>
|
||||
Subsequently, qualified reference to any of the attributes or the
|
||||
group defined below will have the desired effect, e.g.
|
||||
</p>
|
||||
<pre>
|
||||
<type . . .>
|
||||
. . .
|
||||
<attributeGroup ref="xml:specialAttrs"/>
|
||||
</pre>
|
||||
<p>
|
||||
will define a type which will schema-validate an instance element
|
||||
with any of those attributes.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
<div id="nsversioning" xml:id="nsversioning">
|
||||
<h2><a name="nsversioning">Versioning policy for this schema document</a></h2>
|
||||
<div class="bodytext">
|
||||
<p>
|
||||
In keeping with the XML Schema WG's standard versioning
|
||||
policy, this schema document will persist at
|
||||
<a href="http://www.w3.org/2009/01/xml.xsd">
|
||||
http://www.w3.org/2009/01/xml.xsd</a>.
|
||||
</p>
|
||||
<p>
|
||||
At the date of issue it can also be found at
|
||||
<a href="http://www.w3.org/2001/xml.xsd">
|
||||
http://www.w3.org/2001/xml.xsd</a>.
|
||||
</p>
|
||||
<p>
|
||||
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 <a href="http://www.w3.org/2001/xml.xsd">
|
||||
http://www.w3.org/2001/xml.xsd
|
||||
</a>
|
||||
will change accordingly; the version at
|
||||
<a href="http://www.w3.org/2009/01/xml.xsd">
|
||||
http://www.w3.org/2009/01/xml.xsd
|
||||
</a>
|
||||
will not change.
|
||||
</p>
|
||||
<p>
|
||||
Previous dated (and unchanging) versions of this schema
|
||||
document are at:
|
||||
</p>
|
||||
<ul>
|
||||
<li><a href="http://www.w3.org/2009/01/xml.xsd">
|
||||
http://www.w3.org/2009/01/xml.xsd</a></li>
|
||||
<li><a href="http://www.w3.org/2007/08/xml.xsd">
|
||||
http://www.w3.org/2007/08/xml.xsd</a></li>
|
||||
<li><a href="http://www.w3.org/2004/10/xml.xsd">
|
||||
http://www.w3.org/2004/10/xml.xsd</a></li>
|
||||
<li><a href="http://www.w3.org/2001/03/xml.xsd">
|
||||
http://www.w3.org/2001/03/xml.xsd</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
</xs:schema>
|
318
xmldsig-core-schema.xsd
Normal file
318
xmldsig-core-schema.xsd
Normal file
@ -0,0 +1,318 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE schema
|
||||
PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd"
|
||||
[
|
||||
<!ATTLIST schema
|
||||
xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#">
|
||||
<!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
|
||||
<!ENTITY % p ''>
|
||||
<!ENTITY % s ''>
|
||||
]>
|
||||
|
||||
<!-- Schema for XML Signatures
|
||||
http://www.w3.org/2000/09/xmldsig#
|
||||
$Revision: 1.2 $ on $Date: 2013-04-16 12:48:49 $ by $Author: denis $
|
||||
|
||||
Copyright 2001 The Internet Society and W3C (Massachusetts Institute
|
||||
of Technology, Institut National de Recherche en Informatique et en
|
||||
Automatique, Keio University). All Rights Reserved.
|
||||
http://www.w3.org/Consortium/Legal/
|
||||
|
||||
This document is governed by the W3C Software License [1] as described
|
||||
in the FAQ [2].
|
||||
|
||||
[1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
|
||||
[2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
|
||||
-->
|
||||
|
||||
|
||||
<schema xmlns="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
|
||||
targetNamespace="http://www.w3.org/2000/09/xmldsig#"
|
||||
version="0.1" elementFormDefault="qualified">
|
||||
|
||||
<!-- Basic Types Defined for Signatures -->
|
||||
|
||||
<simpleType name="CryptoBinary">
|
||||
<restriction base="base64Binary">
|
||||
</restriction>
|
||||
</simpleType>
|
||||
|
||||
<!-- Start Signature -->
|
||||
|
||||
<element name="Signature" type="ds:SignatureType"/>
|
||||
<complexType name="SignatureType">
|
||||
<sequence>
|
||||
<element ref="ds:SignedInfo"/>
|
||||
<element ref="ds:SignatureValue"/>
|
||||
<element ref="ds:KeyInfo" minOccurs="0"/>
|
||||
<element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="SignatureValue" type="ds:SignatureValueType"/>
|
||||
<complexType name="SignatureValueType">
|
||||
<simpleContent>
|
||||
<extension base="base64Binary">
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</extension>
|
||||
</simpleContent>
|
||||
</complexType>
|
||||
|
||||
<!-- Start SignedInfo -->
|
||||
|
||||
<element name="SignedInfo" type="ds:SignedInfoType"/>
|
||||
<complexType name="SignedInfoType">
|
||||
<sequence>
|
||||
<element ref="ds:CanonicalizationMethod"/>
|
||||
<element ref="ds:SignatureMethod"/>
|
||||
<element ref="ds:Reference" maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/>
|
||||
<complexType name="CanonicalizationMethodType" mixed="true">
|
||||
<sequence>
|
||||
<any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<!-- (0,unbounded) elements from (1,1) namespace -->
|
||||
</sequence>
|
||||
<attribute name="Algorithm" type="anyURI" use="required"/>
|
||||
</complexType>
|
||||
|
||||
<element name="SignatureMethod" type="ds:SignatureMethodType"/>
|
||||
<complexType name="SignatureMethodType" mixed="true">
|
||||
<sequence>
|
||||
<element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/>
|
||||
<any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<!-- (0,unbounded) elements from (1,1) external namespace -->
|
||||
</sequence>
|
||||
<attribute name="Algorithm" type="anyURI" use="required"/>
|
||||
</complexType>
|
||||
|
||||
<!-- Start Reference -->
|
||||
|
||||
<element name="Reference" type="ds:ReferenceType"/>
|
||||
<complexType name="ReferenceType">
|
||||
<sequence>
|
||||
<element ref="ds:Transforms" minOccurs="0"/>
|
||||
<element ref="ds:DigestMethod"/>
|
||||
<element ref="ds:DigestValue"/>
|
||||
</sequence>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
<attribute name="URI" type="anyURI" use="optional"/>
|
||||
<attribute name="Type" type="anyURI" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="Transforms" type="ds:TransformsType"/>
|
||||
<complexType name="TransformsType">
|
||||
<sequence>
|
||||
<element ref="ds:Transform" maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
<element name="Transform" type="ds:TransformType"/>
|
||||
<complexType name="TransformType" mixed="true">
|
||||
<choice minOccurs="0" maxOccurs="unbounded">
|
||||
<any namespace="##other" processContents="lax"/>
|
||||
<!-- (1,1) elements from (0,unbounded) namespaces -->
|
||||
<element name="XPath" type="string"/>
|
||||
</choice>
|
||||
<attribute name="Algorithm" type="anyURI" use="required"/>
|
||||
</complexType>
|
||||
|
||||
<!-- End Reference -->
|
||||
|
||||
<element name="DigestMethod" type="ds:DigestMethodType"/>
|
||||
<complexType name="DigestMethodType" mixed="true">
|
||||
<sequence>
|
||||
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
<attribute name="Algorithm" type="anyURI" use="required"/>
|
||||
</complexType>
|
||||
|
||||
<element name="DigestValue" type="ds:DigestValueType"/>
|
||||
<simpleType name="DigestValueType">
|
||||
<restriction base="base64Binary"/>
|
||||
</simpleType>
|
||||
|
||||
<!-- End SignedInfo -->
|
||||
|
||||
<!-- Start KeyInfo -->
|
||||
|
||||
<element name="KeyInfo" type="ds:KeyInfoType"/>
|
||||
<complexType name="KeyInfoType" mixed="true">
|
||||
<choice maxOccurs="unbounded">
|
||||
<element ref="ds:KeyName"/>
|
||||
<element ref="ds:KeyValue"/>
|
||||
<element ref="ds:RetrievalMethod"/>
|
||||
<element ref="ds:X509Data"/>
|
||||
<element ref="ds:PGPData"/>
|
||||
<element ref="ds:SPKIData"/>
|
||||
<element ref="ds:MgmtData"/>
|
||||
<any processContents="lax" namespace="##other"/>
|
||||
<!-- (1,1) elements from (0,unbounded) namespaces -->
|
||||
</choice>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="KeyName" type="string"/>
|
||||
<element name="MgmtData" type="string"/>
|
||||
|
||||
<element name="KeyValue" type="ds:KeyValueType"/>
|
||||
<complexType name="KeyValueType" mixed="true">
|
||||
<choice>
|
||||
<element ref="ds:DSAKeyValue"/>
|
||||
<element ref="ds:RSAKeyValue"/>
|
||||
<any namespace="##other" processContents="lax"/>
|
||||
</choice>
|
||||
</complexType>
|
||||
|
||||
<element name="RetrievalMethod" type="ds:RetrievalMethodType"/>
|
||||
<complexType name="RetrievalMethodType">
|
||||
<sequence>
|
||||
<element ref="ds:Transforms" minOccurs="0"/>
|
||||
</sequence>
|
||||
<attribute name="URI" type="anyURI"/>
|
||||
<attribute name="Type" type="anyURI" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<!-- Start X509Data -->
|
||||
|
||||
<element name="X509Data" type="ds:X509DataType"/>
|
||||
<complexType name="X509DataType">
|
||||
<sequence maxOccurs="unbounded">
|
||||
<choice>
|
||||
<element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/>
|
||||
<element name="X509SKI" type="base64Binary"/>
|
||||
<element name="X509SubjectName" type="string"/>
|
||||
<element name="X509Certificate" type="base64Binary"/>
|
||||
<element name="X509CRL" type="base64Binary"/>
|
||||
<any namespace="##other" processContents="lax"/>
|
||||
</choice>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
<complexType name="X509IssuerSerialType">
|
||||
<sequence>
|
||||
<element name="X509IssuerName" type="string"/>
|
||||
<element name="X509SerialNumber" type="integer"/>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
<!-- End X509Data -->
|
||||
|
||||
<!-- Begin PGPData -->
|
||||
|
||||
<element name="PGPData" type="ds:PGPDataType"/>
|
||||
<complexType name="PGPDataType">
|
||||
<choice>
|
||||
<sequence>
|
||||
<element name="PGPKeyID" type="base64Binary"/>
|
||||
<element name="PGPKeyPacket" type="base64Binary" minOccurs="0"/>
|
||||
<any namespace="##other" processContents="lax" minOccurs="0"
|
||||
maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
<sequence>
|
||||
<element name="PGPKeyPacket" type="base64Binary"/>
|
||||
<any namespace="##other" processContents="lax" minOccurs="0"
|
||||
maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
</choice>
|
||||
</complexType>
|
||||
|
||||
<!-- End PGPData -->
|
||||
|
||||
<!-- Begin SPKIData -->
|
||||
|
||||
<element name="SPKIData" type="ds:SPKIDataType"/>
|
||||
<complexType name="SPKIDataType">
|
||||
<sequence maxOccurs="unbounded">
|
||||
<element name="SPKISexp" type="base64Binary"/>
|
||||
<any namespace="##other" processContents="lax" minOccurs="0"/>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
<!-- End SPKIData -->
|
||||
|
||||
<!-- End KeyInfo -->
|
||||
|
||||
<!-- Start Object (Manifest, SignatureProperty) -->
|
||||
|
||||
<element name="Object" type="ds:ObjectType"/>
|
||||
<complexType name="ObjectType" mixed="true">
|
||||
<sequence minOccurs="0" maxOccurs="unbounded">
|
||||
<any namespace="##any" processContents="lax"/>
|
||||
</sequence>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
<attribute name="MimeType" type="string" use="optional"/> <!-- add a grep facet -->
|
||||
<attribute name="Encoding" type="anyURI" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="Manifest" type="ds:ManifestType"/>
|
||||
<complexType name="ManifestType">
|
||||
<sequence>
|
||||
<element ref="ds:Reference" maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="SignatureProperties" type="ds:SignaturePropertiesType"/>
|
||||
<complexType name="SignaturePropertiesType">
|
||||
<sequence>
|
||||
<element ref="ds:SignatureProperty" maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<element name="SignatureProperty" type="ds:SignaturePropertyType"/>
|
||||
<complexType name="SignaturePropertyType" mixed="true">
|
||||
<choice maxOccurs="unbounded">
|
||||
<any namespace="##other" processContents="lax"/>
|
||||
<!-- (1,1) elements from (1,unbounded) namespaces -->
|
||||
</choice>
|
||||
<attribute name="Target" type="anyURI" use="required"/>
|
||||
<attribute name="Id" type="ID" use="optional"/>
|
||||
</complexType>
|
||||
|
||||
<!-- End Object (Manifest, SignatureProperty) -->
|
||||
|
||||
<!-- Start Algorithm Parameters -->
|
||||
|
||||
<simpleType name="HMACOutputLengthType">
|
||||
<restriction base="integer"/>
|
||||
</simpleType>
|
||||
|
||||
<!-- Start KeyValue Element-types -->
|
||||
|
||||
<element name="DSAKeyValue" type="ds:DSAKeyValueType"/>
|
||||
<complexType name="DSAKeyValueType">
|
||||
<sequence>
|
||||
<sequence minOccurs="0">
|
||||
<element name="P" type="ds:CryptoBinary"/>
|
||||
<element name="Q" type="ds:CryptoBinary"/>
|
||||
</sequence>
|
||||
<element name="G" type="ds:CryptoBinary" minOccurs="0"/>
|
||||
<element name="Y" type="ds:CryptoBinary"/>
|
||||
<element name="J" type="ds:CryptoBinary" minOccurs="0"/>
|
||||
<sequence minOccurs="0">
|
||||
<element name="Seed" type="ds:CryptoBinary"/>
|
||||
<element name="PgenCounter" type="ds:CryptoBinary"/>
|
||||
</sequence>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
<element name="RSAKeyValue" type="ds:RSAKeyValueType"/>
|
||||
<complexType name="RSAKeyValueType">
|
||||
<sequence>
|
||||
<element name="Modulus" type="ds:CryptoBinary"/>
|
||||
<element name="Exponent" type="ds:CryptoBinary"/>
|
||||
</sequence>
|
||||
</complexType>
|
||||
|
||||
<!-- End KeyValue Element-types -->
|
||||
|
||||
<!-- End Signature -->
|
||||
|
||||
</schema>
|
Loading…
Reference in New Issue
Block a user