I am working on xmltable function. This function is used for simple data extraction from XML documents. In this moment I am working on prototype's parser.
I am able to implement the default clause with c_expr - It is enough for almost all usage.
What is question?
A Oracle db uses little bit different syntax - the DEFAULT and PATH clause are in different order. This is little bit better for Postgres too - now I can use a_expr in DEFAULT clause - what can be little bit better for other than text types.
What should be preferrable? ANSI SQL syntax or Oracle syntax? This is not often task - I didn't find any example with DEFAULT clause for Oracle.