Home

On Oct 3, 6:18 am, "Jorgen Bodde" <jorgen.maill...@gmail.com> wrote:
> Should I file this as a bug to be solved? I have my workaround now,
> but I read online that more people seem to have ran into this.
Perhaps it is not a bug in that it does not violate the standard. But
I know that I have been annoyed by it any number of times. I think it
is fair to say that it violates the principle of least surprise.

IMHO "<action><p>Then a shot rang out.\nHe shouted.</p></action>"
should be pretty-printed as

<action>
<p>Then a shot rang out.
He shouted.</p>
</action>

That is, I perceive that the "right" behavior is to not add white
space to the textual data.

No doubt this is a matter of taste and of intended audience (and maybe
there are complications that I don't see). But let me urge you to
send the mataintainers something.

Jim Hefferon

previous
next

Re: encode() question
Re: "once" assigment in Python
Re: overloading << for map and multimap simultaneously
Re: best GUI library for vector drawing program
Re: Awkward format string
Podaruj Zycie
Mam Marzenie
Fundacja Avalon
Niechciane i Zapomniane
Fundacja Sloneczko