[ http://issues.apache.org/jira/browse/DERBY-1776?page=all ]
Daniel John Debrunner updated DERBY-1776:
-----------------------------------------
Description:
create table t (i int, x xml);
select xmlserialize(x) from t;
ERROR 42Z72: XML syntax error; missing keyword(s): 'AS'.
This is not an 'XML Syntax error', it's a syntax in the SQL language. No need
to have a special error messgae here, wouldn't the error be caught by regular
parsing?
was:
create table t (i int, x xml);
select xmlserialize(x) from t;
ERROR 42Z72: XML syntax error; missing keyword(s): 'AS'.
This is not an 'XML Syntax error', it's a syntax in the SQL language. No need
to have a special error messgae here, wouldn't the error be caught be regular
parsing?
> ERROR 42Z72: XML syntax error; missing keyword(s): 'AS'. - Misleading text
> --------------------------------------------------------------------------
>
> Key: DERBY-1776
> URL: http://issues.apache.org/jira/browse/DERBY-1776
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Affects Versions: 10.2.1.0, 10.3.0.0
> Reporter: Daniel John Debrunner
> Priority: Minor
>
> create table t (i int, x xml);
> select xmlserialize(x) from t;
> ERROR 42Z72: XML syntax error; missing keyword(s): 'AS'.
> This is not an 'XML Syntax error', it's a syntax in the SQL language. No need
> to have a special error messgae here, wouldn't the error be caught by regular
> parsing?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira