0xCAB / idocit

Automatically exported from code.google.com/p/idocit
0 stars 0 forks source link

Improve rule for replacing white spaces in a WSDL #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a WSDL in iDocIt!
2. Add a documentation with new lines or tabs
3. Save changes
4. Open the WSDL file in Eclipse's XML-Editor
5. (Auto) format the WSDL and save changes
6. Reopen the WSDL in iDocIt!

What is the expected output? What do you see instead?
The documentation in iDocIt! should be as inserted previously. But all 
formatting white spaces are always replaced to " ". Therefore, in iDocIt! are 
displayed to many white spaces if the Eclipse Formatter has made something like 
this:

Example WSDL snippet:
[...]
<addressee group="Developer">
  This is a documentation
  <br />
  <br />
  for a public web
  <tab />
  service.
  <br />
</addressee>
[...]

In iDocIt!:
1)
[...]
This is a documentation 

 for a public web    service.
[...]

2)
This is a documentation{SPACE}{LINE_SEPARATOR}
{SPACE}{LINE_SEPARATOR}
{SPACE}for a public web{SPACE}{TAB}{SPACE}service.

Original issue reported on code.google.com by dirk.mei...@gmail.com on 14 Jun 2011 at 7:40