bad class completion in web.xml

When trying to complete class names in web.xml files (guess happens also in other files), incorrect code results.

Example
create a resource reference like

<resource-ref>
<res-ref-name>jms/auditQCF</res-ref-name>
<res-type>javax.jms.QCF</res-type>
<res-auth>Container</res-auth>
</resource-ref>

Then put the cursor after QCF and try ctrlaltspace.
the result is
<resource-ref>
<res-ref-name>jms/auditQCF</res-ref-name>
<res-type>javax.jms.javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>

which is obviously wrong

Please sign in to leave a comment.