The Problem:
I have a xsd schema with included documentation, like:
<xs:element name="Tag" type="XTag">
<xs:annotation>
<xs:documentation>
Do like this:
- foo
- bar
</xs:documentation>
</xs:annotation>
</xs:element>
When I view the documentation in Eclipse, the white-spaces are truncated to a single space, so I end up with:
Do like this: - foo - bar
This naturally limits readability when documentation is more than a little note. In javadoc for instance, one can one html tags to format the documentation
The question:
Is there any way to format the documentation, at least just adding newlines?
Some details:
I'm doing everything in Eclipse. The XSD i write is added to preferences -> XML -> XML catalog
, so I can get content assist and view documentation in the XML editor.
It's an internal tool and the only foreseeable place the documentation will be viewed is through Eclipse in the way described above. So if it works in eclipse, it's good enough :)