Oracle SQL XMLSERIALIZE syntax not supported · Issue #1564 · JSQLParser/JSqlParser · GitHub
Skip to content

Oracle SQL XMLSERIALIZE syntax not supported #1564

Description

@xiongtx

Oracle's XMLSERIALIZE differs from the parser's expectations in that it has a CONTENT keyword. The following example doesn't parse:

SELECT XMLSERIALIZE(CONTENT XMLTYPE('<Owner>Grandco</Owner>')) AS xmlserialize_doc
   FROM DUAL;
2. Unhandled net.sf.jsqlparser.JSQLParserException

1. Caused by net.sf.jsqlparser.parser.ParseException
   Encountered unexpected token: "XMLSERIALIZE" "XMLSERIALIZE" at line 1,
   column 8.
   
   Was expecting one of:
   
       "!"  "(" "*" "NOT" "STRAIGHT_JOIN"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions