Certain types of schemas (XML Schema, DTDs, Relax NG) can include annotations that document the various elements and attributes that they define. Oxygen XML Author Eclipse plugin can display these annotations when offering content completion suggestions. To configure the Annotations preferences, open the Preferences dialog box and go to .
To address the lack of dedicated annotation support in DTD
documents, Oxygen XML Author Eclipse plugin recommends prefixing with the doc:
particle all comments intended to be shown to the developer who writes an XML
validated against a DTD schema.
doc: comment is found in
the entire DTD, only comments of this type are displayed as annotations.doc: comment is found in the entire
DTD, all comments are considered annotations and displayed as such.If not selected, all comments, regardless of their type, are considered annotations and displayed as such.
http://relaxng.org/ns/structure/1.0, is considered annotation and is
displayed in the annotation window next to the Content Completion
Assistant window and in
the Model
view. When this option is not selected, only elements from the Relax NG
annotations namespace, that is
http://relaxng.org/ns/compatibility/annotations/1.0 are considered
annotations.