- From: Bill Braun <bbraun@hlthsys.com>
- Date: Wed, 27 Jan 2010 11:24:53 -0500
- To: "[list-email] W3 Amaya" <www-amaya@w3.org>
I have had occasion to do a lot of cut/copy > paste in the last few days. The results after paste have been erratic. I am suspicious of the manner in which Amaya uses carriage returns (CR) and line feeds (LF). Example:: First document markup is: <div id="first document"> <ul> <li>blah blah blah</li> <li>blah blah blah</li> <li>blah blah blah</li> <li>blah blah blah</li> </ul> </div> Second document markup is: <div id="second document"> <ul> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> </ul> </div> From the second document copy all characters between the pipes: <div id="second document"> <ul> | <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li>| </ul> </div> And paste over the same lines in the first document. <div id="first document"> <ul> | <li>blah blah blah</li> <li>blah blah blah</li> <li>blah blah blah</li> <li>blah blah blah</li>| </ul> </div> The results vary from document to document. Some of the observed results have been: <div id="first document"> <ul> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> </ul> </div> - - - - <div id="first document"> <ul> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> </ul> </div> - - - - - <div id="first document"> <ul> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> </ul> </div> - - - - - <div id="first document"> <ul> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> <li>mumble mumble mumble</li> </ul> </div> - - - - My guess is that Amaya does not consistently write CR and LF the same way, and since they are different in each document (and perhaps different in multiple places within the same document), cut/copy > paste produces erratic behavior. Regards, Bill Braun
Received on Wednesday, 27 January 2010 16:25:12 UTC