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
    Priority: Minor


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 this:
<!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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to