Default parser configuration

From: Date: Tue, 30 May 2006 20:56:25 +0000
Subject: Default parser configuration
Groups: php.xml.dev 
Request: Send a blank email to php-xml-dev+get-585@lists.php.net to get a copy of this message
Hi, currently if you create XML parser its default behaviour is to not replace entites, to not load external DTD and to not supply attribute default values. Although XML Recommendation allows very edge interpretation in which such behaviour is completely conforming, in most cases it makes sense to specify: LIBXML_NOENT|LIBXML_DTDLOAD|LIBXML_DTDATTR The majority of other XML parsers (including Java JAXP, MSXML and .NET) are also behaving like these three options were set. Are there any plans to make those settings default and make XML parser more easier to use? (I suppose that this change will not find it way into 5.x because of backward compatibility issues, but what about v6?) Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz ------------------------------------------------------------------ Profesionální školení a poradenství v oblasti technologií XML. Podívejte se na náš nově spuštěný web http://DocBook.cz Podrobný přehled školení http://xmlguru.cz/skoleni/ ------------------------------------------------------------------ Nejbližší termíny školení: ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 ** ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 ** ------------------------------------------------------------------ http://xmlguru.cz Blog mostly about XML for English readers ------------------------------------------------------------------

« previous php.xml.dev (#585) next »