php-groups.com | Post Question | Search | About | Groups | Contact | Register | Login


New in This Group

Howto: Remove XML, doctype and top-level namespace declarations from DOMDocument
3/29/2008 8:10:58 PM

DOM Traversal interfaces
5/17/2006 5:59:44 PM

webservice
3/30/2006 2:33:46 PM

Lack of configuration support in SAX interface
9/8/2005 8:43:33 PM

Custom Tag
3/16/2005 9:23:27 AM

Encoding Values in DOMXPath Query Expressions
3/15/2005 12:16:15 AM

DTD validation problem
2/23/2005 8:24:51 PM

XML catalog support in PHP
2/2/2005 6:05:07 PM

SimpleXML behaves like chameleon
1/31/2005 8:14:11 PM

xmlrpc_encode_request does not produce XML output
12/14/2004 11:20:07 PM

XML catalog support in PHP Reply

Group: php.xml.dev Subscribe Posted:2/2/2005 6:05:07 PM Replies:0 Views:15 Items(0)
Hi,

libxml2 supports XML catalogs which can be used to redirect entity=20
resolution (external DTDs, XIncludes, imported/included stylesheets).=20
Unfortunately I din't found how to enable XML catalogs support in PHP.
Are XML catalogs supported? If not, wouldn't it be good idea to support=20
them?

Jirka

--=20
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz 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/
------------------------------------------------------------------
ji...@kosek.cz (Jirka Kosek)
2/2/2005 6:05:07 PM






On 2.2.2005 19:05 Uhr, Jirka Kosek wrote:
> Hi,
>
> libxml2 supports XML catalogs which can be used to redirect entity
> resolution (external DTDs, XIncludes, imported/included stylesheets).
> Unfortunately I din't found how to enable XML catalogs support in PHP.
> Are XML catalogs supported? If not, wouldn't it be good idea to support
> them?

They are. See http://www.whump.com/moreLikeThis/link/03815

chregu

>
> Jirka
>

--
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB
chr...@bitflux.ch (Christian Stocker)
2/2/2005 6:27:48 PM

Christian Stocker wrote:

> They are. See http://www.whump.com/moreLikeThis/link/03815

I tried it under Windows and it doesn't work. In Windows there si no=20
default place for XML catalog like /etc/xml/catalog in Unix. List of=20
catalog files is taken from XML_CATALOG_FILES is taken from environment=20
variable. This works in libxml2 (e.g. xmllint) when used from command=20
line but it doesn't work through PHP+Apache. Any idea?

And even if it would work I think that PHP should offer API that will=20
allow to register set of catalog files for each script because each user =

can have different catalog files.

Jirka

--=20
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz 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/
------------------------------------------------------------------
ji...@kosek.cz (Jirka Kosek)
2/3/2005 9:30:01 AM


Reply:
| or Email(not shown): Name: | Register | Login

Alert me when someone responds to this posting.











Newest Articles

note 97095 added to soapclient.soapclient
4/1/2010 5:58:19 AM

note 97094 added to function.sqlite-changes
4/1/2010 5:06:46 AM

note 97093 added to function.sqlite-changes
4/1/2010 5:06:21 AM

note 97092 added to ref.xmlrpc
4/1/2010 4:52:18 AM

note 97091 added to function.var-export
4/1/2010 3:32:03 AM