Re: XML_Query2XML: ISO/IEC 9075-14:2005 mapping
| From: | Arnaud Limbourg | Date: | Thu, 20 Apr 2006 07:11:39 +0000 |
| Subject: | Re: XML_Query2XML: ISO/IEC 9075-14:2005 mapping | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42301@lists.php.net to get a copy of this message | ||
Lukas Feiler wrote:
Hi, as Justin and Jesus suggested, I implemented ISO/IEC 9075-14:2005 for mapping SQL identifies to XML names within XML_Query2XML (voting in progress). I have 2 questions regarding the implementation: 1) What do you think about (not) making XML_Query2XML_ISO9075Mapper the default? ISO 9075-mapping is quite complex as it also requires Unicode support. Therefore my full implementation has 356 lines and on a PIII, 2.2 GHz it does only about 1755 mappings per second. Considering this overhead, I'm not sure if XML_Query2XML_ISO9075Mapper should be the default mapper. I guess a lot of people only use [a-Z_0-9]* for SQL identifiers and don't need any special mapping at all.Sounds like a safe assumption, the people who need it can use it. I agree with you that it should probably not be the default unless there is something I miss. Arnaud.