<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head>
<body>
<p style="margin: 0pt;">
<span>
<span></span>
</span>
</p>
<p style="margin: 0px; "></p>
<div style="margin: 5px 0px;">
<br/>
Reinier Olislagers <reinierolislagers@gmail.com> hat am 9. Februar 2012 um 12:35 geschrieben:
<br/>
<br/>
> On 9-2-2012 12:18, Graeme Geldenhuys wrote:
<br/>
>[...] > On 9 February 2012 09:23, Hans-Peter Diettrich wrote:
<br/>
> >> A simple modification could help:
<br/>
> >> Let all preformatted text start on a new line, not directly after <pre> or
<br/>
> >> <code>. The document generators can remove that additional line ending, if
<br/>
> >> required.
<br/>
> > I think that is wrong! Maybe the help author wanted (or didn't want)
<br/>
> > a blank line to be the first line. Also doing what you say means that
<br/>
> > fpdoc must be modified because of FPDoc Editor? So what happens if we
<br/>
> > use another xml editor - modify fpdoc yet again?
<br/>
>
<br/>
> I agree with Graeme, but even more with Mattias' earlier post.
<br/>
> As Mattias mentioned, apparently the XML standard says that whitespace
<br/>
> can be ignored.
<br/>
>
<br/>
> I suggest that we follow Mattias' advice and find a way to preserve
<br/>
> whitespace the author wants displayed in the output while being XML
<br/>
> compliant.
<br/>
>
<br/>
> Example of xml:space="preserve":
<br/>
> http://msdn.microsoft.com/en-us/library/ms256097.aspx
<br/>
>
<br/>
> > I say abandon indentation of fpdoc XML files completely!
<br/>
> That might be a solution but would not be very robust if some
<br/>
> tool/author takes it upon himself (or erroneously introduces) whitespace
<br/>
> again.
<br/>
>
<br/>
> Also, it would not be clear that the FPDoc formats depends on whitespace
<br/>
> for its output, and would thus contravene XML standards, and hinder use
<br/>
> of tools that can work with standard XML to import/export FPDoc files.
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">See Michael's answer: Only "code" and "pre" should preserve whitespace.</p>
<p style="margin: 0px;">Anything more is a nice to have.</p>
<p style="margin: 0px;">This means after a small xml definition you can use any decent xml editor to edit fpdoc files. There are several ways to define this in xml. I have to look it up. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">I will improve the fpdoc editor to preserve more white spaces and to add the preserve definition.</p>
<p>And someone has to fix the output formats txt and man. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Mattias</p>
<p style="margin: 0px;"> </p>
</body>
</html>