W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

Re: JTidy new line processing

From: Andy Quick <ac.quick@sympatico.ca>
Date: Wed, 7 Jun 2000 22:28:08 -0400
Message-ID: <003001bfd0f1$300394a0$8e42acce@quick>
To: <html-tidy@w3.org>
I guess I should have looked at the XML specification again
before my previous message.  Section 2.11 seems to say that
#xD or #xDxA should be treated as end-of-line and mapped to
#xA when passed to the parser.

I don't see the "consistency" requirement where the line-ends
must be consistent throughout the document.  If that is the case,
tidy would need some sort of pre-parsing pass to determine
what the line-end sequence is before parsing.

Treating #xD as a lineend is a simple change, but what about
the consistency requirement?

Andy Quick
Received on Wednesday, 7 June 2000 22:29:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:48 UTC