ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clinton Begin (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Closed: (IBATIS-195) Sqlmap DTD: include tag not permitted in selectKey element
Date Mon, 03 Oct 2005 02:39:49 GMT
     [ http://issues.apache.org/jira/browse/IBATIS-195?page=all ]
Clinton Begin closed IBATIS-195:

    Fix Version: 2.2.0
     Resolution: Fixed
      Assign To: Clinton Begin

Fixed as described.  Thanks for testing it out.

> Sqlmap DTD: include tag not permitted in selectKey element
> ----------------------------------------------------------
>          Key: IBATIS-195
>          URL: http://issues.apache.org/jira/browse/IBATIS-195
>      Project: iBatis for Java
>         Type: Bug
>     Versions: 2.1.5
>  Environment: N/A
>     Reporter: Jamison
>     Assignee: Clinton Begin
>     Priority: Minor
>      Fix For: 2.2.0

> The current sql map dtd does not permit <include> inside a <selectKey>. I
had planned to externalize primary key generation behaviour using <sql> elements. I
believe that this is a defect, but I suppose it could also be interpreted as feature request.

> I would really, really appreciate if this little change could be in the next release,
it does not even require a code change, by changing the selectKey element declaration from
> <!ELEMENT selectKey (#PCDATA) >
> to this:
> <!ELEMENT selectKey (#PCDATA | include)*>
> it can be fixed, I have tested it and it works fine so it seems to be supported by the
underlying config parsing.
> PS: 2.1.5 is a released version but JIRA seems to think it is not.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message