Bug #7888 Updated: decrement syntax should be -- instead of -

From: Date: Sun, 23 Sep 2001 13:17:48 +0000
Subject: Bug #7888 Updated: decrement syntax should be -- instead of -
References: 1  Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-66392@lists.php.net to get a copy of this message
ID: 7888 Updated by: goba Reported By: jgoulooze@thinktoo.nl Status: Closed Bug Type: Documentation problem Operating System: NT & win98 using apache (phptria PHP Version: 4.0.2 Assigned To: hholzgra New Comment: I think Egon meant: | This means, you cannot write a "<" character | __outside__ a CDATA section of any XML file. | Only ">" is allowed. Extract from: http://www.w3.org/TR/2000/REC-xml-20001006#sec-cdata-sect | Within a CDATA section, only the CDEnd string is | recognized as markup, so that left angle brackets and | ampersands may occur in their literal form; they need | not (and cannot) be escaped using "&lt;" and "&amp;". So people can use < in CDATA. Outside CDATA, they can't. -- Goba Previous Comments: ------------------------------------------------------------------------ [2001-09-23 09:06:42] eschmid@php.net This "bug" is not a documentation problem. Building PostScript or PDF manuals with xml files renders two dashes into a long dash. This is a problem with Jade because it uses TeX. The "<" is another case. It is the first character for an element name in XML. This means, you cannot write a "<" character in the CDATA section of any XML file. Only ">" is allowed. Please use the mailinglist archives, it was discussed several times. ------------------------------------------------------------------------ [2001-09-23 08:48:52] jeroen@php.net The same goes for myself by the way: Now I recall where I read about that hack, it's in this very bug report... :-/ But that hack isn't in repository, Hartmut, is it okay for me to see wether I can add it in the repo? ------------------------------------------------------------------------ [2001-09-23 08:39:11] jeroen@php.net I use LaTeX a lot, and of course I know this feature, but that's not the point here! Please read the report carefully before closing. Reopening ------------------------------------------------------------------------ [2001-09-22 17:09:48] eschmid@php.net This is not a bug. It is a well known feature. If you use LaTeX you should know this. -Egon ------------------------------------------------------------------------ [2001-09-22 14:02:56] jeroen@php.net IIRC, somebody committed a hack to PDF generation to get <<< and -- correct, but in the latest PDF I notice that <<< is still incorrect, but -- is correct. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=7888 Edit this bug report at http://bugs.php.net/?id=7888&edit=1

« previous php.dev (#66392) next »