- From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
- Date: Sun, 5 Aug 2007 13:49:51 +0200
- To: www-smil@w3.org
Hello SMIL working group, some comments on chapter 13 13.2 'An alternative to Timesheets is XHTML+SMIL...' -> reference XHTML+SMIL... -> this one? http://www.w3.org/TR/XHTMLplusSMIL/ (but this is for SMIL2.0) ---------------- 13.3 -> Add required title element to the XHTML example... -> Do not need all SMIL elements the prefix 'smil:' not just the first one? Either one has to put the xmlns attribute into the timesheet element, but then it is not needed in the html element anymore... -> Why is the timing inside the XHTML document while the module is called 'External Timing'? Seems to be no ideal example for 'External Timing'? --- typo? '<!DOCTYPE htmlLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'? -> '<?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'? ---------------- 13.7.2 'The following example illustrates how the animate element can be used to animate CSS attributes of elements of the host language. <smil:timesheet> <seq> <item select=".Slide" dur="15s"> <par> <item select=".Bullet" beginInc="3s"> <animate select=".Bullet" attributeName="marginLeft" values="200;0" dur="1s" /> </item> </par> </item> </seq> </smil:timesheet>' -> CSS properties or really attributes? If attributes reference an example language... -> 'attributeName="marginLeft"' which language has a CSS property 'marginLeft'? If this is defined in SMIL, this is maybe a good indication to reference the definition here again ;o) ----------------- 13.8 Index Function -> Add required title element to the XHTML example... -> wrong/senseless structure or example: '<head> <!DOCTYPE htmlLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:smil="http://www.w3.org/2007/07/SMIL30/Timesheets"> <head> <smi:timesheet> <par> <excl> ...' -> '<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:smil="http://www.w3.org/2007/07/SMIL30/Timesheets"> <head> <smil:timesheet> <smil:par> <smil:excl> ...'? -> missing required alt attribute in img elements, if they are from XHTML as indicated in the example -> a practical problem with this example is, that the large images are all loaded with the document at once, therefore the thumbnails are useless, if all images are loaded anyway, this is ineffective for the purpose of an image gallery and from the point of produced traffic, because the user expects to have a choice to choose and load an image or not... ----------- General: - why not to use an XML processing instruction to reference the timesheet as a stylesheet? <?xml-stylesheet href="timesheet.smil" type="application/smil+xml" title="a timesheet" alternate="yes" ?> then it is not needed to use another namespace in the XHTML-document and it is possible to use it alternatively or additionally to CSS... As a possible application: a) example.xhtml contains references to CSS-files and to timesheet-files either with xml-stylesheet processing instructions or the link element. b) all styling is in external files, some for CSS, some for timesheets, depending on the processing instruction or the rel attribute of the link element, the different stylings can be combined or used alternatively. c) the user/reader can select the desired styling within the user-agent depending on the defaults of the author or additional selectivity possibilities of the user-agent - because the author has not to mix different XMLs in one document and does not have to put SMIL code directly into the main document, the document still validates with an 'ordinary' validator or in the case of XHTML can still be served as text/html for backwards accessibility, if an outdated viewer is not able to interprete application/xhtml+xml. - example for a complete external document with a timesheet missing - is it already planned/done to add ':timed-inactive' to a CSS3 module? If not, how to use it in a 'valid' CSS-file?
Received on Sunday, 5 August 2007 11:55:47 UTC