diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2015-05-19 21:00:24 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2015-05-19 21:00:24 +0200 |
commit | a0b6f5b205968a446f2116deeb2ef3ce0b56c60f (patch) | |
tree | 9ede7e30035c6a50f9323b64a8cc92b0dda514f1 /devhelp2.xsd | |
parent | 7d8474eb51a1df42f58434b93ebba6f918ab3cd3 (diff) | |
download | gtk-doc-a0b6f5b205968a446f2116deeb2ef3ce0b56c60f.tar.gz |
devhelp: readd the xml namespace
Inline the xsd attributes. Apparently unqualified attribute namespaces don't
work with referenced attributes.
Diffstat (limited to 'devhelp2.xsd')
-rw-r--r-- | devhelp2.xsd | 180 |
1 files changed, 91 insertions, 89 deletions
diff --git a/devhelp2.xsd b/devhelp2.xsd index f436087..b90d2ad 100644 --- a/devhelp2.xsd +++ b/devhelp2.xsd @@ -4,7 +4,10 @@ get http://xml.fiforms.org/xs3p/ and generate docs xsltproc -o devhelp2.xsd.html $HOME/download/xs3p-1.1.3/xs3p.xsl devhelp2.xsd --> <xsd:schema - xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.devhelp.net/book" + xmlns="http://www.devhelp.net/book" + elementFormDefault="qualified"> <xsd:annotation> <xsd:documentation> @@ -50,79 +53,6 @@ xsltproc -o devhelp2.xsd.html $HOME/download/xs3p-1.1.3/xs3p.xsl devhelp2.xsd </xsd:restriction> </xsd:simpleType> - <xsd:attribute name="title" type="xsd:string"> - <xsd:annotation> - <xsd:documentation> - Title of the reference manual. - </xsd:documentation> - </xsd:annotation> - </xsd:attribute> - <xsd:attribute name="link" type="xsd:string"> - <xsd:annotation> - <xsd:documentation> - Entry point to the manual. Can be given as a relative path to the - location of the devhelp2 file.. - </xsd:documentation> - </xsd:annotation> - </xsd:attribute> - <xsd:attribute name="author" type="xsd:string"> - <xsd:annotation> - <xsd:documentation> - Author of the document. Multiple authors are separated by ','. - </xsd:documentation> - </xsd:annotation> - </xsd:attribute> - <xsd:attribute name="name" type="xsd:string"> - <xsd:annotation> - <xsd:documentation> - Short name of the manual. - </xsd:documentation> - </xsd:annotation> - </xsd:attribute> - <xsd:attribute name="version" type="xsd:integer"> - <xsd:annotation> - <xsd:documentation> - Version of the devhelp xml specification (2). - </xsd:documentation> - </xsd:annotation> - </xsd:attribute> - <xsd:attribute name="language" type="language-type"> - <xsd:annotation> - <xsd:documentation> - Programing language this manual refers to. - </xsd:documentation> - </xsd:annotation> - </xsd:attribute> - - <xsd:attribute name="type" type="keyword-type"> - <xsd:annotation> - <xsd:documentation> - Type of the keyword. - </xsd:documentation> - </xsd:annotation> - </xsd:attribute> - <xsd:attribute name="since" type="xsd:string"> - <xsd:annotation> - <xsd:documentation> - Version since that the keyword is part of the API. - </xsd:documentation> - </xsd:annotation> - </xsd:attribute> - <xsd:attribute name="deprecated" type="xsd:string"> - <xsd:annotation> - <xsd:documentation> - Marks the keyword as deprecated. - </xsd:documentation> - </xsd:annotation> - </xsd:attribute> - <xsd:attribute name="stability" type="xsd:string"> - <xsd:annotation> - <xsd:documentation> - Document the stability status. - </xsd:documentation> - </xsd:annotation> - </xsd:attribute> - <xsd:element name="sub"> <xsd:annotation> @@ -134,8 +64,8 @@ xsltproc -o devhelp2.xsd.html $HOME/download/xs3p-1.1.3/xs3p.xsl devhelp2.xsd <xsd:sequence> <xsd:element ref="sub" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> - <xsd:attribute ref="name" use="required"/> - <xsd:attribute ref="link" use="required"/> + <xsd:attribute name="name" type="xsd:string" use="required"/> + <xsd:attribute name="link" type="xsd:string" use="required"/> </xsd:complexType> </xsd:element> @@ -160,12 +90,48 @@ xsltproc -o devhelp2.xsd.html $HOME/download/xs3p-1.1.3/xs3p.xsl devhelp2.xsd </xsd:documentation> </xsd:annotation> <xsd:complexType> - <xsd:attribute ref="type" use="required"/> - <xsd:attribute ref="name" use="required"/> - <xsd:attribute ref="link" use="required"/> - <xsd:attribute ref="since"/> - <xsd:attribute ref="deprecated"/> - <xsd:attribute ref="stability"/> + <xsd:attribute name="type" type="keyword-type" use="required"> + <xsd:annotation> + <xsd:documentation> + Type of the keyword. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="name" type="xsd:string" use="required"> + <xsd:annotation> + <xsd:documentation> + Keyword name. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="link" type="xsd:string" use="required"> + <xsd:annotation> + <xsd:documentation> + Relative link for the keyword. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="since" type="xsd:string"> + <xsd:annotation> + <xsd:documentation> + Version since that the keyword is part of the API. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="deprecated" type="xsd:string"> + <xsd:annotation> + <xsd:documentation> + Marks the keyword as deprecated. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="stability" type="xsd:string"> + <xsd:annotation> + <xsd:documentation> + Document the stability status. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> </xsd:complexType> </xsd:element> @@ -195,13 +161,49 @@ xsltproc -o devhelp2.xsd.html $HOME/download/xs3p-1.1.3/xs3p.xsl devhelp2.xsd <xsd:element ref="chapters" minOccurs="1" maxOccurs="1"/> <xsd:element ref="functions" minOccurs="1" maxOccurs="1"/> </xsd:sequence> - <xsd:attribute ref="title" use="required"/> - <xsd:attribute ref="link" use="required"/> - <xsd:attribute ref="author" use="required"/> - <xsd:attribute ref="name" use="required"/> - <xsd:attribute ref="version" use="required"/> - <xsd:attribute ref="language" /> + <xsd:attribute name="title" type="xsd:string" use="required"> + <xsd:annotation> + <xsd:documentation> + Title of the reference manual. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="link" type="xsd:string" use="required"> + <xsd:annotation> + <xsd:documentation> + Entry point to the manual. Can be given as a relative path to the + location of the devhelp2 file. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="author" type="xsd:string" use="required"> + <xsd:annotation> + <xsd:documentation> + Author of the document. Multiple authors are separated by ','. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="name" type="xsd:string" use="required"> + <xsd:annotation> + <xsd:documentation> + Short name of the manual. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="version" type="xsd:integer" use="required"> + <xsd:annotation> + <xsd:documentation> + Version of the devhelp xml specification (2). + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="language" type="language-type"> + <xsd:annotation> + <xsd:documentation> + Programing language this manual refers to. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> </xsd:complexType> </xsd:element> </xsd:schema> - |