I thought I would try to create a plugin for an XML like language using the XML DOM API. I created classes extending DomElement with @SubTag, @SubTagList and @Attribute annotations. I thought that using the DOM API would automatically add tag completion as well as attribute completion. The plugin does not mark any bad tags or attributes. I was wondering what I need to do to enable completion to work. I could not gather from the plugins cited at the end of the DOM API page anything about completion.
I even tried to write my own DTD so I could use the DOM API generator, but no files where generated, and no error was produced, it simply did not do anything. I have never created a DTD file, so it might not have been done properly.
I am not really sure what to do now, or where to look. Any thoughts or advice?