[ http://issues.apache.org/jira/browse/DERBY-1776?page=comments#action_12435590 ]
Daniel John Debrunner commented on DERBY-1776:
----------------------------------------------
Yes, though the loss of the line and column number is a shame.
Be useful to know how you implemented this, so that other more helpful messages could be added
in the future.
Maybe add to the wiki?
http://wiki.apache.org/db-derby/LanguageSystem
> 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
|