What is it about this markup that breaks DW CS3 Design View Editing?

Folks:
I'm attaching very simple --and apparently completely valid-- markup that generates the text shown between the markers below:
------------start----------------
yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda badda.
------------end----------------
As you can see by examining the file, it contains only an span enclosing text and spaces, and some following breaks.  This file passes DW validation: no errors or warnings.
If I open this file in DW CS3 Design View, select and delete the last word, "badda", the entire text --every "yadda"--  is also deleted.  All that text is really gone -- if I immediately save the file and re-open it, there is no text content at all, just the span pair,  spaces, and the trailing breaks.  This is completely repeatable.
When you edit this file, do you get the same result?
The attached file is a cut-down, simplified version of a production file that exhibits this issue. (That file also passes validation.)   When I delete single  words,  entire content paragraphs disappear.   So this is not just a point of curiosity.  I need to figure out how to fix the production code and avoid this problem in the future.
What is it about the attached markup that causes this issue?  I've fooled around with this code quite a bit and the best I can figure out is that DW is confused when both the start- and end- span tags are followed immediately by a line break.  Inserting a space in either place makes the issue go away.   But the production code doesn't have any occurances of this pattern. And, anyway, line-breaks have no significance to html, just for source-code formatting, right?
Am I missing something incredibly obvious?
TIA
hen3ry

Nancy O:
Thank you for your response, which gave me  valuable clues to understanding the issues.   (Specifically, it led me to re-read and understand better the nitty-gritty of the HTML4 specs,  section 7, "The global structure of an HTML Document", especially 7.5.1 The BODY element.)
I believe you are saying --in sum--  that to be reliably edited in DW, each source file must comprise a syntactically correct and complete HTML Document. 
I am attaching a second file, "badcode2.html", modified substantially as you suggest.  It passes the DW validator, the validator.w3.org test, and the www.totalvalidator.com test.    No errors or warnings. 
I do this:   Launch DW, open this file, choose Design View if necessary, select the final word of text, "badda", and activate Edit-->Cut (or Delete).   As before, all the other text is deleted as well. This is repeatable. 
It seems to me this sample code satisfies your general principle.  Could I be misapplying the three validation tests?  Or that passing these tests does not assure the document  is syntactically correct and complete?   Can you recommend other tests? 
I'd like to add the following two points as a matter of background and a bit of niggling: 
--I'm aware  that complete HTML pages must contain <html> , <head>,  and <body> tags, although the HTML4 specification seems to say <body> tags are optional.   All my production pages, as served, contain these tags.   My underlying design is a php template with individual content files incorporated by inclusion.   There may be only one set of <html> , <head>,  and <body> in  a  page. The  "outer" template code provides these tags, and individual content files cannot contain a nested set -- so they must be "bare" markup.   Is DW able to support this design, in which "bare markup" files are seemingly unavoidable?    Is there a mechanism analogous to DW Design-Time Style Sheets to provide virtual existence of these tags so "bare markup" files can be successfully edited?  I've looked for such a mechanism but not found one.    Or some completely different method?   
--You specify the inclusion of <p> or <h1> tags within the  body.    Is there some special significance of <p> or <h1>  with respect to stable editing in DW?  My reading of the HTML4 spec indicates that a single block element is the minimal requirement for body content. Either of these tags qualify, right?   But so does <div>, and that's what I use in my current example.    Am I misunderstanding something? 
Bottom line,  I'm looking for a pragmatic solution for my problem:   Once in a while, among hundreds of  structurally similar "bare markup" pages I edit in DW without any problem,  I lose data.   If inserting an additional tag into all my content include files eliminates these occasional problems, I'm  willing to do that, as long as:  (1) There is an arguable technical basis for the addition,  (2) the added tag does not  produce anything visible on the served page, and (3) the validators don't flag the extra tag.     
Suggestions, please! 
Thanks, 
hen3ry

