*** /home/nmisch/src/cvs/postgresql/src/test/regress/expected/xml.out 2011-06-20 00:51:56.000000000 -0400
--- /home/nmisch/src/cvs/postgresql/src/test/regress/results/xml.out 2011-06-20 01:19:20.000000000 -0400
***************
*** 223,234 ****
--- 223,240 ----
&idontexist;
^
SELECT xmlparse(content '');
+ WARNING: line 1: xmlns: < not a valid URI
+
+ ^
xmlparse
---------------------------
(1 row)
SELECT xmlparse(content '');
+ WARNING: line 1: xmlns: URI relative is not absolute
+
+ ^
xmlparse
--------------------------------
***************
*** 279,290 ****
--- 285,302 ----
&idontexist;
^
SELECT xmlparse(document '');
+ WARNING: line 1: xmlns: < not a valid URI
+
+ ^
xmlparse
---------------------------
(1 row)
SELECT xmlparse(document '');
+ WARNING: line 1: xmlns: URI relative is not absolute
+
+ ^
xmlparse
--------------------------------
***************
*** 779,790 ****
--- 791,808 ----
(1 row)
SELECT xml_is_well_formed('');
+ WARNING: line 1: xmlns: < not a valid URI
+
+ ^
xml_is_well_formed
--------------------
t
(1 row)
SELECT xml_is_well_formed('');
+ WARNING: line 1: xmlns: URI relative is not absolute
+
+ ^
xml_is_well_formed
--------------------
t
***************
*** 812,822 ****
-- which is invalid beecause '<' may not appear un-escaped in
-- attribute values.
SELECT xpath('/*', '');
! ERROR: could not parse XML document
! DETAIL: xmlns: '<' is not a valid URI
^
CONTEXT: SQL function "xpath" statement 1
-- Again, the XML isn't well-formed for namespace purposes
SELECT xpath('/*', '');
ERROR: could not parse XML document
--- 830,849 ----
-- which is invalid beecause '<' may not appear un-escaped in
-- attribute values.
SELECT xpath('/*', '');
! WARNING: line 1: xmlns: < not a valid URI
!
! ^
! LINE 1: SELECT xpath('/*', '');
! ^
! WARNING: line 1: xmlns: < not a valid URI
^
CONTEXT: SQL function "xpath" statement 1
+ xpath
+ ------------------------------
+ {""}
+ (1 row)
+
-- Again, the XML isn't well-formed for namespace purposes
SELECT xpath('/*', '');
ERROR: could not parse XML document
***************
*** 827,833 ****
-- XPath deprecates relative namespaces, but they're not supposed to
-- thrown an error, only a warning.
SELECT xpath('/*', '');
! WARNING: xmlns: URI relative is not absolute
^
CONTEXT: SQL function "xpath" statement 1
--- 854,865 ----
-- XPath deprecates relative namespaces, but they're not supposed to
-- thrown an error, only a warning.
SELECT xpath('/*', '');
! WARNING: line 1: xmlns: URI relative is not absolute
!
! ^
! LINE 1: SELECT xpath('/*', '');
! ^
! WARNING: line 1: xmlns: URI relative is not absolute
^
CONTEXT: SQL function "xpath" statement 1
======================================================================