Age | Commit message (Collapse) | Author |
|
Apply a stylesheet to <pgx:no_query /> in that case.
This is slightly out of the project scope, but handy in some
cases (helps to avoid dummy queries or additional software), and done
with a single line change.
|
|
Provide an error message on those. Also add an error message from
libpq when it's available.
|
|
It pulls Aeson, which is a rather large dependency (as does wai-extra,
but it's to be removed too), and its functionality was barely used
anyway.
|
|
The primary issue is that str:encode-uri function from EXSLT is not
available with HXT (but available with libxml's friends: libxslt and
libexslt, which are generally more complete). This function is
important for HTML documents.
Another reason is libxml being better documented and somewhat easier
to work with.
Yet another reason to switch is the intent to avoid dependencies that
reimplement common functionality, and/or normally get statically
linked.
|
|
- ResultError gets handled now
- No plain textual messages anymore
- An XML namespace is set, though an experimental one
Maybe the serialization should be changed to simplify templating. It
would also be nice to specify the schema (e.g., with relax ng), host
it, and use its URI for the namespace.
|
|
The initial working version, an example, and brief description are
included.
Error handling and reporting, perhaps HTTP headers, CLI arguments, and
documentation can still be improved, but that's for future commits.
|