Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32863 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93069 invoked by uid 1010); 18 Oct 2007 20:06:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 93054 invoked from network); 18 Oct 2007 20:06:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Oct 2007 20:06:35 -0000 Authentication-Results: pb1.pair.com header.from=rrichards@ctindustries.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rrichards@ctindustries.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ctindustries.net from 216.117.147.250 cause and error) X-PHP-List-Original-Sender: rrichards@ctindustries.net X-Host-Fingerprint: 216.117.147.250 unknown Received: from [216.117.147.250] ([216.117.147.250:38402] helo=ctindustries.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/B6-61918-9CCB7174 for ; Thu, 18 Oct 2007 16:06:35 -0400 Received: from [127.0.0.1] ([67.158.171.203]) (authenticated bits=0) by ctindustries.net (8.13.8/8.13.8) with ESMTP id l9IJvsng030227; Thu, 18 Oct 2007 15:59:28 -0400 Message-ID: <4717BC2A.6080109@ctindustries.net> Date: Thu, 18 Oct 2007 16:03:54 -0400 User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freyjkell@gmail.com CC: internals@lists.php.net References: <24.08.61918.93A87174@pb1.pair.com> In-Reply-To: <24.08.61918.93A87174@pb1.pair.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000782-1, 10/17/2007), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.91.2/4545/Wed Oct 17 17:05:57 2007 on ctindustries.net X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=4.4 tests=AWL autolearn=disabled version=3.1.9 X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on ctindustries.net Subject: Re: [PHP-DEV] [PHP DOM] Proposal of boolean property DOMDocument::keepCharacterEntities From: rrichards@ctindustries.net (Rob Richards) Not the place for a feature request and not going to happen. It is not supported in libxml2 because it is against the XML specs. Rob Freyjkell wrote: > (bool) DOMDocument::keepUnknownCharacterEntities = false; > > If set to true (before calling DOMDocument::load() or > DOMDocument::loadXML()), when parser will occur an unknown entity, it > won't crash, but let it alone. In DOMNode::textContent, > DOMNode::getAttribute() and similar, they will be omitted. During > importing it to another document, they will be moved without any changes. > > It could be useful for editing XHTML documents. > DOMDocument::resolveExternals is very slow. Even if DTD is on disk, it > includes many crappy code (i.e. references to XML Schema). >