Re: phd conversion
| From: | Christian Weiske | Date: | Sun, 05 Oct 2008 07:03:47 +0000 |
| Subject: | Re: phd conversion | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-11126@lists.php.net to get a copy of this message | ||
Hi again #2342,
> I'm currently getting my hands dirty making peardoc ready for phd and
> docbook 5.
I'm able to convert and use the full manual now - xmllint doesn't gripe
anymore. But using the configure script tells me there is still
something wrong - something that cannot be fixed using the xsl
stylesheet, we need to adopt the pear_conversion.php script.
We have lines like this:
<paramdef choice="opt">
integer <parameter>$mode = &null;</parameter>
</paramdef>
which expand to
<paramdef choice="opt">
integer <parameter>$mode = <constant>NULL</constant></parameter>
</paramdef>
but it should be
<paramdef choice="opt">
integer <parameter>$mode</parameter>
= <initializer>NULL</initializer>
</paramdef>
.
Since we're keeping the entities as they are and mask them using
comments, there is no way to transform this. Our script needs to
str_replace this. I saw issues with &null;, &true; and &false;.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-= Geeking around in the name of science since 1982 =-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc