Re: [PHP-DOC] Re: phpdoc /en/language variables.xml

2001-08-21 Thread Hojtsy Gabor

   We at phpdoc try to at least be near to the XHTML spec,
  ^^
 
  Erm, I intended to write phpweb here. Sorry for the confusion.
 
   although we can't conform (because eg. the DSSSL style sheets
   producing ugly HTML). PHP is on the same way, as I can see,
   by nl2br() using br/ as the output. So the manual should follow
   the same path. The same reason is why I lowercased the HTML tags
   in the examples. At least we use HTML in examples (br for example),
   but it is close to XHTML... :))

 No, phpdoc was the right wording. This issue have to do with the manual
 and correct HTML, XHTML, and XML. At phpweb there are no DSSSL stylesheets
 :)

Erm, the http://www.php.net/manual/en/ pages are generated by
DSSSL stylesheets. They have some common code shared with the site,
but mainly DSSSL generated. With the common codes we try to be XHTML
compliant, but we can't do anything with DSSSL.

Goba




Re: [PHP-DOC] Re: phpdoc /en/language variables.xml

2001-08-20 Thread eschmid+sic

On Mon, Aug 20, 2001 at 09:14:59PM +0200, [EMAIL PROTECTED] wrote:
Log:
Fix missing HTML quote
 
(...)
 
  -lt;input type=image src=image.gif name=sub
  +lt;input type=image src=image.gif name=sub
 
 This isn't scrictly necessary, only if the value contains characters not in
 [a-zA-Z0-9_].
 
 I never use the quotes in this context... but it isn't wrong either, of
 course.

This patch was correct, because every attribute value should be enclosed
in quots. It is correct XML and we should not have bad examples in the
manual.

-Egon

-- 
All known books about PHP and related books: http://php.net/books.php 
Concert Band of the University of Hohenheim: http://www.concert-band.de/
First and second bestselling book in German: http://www.php-buch.de/



Re: [PHP-DOC] Re: phpdoc /en/language variables.xml

2001-08-20 Thread Jeroen van Wolffelaar

   -lt;input type=image src=image.gif name=sub
   +lt;input type=image src=image.gif name=sub
 
  This isn't scrictly necessary, only if the value contains characters not
in
  [a-zA-Z0-9_].
 
  I never use the quotes in this context... but it isn't wrong either, of
  course.

 This patch was correct, because every attribute value should be enclosed
 in quots. It is correct XML and we should not have bad examples in the
 manual.

This is HTML, not XML. But indeed it's best to be XML-compliant.

 -Egon

Jeroen





[PHP-DOC] Re: phpdoc /en/language variables.xml

2001-08-20 Thread Hojtsy Gabor

Log:
Fix missing HTML quote
 
(...)

  -lt;input type=image src=image.gif name=sub
  +lt;input type=image src=image.gif name=sub

 This isn't scrictly necessary, only if the value contains characters not
in
 [a-zA-Z0-9_].

 I never use the quotes in this context... but it isn't wrong either, of
 course.

We at phpdoc try to at least be near to the XHTML spec,
although we can't conform (because eg. the DSSSL style sheets
producing ugly HTML). PHP is on the same way, as I can see,
by nl2br() using br/ as the output. So the manual should follow
the same path. The same reason is why I lowercased the HTML tags
in the examples. At least we use HTML in examples (br for example),
but it is close to XHTML... :))

Goba




Re: [PHP-DOC] Re: phpdoc /en/language variables.xml

2001-08-20 Thread Hojtsy Gabor

 We at phpdoc try to at least be near to the XHTML spec,
^^

Erm, I intended to write phpweb here. Sorry for the confusion.

 although we can't conform (because eg. the DSSSL style sheets
 producing ugly HTML). PHP is on the same way, as I can see,
 by nl2br() using br/ as the output. So the manual should follow
 the same path. The same reason is why I lowercased the HTML tags
 in the examples. At least we use HTML in examples (br for example),
 but it is close to XHTML... :))

Goba




Re: [PHP-DOC] Re: phpdoc /en/language variables.xml

2001-08-20 Thread eschmid+sic

On Mon, Aug 20, 2001 at 11:59:44PM +0200, Hojtsy Gabor wrote:
  We at phpdoc try to at least be near to the XHTML spec,
 ^^
 
 Erm, I intended to write phpweb here. Sorry for the confusion.
 
  although we can't conform (because eg. the DSSSL style sheets
  producing ugly HTML). PHP is on the same way, as I can see,
  by nl2br() using br/ as the output. So the manual should follow
  the same path. The same reason is why I lowercased the HTML tags
  in the examples. At least we use HTML in examples (br for example),
  but it is close to XHTML... :))

No, phpdoc was the right wording. This issue have to do with the manual
and correct HTML, XHTML, and XML. At phpweb there are no DSSSL stylesheets
:)

-Egon

-- 
All known books about PHP and related books: http://php.net/books.php 
Concert Band of the University of Hohenheim: http://www.concert-band.de/
First and second bestselling book in German: http://www.php-buch.de/