Re: cvs: peardoc /fr/package/database/db intro-dsn.xml intro-execute.xml intro-fetch.xml
| From: | Yannick TORRES | Date: | Sun, 27 Jun 2004 18:56:47 +0000 |
| Subject: | Re: cvs: peardoc /fr/package/database/db intro-dsn.xml intro-execute.xml intro-fetch.xml | ||
| References: | 1 2 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-4512@lists.php.net to get a copy of this message | ||
On Sunday 27 June 2004 19:48, Daniel Convissor wrote:
> Hi Yannick:
Hi
> On Sun, Jun 27, 2004 at 04:43:12PM -0000, Yannick TORRES wrote:
>
> === intro-dsn.xml ===
>
> > <para>
> > - Le format d'un DSN dans sa forme la plus complète est :
> > + Le format d'un DSN dans sa forme la plus compl?te est :
> > <programlisting role="url">
> > +<![CDATA[
> >
> > phptype(dbsyntax)://username:password@protocol+hostspec/database?option=v
> >alue +]]>
>
> Here, and in several other places, you switched to using CDATA's where the
> en versions don't.
Yes, and this declaration MUST be added to all examples in the documentation.
> Such modifications are likely to make long term
> maintenance more difficult.
No... i don't think that at all.
When you have an example like this :
<programlisting>
<![CDATA[
<?php
echo 'bonjour à tous';
?>
]]>
</programlisting>
You must encode "à", "<" and ">" if you don't use the
CDATA's declaration.
So, you can make easylier mistakes if you forget to encode one of this
caracter.
If you read most of changes in the EN documentation, you can see that these
modifications are done all the time. So, what's the problem to do it "before"
EN ?
> --Dan
>
> --
> T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> data intensive web and database programming
> http://www.AnalysisAndSolutions.com/
> 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
--
Yannick