#8850: syndication framework includes an extra newline using default templates
------------------------------------+---------------------------------------
Reporter: hopson | Owner: nobody
Status: new | Milestone:
Component: RSS framework | Version: 1.0
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by hopson):
* cc: [EMAIL PROTECTED] (added)
Comment:
True, but what I'm saying is that most text editors treat that newline at
the end of the file as a special case, and don't display it, and insert it
automatically. So most people can ignore the fact that it's there (and
do). And, it's downright difficult to get rid of, and when you do, many
tools (including svn) complain about the missing newline.
And again, since it's being included in the rendered output, it is the
actual data in the XML is different, and it's not immediately obvious why.
In my case I was consuming the feeds in another application, and I only
noticed the extra space because all comparisons based on the values of XML
fields would fail.
I'm okay with this being a non-issue - it probably won't affect most
people, there are several ways to work around it, and I can't think of a
great way to fix or document it; I just thought I'd bring it up.
--
Ticket URL: <http://code.djangoproject.com/ticket/8850#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---