bug/question regarding _translateAmpersand();
Brought to you by:
bs_php,
nigelswinson
From: Spencer R. <oob...@ya...> - 2004-09-11 02:53:37
|
Hi everyone. First I'd like to say that PHP.XPath has made my life a hell of a lot easier. Thanks! Second, I'd like to mention what I think is a bug. I'm using v3.5 and it chokes on ©, >, and < (maybe more, but those are what I've used). I've traced through the _translateAmpersand() function in the .class file, and I don't see why it doesn't work. When I use any of those entities normally, Firefox tells me it's an empty document and won't load. When I manually make the corrections (ie. "&copy;") in my sources, the output source from PHP.XPath generates "&©", and it displays the desired character preceded by an & in the browser view. Am I using it wrong? is this a bug? Here's my config (Apache/2.0.50 (Win32) PHP/5.0.0) Thanks, oobleck P.S. Ok, I see it now. I'm using PHP5, but it seems not to work at all in PHP5. How can I circumvent this problem? Any ideas? _______________________________ Do you Yahoo!? Shop for Back-to-School deals on Yahoo! Shopping. http://shopping.yahoo.com/backtoschool |