Similar Messages

  • Why would it state under the "more about this mac" that i already have10.8.3 and then in the app store say i need to "resume" do you know what i mean? is it possible i already did download mountain lion entirely once? I am confused and don't want it twice

    why would it state under the "more about this mac" that i already have10.8.3 and then in the app store say i need to "resume" do you know what i mean? is it possible i already did download mountain lion entirely once? I am confused and don't want it twice

    This is cause by the way the App Store checks to see if an application is installed on your system.
    Basically when an app is installed it is in the Applications folder and this is where the MAS looks for them. So it looks at your purchase history for the apps you bought and looks in the Applications folder to see if they are installed. If an app is in your purchase history but not in the Applications folder the MAS says you need to install it.
    For normal apps this works fine but the OS doesn;t install into the Applications folder. So the MAS sees you have Mountain Lion in your purchase history but it's not in the Applications folder and so it says you need to download it.
    Hopefully one of these days Apple wil fix this.
    regards

  • Please , help me for apple id.......  i made new id but there is a credite card option and that's why i am not able to download any free application for iphone,.....so,.....what i do about this problem..???

    please , help me for apple id.......  i made new id but there is a credite card option and that's why i am not able to download any free application for iphone,.....so,.....what i do about this problem..???

    You can create an Apple ID without a credit card by following this guide exactly: http://support.apple.com/kb/ht2534.  Note that you have to start by downloading a free app, then create the ID.

  • Since upgrading to OSx 10.9, I cannot place my music for iPhoto slideshows.  The only music that works is the Sample and Theme music that comes with iPhoto.  Any idea of what to do about this problem?

    Since upgrading to OSx 10.9, I cannot place my music for iPhoto slideshows.  The only music that works is the Sample and Theme music that comes with iPhoto.  Any idea of what to do about this problem?

    In iTunes go File -> Library -> Organise Library -> Reorganise Library.
    Then quit and restart iPhoto.
    Credit to user keysandfood who figured that one out.

  • My apps say they are "waiting" and they have been for days updating.  They must be stuck.  Not all of them but about 10 that ia am waiting on.  Does anyone know what do do about this?

    My apps say they are "waiting" and they have been for days updating.  They must be stuck.  Not all of them but about 10 that ia am waiting on.  Does anyone know what do do about this?

    Just to add a couple of more things that you can try ... Along with what TMM suggested ....
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    You can also try updating from the app description page rather than the Updates Tab. Do a search for the apps that needs to be updated - when it appears in the search - tap on the app icon. Then tap on Update or Install - whatever happens to appear next to the app icon - in the description page that pops up.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.

  • HT1296 Apple does not sync my Outlook Saturday appointments, yes it leaves out only the Saturday appointments from Outlook. What to do about this?

    When I sync Outlook to my iPhone, my Saturday appointments from Outlook don't appear on my iPhone calender. All other appointments are correct except there are no Saturday appoinments...weird...What to do about this?

    Scanpst.exe is a repair program for the Outlook data files. You should be able to find the program in the Microsoft Office folder on the computer. You might have to search for it. After you open that, you navigate to your Outlook data file. That is generally in your Documents folder. After running it, it should tell you if it repaired anything.
    Also, in iTunes, you might want to reset the sync history. That is done by opening iTunes, going to Edit, Preferences, Devices, and click on the button.
    Since you are not getting sync from phone to Outlook, you may need to create a new calendar in Outlook. If you know how to create a new blank calendar, do that and add a couple of new appointments. Try weekday and weekend. After connecting the phone to the computer, make sure you have it set to sync in iTunes and try a sync. See if it works. If it does, you may need to export your other calendars to a file and then import them back to the new calendar.
    You can also try creating a new calendar on the phone and syncing that to see if it shows in Outlook.

  • I just bought an IMac today and found on "about this IMac" that it is of late 2013, does anyone knows if 2013 refers to the release or production year, Thanks

    I just bought an IMac today and found on "about this IMac" that it is of late 2013.
    1. Does anyone knows if 2013 refers to the release or production year?
    2. I use an enclosed HD from my old IMac for the set up, upon completion, only my documents and calendar are transferred, emails, Imessages, stickies, notes, music and photos are not. From what I understand EVERYTHING can be transferred, am I right? If I am right, can I re do the set up process again ? And how?
    Thanks

    On Q2, simply connect the EHD to the new machine and you can drag and drop. If the EHD is a backup HD (Time Machine or a Clone) then you can use Migration Assistant to migrate the data over. Also open the Mac App Store and update the new iMac, 10.1.1 is out of date now. Update it to 10.10.3 and install any other recommended updates. You should check for updates at least once a month and install all recommended updates.

  • My ipod 5 froze and wont work or anything and my home button doesnt work so i cant soft reset or anything does anyone know what to do about this?

    my ipod 5 froze and wont work or anything and my home button doesnt work so i cant soft reset or anything does anyone know what to do about this?

    Try:                                               
    - iOS: Not responding or does not turn on           
    Ignore the reset and when it says plae the iPod in Recovery mode
    Place the iPod in recovery mode using one of these programs:
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    or
    http://joshuabailey1997.wordpress.com/2010/09/02/recboot-v1-3/
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    and                                           
    RecBoot tip
    RecBoot may have problems on 64X windows, then try:       
    Tenorshare ReiBoot – Enter & Exit iPhone, iPad, iPod Recovery Mode with a Single Click
    For MAC or PC       
    The Firmware Umbrella - TinyUmbrella
    Installs blootware on PC too
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable       
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar

  • Clone stamp disappeared from Ps CC.  Does anyone know what to do about this?

    Hi Everyone, I have PS CC on an iMac and when I started with CC, the clone stamp and pattern stamp shared a spot and they both worked. However, now the clone stamp has disappeared and I only have the pattern stamp. The other day it showed back up but now it is gone again. Does anyone know what to do about this?

    Don't just click on the Tool location, CLICK AND HOLD.

  • What to do about a virus that uses your mac to send email?

    what to do about a virus that uses your mac to send email?

    It's highly unlikely that your Mac has a virus, since no virus, worm or trojan has been reported, much less confirmed, as having the behavior you mention. As LB suggested, most likely it's your email account itself that has been compromised, or some other computer (a Windows system, almost certainly) that has your addresses on it has been infected.
    Check the "sent" folder for your email account and see if the bogus messages are shown there. If they are, that at least would verify that the emails were sent via your email account. Report back and let us know whether your email account is POP, IMAP or Exchange, and who your email host is.
    If the messages are not shown anywhere in your "sent mail" folder, then someone has almost certainly gotten hold of your contact list and spoofed your email address.
    Regards.

  • My ipot is disabled what I do about this ?

    My ipot is disabled what I do about this ?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                          
    If recovery mode does not work try DFU mode.                         
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • I tried to restart my ipad.  Instead of the apple logo coming up, the wheel is up and has circled for hours.  I don't know what to do about this.  Can anyone help? Thanks.

    I tried to restart my ipad.  Instead of the apple logo coming up, the wheel has circled for hours.  I don't know what to do about this.  Can anyone help?  Thankis.

    Hard Reset.
    - Hold down the Home Button (Circle button with White Square in it)
    - Wait for the 'Slide to Unlock' screen pops up
    - Test to see if the issue is resolved.

  • What is it about InDesign CS5 that someone would get this error message?

    Hi,
    What is is about the .swf file that is generated from the InDesign CS5 interactive workspace that someone would get the following error message when they go to view the site I created?
    "This file may contain newer information that this viewer can support. It may not open or display correctly. Adobe suggests that you upgrade to the latest versions of our Acrobat products blah blah blah."
    The site doesn't seem to work for four Mac users, but works fine for at least one PC user.
    I'm trying to figure out how to save the .swf file down to Flash Player 9, which I've done by exporting a .fla file, then adjusting the Publish setting in Flash CS5. But that throws a wrench into the works...all the animations go haywire by continuously looping and the scale of all the text elements on the first page is much larger than it should be.
    Thanks, Steve

    John Black3 wrote:
    Many of my songs in my iTunes Library no longer play.  I get this error message: "The song xxx could not be used because the original file could not be found. Would you like to locate it?
    this usually happens when a user moves or deletes files in the finder - a sure way to upset iTunes.
    did you move or delete files in the finder ?
    I cannot locate the song.
    if you let iTunes manage your library, all your content will be in <MacintoshHD>/users/<yourname>/music/iTunes/iTunes music (or media)/music. did you look there ? tried a spotlight search ?
    if the files are really gone, and have been purchased from the iTunes store, see Downloading past purchases from the App Store, iBookstore, and iTunes Store.

  • What you know about this?

    Well first of all hi, ok...im interested in buying the nano ipod, but i have recently read that it scratches easily and that the battery is too short( i mean the period of time that you use it).
    I would apreciatte all your answers, and opinions about this. Thx.

    They do scratch easily -- all iPods do. Get a case of some type. (I've ordered an Agent 18 shield for mine. Go to the Apple store for that one and others.)
    Battery life is supposed to be about 14 hours between charges, right? I never listen to mine more than a few hours at a time, so no problem for me. Your mileage may vary.

  • TS1292 WHAT TO DO ABOUT ITUNE CARDS THAT CANT BE REDEEMED

    I HAVE BOUGHT TWO CARDS THAT WILL NOT ALLOW ME TO REDEEM THEM
    WHAT IS THE PROCESS?
    THIS EMAIL THAT IS SENT TO APPLE
    WILL THAT DO THE TRICK
    SILLY TO HAVE NO PHONE NUMBER
    THIS MUST BE A COMMON PROBLEM THAT NEEDS FIXING!!!!!!!!!!
    WHO ELSE HAS HAD PROBLEM AND WAS IT RESOLVED?
    ANY SHORTCUT I CAN TAKE OTHER THAN EMAIL?

    Were the cards bought in the same country that your iTunes account is based ? Have you contacted iTunes support : http://www.apple.com/support/itunes/contact/ ? These are user-to-user to forums, so if you have only posted here then Apple won't be aware.
    (For future info, typing all in capitals is considered SHOUTING and you are less likely to help/replies.)

Maybe you are looking for

  • Login twice in same apex app by same user not possible

    Hi, In itself it is possible to login twice by same user in same appl. But when using both apps on diff pages eachtime the user is prompted to login again. Why is that and why cant'w we use the app twice by same user. It is possible to use same app b

  • SharePoint 2013 - Refiners "Sorry, something went wrong."

    Good Afternoon, I have an issue that has had me stumped for a couple of days now. I have a number of search results pages and on one of them and only one of them I am getting an error. Whenever I add a refiners webpart and save the page everything wo

  • Help converting stuff in Streamline for Flash

    Hi, need tips and a "how to", would like to convert my simple black and white line drawings into vectors using Adobe Streamline . I would like to be able to color and use these in Flash. I use to animate e-cards and this is how we'd do it but it's be

  • Pidgin opening Hotmail in Firefox?

    Hi, I am confused about setting up Pidgin to allow Hotmail email box to open in Firefox.... do I need to edit prefs? Help! :-) MrG

  • Unknown error (-108) when i run illustrator CS3

    Hi all Every time I run Illustrator CS3, this msg appears: "An unknown error has occurred (-108), Adobe Illustrator will now quit" then illustrator quits i got the same error even after re-installing my friend has exact error, so he installed it on d