note 18952 rejected from function.xslt-process by alindeman

From: Date: Mon, 11 Feb 2002 13:21:09 +0000
Subject: note 18952 rejected from function.xslt-process by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-26471@lists.php.net to get a copy of this message
Is there differences in DTD handling using php and sabcmd? This is my index.xml: <?xml version="1.0" standalone="no" ?> <!DOCTYPE kuznecov SYSTEM "kuznecov.dtd"> <kuznecov> <caption>123 CAPTION HERE: &COPYRIGHT; </caption> </kuznecov> This is my kuznecov.dtd: <!ENTITY COPYRIGHT "(c) &#169; (c)"> By using $ sabcmd index.xsl index.xml index.xml.html.sabcmd DTD is touched, but <?php $xh = xslt_create(); xslt_process($xh, "index.xml", "index.xsl", "index.xml.html"); ?> no error messages appears and no DTD entity using: $ diff index.xml.html.sabcmd index.xml.html 13c13 < <h1>123 CAPTION HERE: (c) ¿ (c) </h1> --- > <h1>123 CAPTION HERE: </h1> By avoiding reference to kuznecov.dtd in index.xml error message appear., i.e. declaration is correct? File kuznecov.dtd is placed near index.xml .

« previous php.notes (#26471) next »