Re: cvs: phpdoc /docbook/docbook-xml docbook.dtd
| From: | Richard Quadling | Date: | Thu, 24 Jul 2008 09:36:41 +0000 |
| Subject: | Re: cvs: phpdoc /docbook/docbook-xml docbook.dtd | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-1910@lists.php.net to get a copy of this message | ||
2008/7/23 Hannes Magnusson <bjori@php.net>
> bjori Wed Jul 23 18:44:36 2008 UTC
>
> Modified files:
> /phpdoc/docbook/docbook-xml docbook.dtd
> Log:
> Introduce new phpdoc:exception element.
> The only difference between phpdoc:exception and reference is that
> phpdoc:exception does not require refentry
>
>
>
>
> http://cvs.php.net/viewvc.cgi/phpdoc/docbook/docbook-xml/docbook.dtd?r1=1.3&r2=1.4&diff_format=u
> Index: phpdoc/docbook/docbook-xml/docbook.dtd
> diff -u phpdoc/docbook/docbook-xml/docbook.dtd:1.3
> phpdoc/docbook/docbook-xml/docbook.dtd:1.4
> --- phpdoc/docbook/docbook-xml/docbook.dtd:1.3 Mon Dec 10 16:29:47 2007
> +++ phpdoc/docbook/docbook-xml/docbook.dtd Wed Jul 23 18:44:36 2008
> @@ -25,6 +25,7 @@
> linkend IDREF #IMPLIED
> xmlns:xlink CDATA #FIXED
> 'http://www.w3.org/1999/xlink'
> xmlns:xi CDATA #FIXED
> 'http://www.w3.org/2001/XInclude'
> + xmlns:phpdoc CDATA #FIXED
> 'http://php.net/ns/phpdoc'
> xlink:href CDATA #IMPLIED
> xlink:type CDATA #IMPLIED
> xlink:role CDATA #IMPLIED
> @@ -2530,7 +2531,7 @@
>
> >
>
> -<!ELEMENT book (((title|titleabbrev|subtitle)*, info?),
>
> (glossary|bibliography|index|toc|dedication|acknowledgements|preface|chapter|appendix|article|colophon|part|reference)+)>
> +<!ELEMENT book (((title|titleabbrev|subtitle)*, info?),
>
> (glossary|bibliography|index|toc|dedication|acknowledgements|preface|chapter|appendix|article|colophon|part|reference|phpdoc:exception)+)>
>
> <!ATTLIST book
> xmlns CDATA #FIXED "�"yï†8dfžÅ
> v0http://docbook.org/ns/docbook"
> @@ -2747,6 +2748,18 @@
>
> >
>
> +<!ELEMENT exception (((title|titleabbrev|subtitle)*, info?), partintro?,
> (refentry)*)>
> +
> +<!ATTLIST exception
> + xmlns CDATA #FIXED
> "http://docbook.org/ns/docbook"
> + role CDATA #IMPLIED
> + %db.common.attributes;
> + %db.common.linking.attributes;
> + status CDATA #IMPLIED
> + label CDATA #IMPLIED
> +
> +>
> +
> <!ELEMENT refentry ((indexterm)*, info?, refmeta?, (refnamediv)+,
> refsynopsisdiv?, ((refsection)+|(refsect1)+))>
>
> <!ATTLIST refentry
>
>
>
> --
> PHP Documentation Commits Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Is it possible to leave the docbook dtd as is and have our own dtd which
extends theirs? Not sure of the right term. That way when/if DB5 upgrades,
we can drop in rather than manually upgrade their DTD. If this is not how
the DTD works, thats fine.
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"