Peter Eisentraut
020841071b
Clean up encoding issues in the xml type: In text mode, encoding
...
declarations are ignored and removed, in binary mode they are honored as
specified by the XML standard.
2007-01-18 13:59:11 +00:00
Peter Eisentraut
2f8f76bcd5
Add support for xmlval IS DOCUMENT expression.
2007-01-14 13:11:54 +00:00
Peter Eisentraut
fc568b9d8f
Allow for arbitrary data types as content in XMLELEMENT. The original
...
coercion to type xml was a mistake. Escape values so they are valid
XML character data.
2007-01-12 16:29:24 +00:00
Peter Eisentraut
3a32ba2f3f
Prevent duplicate attribute names in XMLELEMENT.
2007-01-08 23:41:57 +00:00
Peter Eisentraut
d807c7ef3f
Some fine-tuning of xmlpi in corner cases:
...
- correct error codes
- do syntax checks in correct order
- strip leading spaces of argument
2007-01-07 22:49:56 +00:00
Peter Eisentraut
19749fb0cf
Replace xmlroot with a properly functioning version that parses the value,
...
sets the items, and serializes the value back (rather than adding an
arbitrary number of XML preambles as before).
The libxml memory management via palloc had to be disabled because it
crashes when libxml tries to access memory that was helpfully freed
earlier by PostgreSQL. This needs further thought.
2007-01-06 19:18:36 +00:00
Peter Eisentraut
d9e1c97feb
Handle content and document options in xmlparse() correctly.
2006-12-28 03:17:38 +00:00
Peter Eisentraut
8c1de5fb00
Initial SQL/XML support: xml data type and initial set of functions.
2006-12-21 16:05:16 +00:00