Re: Default parser configuration
| From: | Jirka Kosek | Date: | Tue, 30 May 2006 21:12:46 +0000 |
| Subject: | Re: Default parser configuration | ||
| References: | 1 2 | Groups: | php.xml.dev |
| Request: | Send a blank email to php-xml-dev+get-587@lists.php.net to get a copy of this message | ||
Rob Richards wrote:
Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
I prefer not to since the user can set these. By having these default it would allow the parser to fetch remote files to support the document. imo, it is better to make the developer explicitly set these, in which case they at least know the parser may do this.But without these settings even entities will not be expanded and not recognized by XML parser. E.g. try to load XHTML page which contains © or ? You will get error message. This can be very confusing for people who do not know all oddities of XML. -- ------------------------------------------------------------------ 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 ------------------------------------------------------------------
Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s