Default parser configuration

[email protected] (Jirka Kosek) Tue, 30 May 2006 22:56:25 +0200
Newsgroups php.xml.dev
Message-ID <[email protected]>
Hi,

currently if you create XML parser its default behaviour is to not=20
replace entites, to not load external DTD and to not supply attribute=20
default values. Although XML Recommendation allows very edge=20
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)=20
are also behaving like these three options were set.

Are there any plans to make those settings default and make XML parser=20
more easier to use? (I suppose that this change will not find it way=20
into 5.x because of backward compatibility issues, but what about v6?)

			Jirka

--=20
------------------------------------------------------------------
   Jirka Kosek     e-mail: [email protected]     http://www.kosek.cz
------------------------------------------------------------------
   Profesion=E1ln=ED =B9kolen=ED a poradenstv=ED v oblasti technologi=ED =
XML.
      Pod=EDvejte se na n=E1=B9 nov=EC spu=B9t=ECn=FD web http://DocBook.=
cz
        Podrobn=FD p=F8ehled =B9kolen=ED http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbli=BE=B9=ED term=EDny =B9kolen=ED:
        ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
     ** XSLT 23.-26.10.2006 ** XML sch=E9mata 13.-15.11.2006 **
------------------------------------------------------------------
   http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------