Re: cvs: phpdoc /entities global.ent
| From: | Antony Dovgal | Date: | Wed, 04 Feb 2004 13:50:58 +0000 |
| Subject: | Re: cvs: phpdoc /entities global.ent | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969358740@lists.php.net to get a copy of this message | ||
On Wed, 4 Feb 2004 08:20:54 -0500 (EST)
Ken Tossell <ken@tossell.net> wrote:
> Ken Tossell
>
> On Wed, 4 Feb 2004, Antony Dovgal wrote:
>
> > On Tue, 03 Feb 2004 16:47:09 -0000
> > "Ken Tossell" <kennyt@php.net> wrote:
> >
> > > kennyt Tue Feb 3 11:47:09 2004 EDT
> >
> > > -<!ENTITY mdash '—'>
> > > +<!ENTITY mdash '—'>
> >
> > But make test complains about it.
> > Shouldn't it be '&mdash;' instead?
>
> I tried that, and it's passed to the client as, well, "&mdash;".
Yep, I was wrong about this.
>Make test shouldn't complain
But it does:
---
make test
touch .manual.xml
CONFIG_FILES=manual.xml CONFIG_HEADERS= ./config.status
creating manual.xml
/usr/bin/onsgmls -i lang-ru -D . -s ./dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml
/usr/bin/onsgmls:/nfs/phpdoc/en/reference/domxml/reference.xml:21:48:E: non SGML character number
151
/usr/bin/onsgmls:/nfs/phpdoc/en/reference/domxml/reference.xml:183:70:E: non SGML character number
151
/usr/bin/onsgmls:/nfs/phpdoc/en/reference/domxml/reference.xml:185:19:E: non SGML character number
151
---
Grepping manual sources I can see, that there is &mdash in
dtds/dbxml-4.1.2/ent/iso-pub.ent:14:<!ENTITY mdash "—">
So, I suppose your addition to global.ent is not necessary.
Removing your line from global.ent solves the problem.
---
WBR,
Antony Dovgal aka tony2001
tony2001@phpclub.net