Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341090 - XSD properties view for documentation tag shows irrelevant whitespace
Summary: XSD properties view for documentation tag shows irrelevant whitespace
Status: RESOLVED INVALID
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xsd (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: wst.xsd CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-28 08:23 EDT by Kristoffer Peterhänsel CLA
Modified: 2011-03-28 17:46 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristoffer Peterhänsel CLA 2011-03-28 08:23:44 EDT
Build Identifier: M20110210-1200

If you use the documentation tab in the properties view for an XSD it will by default write everything on one line. But if you then format the file the line will be broken up and tabbed in to match the XML formatter settings. That will in turn make the text in the properties view look strange.

In my opinion the view should just ignore extra white space. Although I guess it needs to preserve the line breaks as there is no way of knowing if they are intentional or not.

Reproducible: Always
Comment 1 Keith Chong CLA 2011-03-28 17:46:36 EDT
The view will not format the text or will not remove any extraneous white spaces.  It'll show the text as is.

See bug 187324 for the history.