Peter Eisentraut <[EMAIL PROTECTED]> writes:
> Where do you get the information that the second parameter of
> xmlGetUTF8Char is used on input?
>From reading the manual, eg here:
http://xmlsoft.org/html/libxml-xmlstring.html#xmlGetUTF8Char
regards, tom lane
-
Ben Leslie wrote:
> utf8len = 4; /* FIXME: How do we know how many characters it could
> be?*/ utf8char = xmlGetUTF8Char(&p[5], &utf8len);
Where do you get the information that the second parameter of
xmlGetUTF8Char is used on input?
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
Ben Leslie <[EMAIL PROTECTED]> writes:
> The reason for the bug is the new part of code in parse_xml_decl().
> Specifically, utf8len is not initialised causing the problem.
Yeah --- this also explains the regression test failures seen on some
but not all buildfarm machines. Will fix.
On Fri Nov 09, 2007 at 16:53:08 +0100, Peter Eisentraut wrote:
>Am Freitag, 9. November 2007 schrieb Ben Leslie:
>> # select xmlpi(name "xml-stylesheet");
>> ERROR: invalid XML processing instruction
>> DETAIL: XML processing instruction target name cannot start with "xml".
>
>Apparently I read t
Am Freitag, 9. November 2007 schrieb Ben Leslie:
> # select xmlpi(name "xml-stylesheet");
> ERROR: invalid XML processing instruction
> DETAIL: XML processing instruction target name cannot start with "xml".
Apparently I read the SQL spec a bit to strictly here. I've installed a fix
into CVS.
The following bug has been logged online:
Bug reference: 3735
Logged by: Ben Leslie
Email address: [EMAIL PROTECTED]
PostgreSQL version: 8.3 beta 2
Operating system: Mac OS X
Description:Can't create xml-stylesheet processing instruction
Details:
# select xmlpi(name