Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Embed with valid xhtml?



David Bonde wrote...

>> If the only thing preventing this code from working is attribute case, it's
>> possible that you've just run into a bug involving XHTML, UTF encoding and
>> lowercase attributes.  I know it's tough to have to choose between "valid"
>> pages and pages that work, but I would choose "pages that work" and then
>> report a bug to Apple and/or the browser folks so they can figure out
>> what's going on.
> 
> I don't understand your point.

My point is that you will sometimes have to choose between a page that
validates without errors or warnings, and a page that works in the browsers
you're targeting.

> ...the purpose with my pages is to demonstrate standards for an academic
> audience...

This might be a going time to point out the difference between theory and
practice, then.  As one example, you can note that <embed> has never been
valid HTML, but that it's worked just fine for many years.

You could also use this opportunity to show your audience how to deliver
well-formed and valid XHTML to browsers that support <object> by using PHP
or other scripting languages.  Or, you could show them how you can can use
internal DTD subsets in order to "trick" validators into seeing <embed>
tags as valid.

-- 
Charles Wiltgen

   "Well, once again my friend, we find that science is a two-headed beast.
    One head is nice, it gives us aspirin and other modern conveniences...
    but the other head of science is bad!  Oh beware the other head of
    science...it bites!" -- The Tick
_______________________________________________
quicktime-talk mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-talk
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.