Group: pgsql.bugs


Subject: BUG #3735: Can't create xml-stylesheet processing instruction
From: benno@benno.id.au ("Ben Leslie")
Date: 11/9/2007 1:20:16 PM
The following bug has been logged online: Bug reference: 3735 Logged by: Ben Leslie Email address: benno@benno.id.au PostgreSQL version: 8.3 beta 2 Operating system: Mac OS X Description: Can't create xml-stylesheet processing instruction Details: # select xmlpi(name "xml-stylesheet"); ERROR: invalid XML processing instruction DETAIL: XML processing instruction target name cannot start with "xml". The w3c XML 1.0 spec says that PIs starting with 'xml' are reserved. (http://www.w3.org/TR/REC-xml/#sec-pi) However the w3c stylesheet recommendation (http://www.w3.org/TR/xml-stylesheet/) specifies a xml-stylesheet processing instruction, so it would be useful to be able to handle this. ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Subject: BUG #3735: Can't create xml-stylesheet processing instruction
From: tgl@sss.pgh.pa.us (Tom Lane)
Date: 11/10/2007 1:35:42 PM
Ben Leslie <benno@benno.id.au> 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. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend

Subject: BUG #3735: Can't create xml-stylesheet processing instruction
From: tgl@sss.pgh.pa.us (Tom Lane)
Date: 11/11/2007 10:38:34 AM
Peter Eisentraut <peter_e@gmx.net> 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 ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org