This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The code completion works wrong when i wrote 2nd child element of sqlmap element(root element) after 1st child element
Please attach an example XML and schema (if any) for us to verify. Sorry, I've no idea what is ibatis sqlmap xml.
for examle:when write code before "<insert.....",the code completion is right,then write code after code "</insert>" the code completion only show "</sqlmap>" and "insert". <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE sqlMap PUBLIC '-//ibatis.apache.org//DTD SQL Map 2.0//EN' 'http://ibatis.apache.org/dtd/sql-map-2.dtd'> <sqlMap> <insert id="InsertUser" parameterClass="com.jiudao.eam.model.User"> insert into users(name) values(#name#); </insert> <select id="SelectAllUsers" resultClass="com.jiudao.eam.model.User"> select * from users; </select> </sqlMap>
Valid bug. Something is wrong with dtd based CC.
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.